Lines Matching refs:context
43 struct context { struct
155 static int service_announce_new(struct context *ctx, in service_announce_new()
179 static int service_announce_del(struct context *ctx, in service_announce_del()
203 static int lookup_notify(struct context *ctx, struct sockaddr_qrtr *to, in lookup_notify()
224 static int annouce_servers(struct context *ctx, struct sockaddr_qrtr *sq) in annouce_servers()
289 static int server_del(struct context *ctx, struct node *node, unsigned int port) in server_del()
323 static int ctrl_cmd_hello(struct context *ctx, struct sockaddr_qrtr *sq, in ctrl_cmd_hello()
335 static int ctrl_cmd_bye(struct context *ctx, struct sockaddr_qrtr *from) in ctrl_cmd_bye()
380 static int ctrl_cmd_del_client(struct context *ctx, struct sockaddr_qrtr *from, in ctrl_cmd_del_client()
444 static int ctrl_cmd_new_server(struct context *ctx, struct sockaddr_qrtr *from, in ctrl_cmd_new_server()
483 static int ctrl_cmd_del_server(struct context *ctx, struct sockaddr_qrtr *from, in ctrl_cmd_del_server()
511 static int ctrl_cmd_new_lookup(struct context *ctx, struct sockaddr_qrtr *from, in ctrl_cmd_new_lookup()
549 static int ctrl_cmd_del_lookup(struct context *ctx, struct sockaddr_qrtr *from, in ctrl_cmd_del_lookup()
576 struct context *ctx = vcontext; in ctrl_port_fn()
657 static int say_hello(struct context *ctx) in say_hello()
706 struct context ctx; in main()