Lines Matching refs:cld80211_ctx
87 static int init_exit_sockets(struct cld80211_ctx *ctx) in init_exit_sockets()
101 static void cleanup_exit_sockets(struct cld80211_ctx *ctx) in cleanup_exit_sockets()
115 void exit_cld80211_recv(struct cld80211_ctx *ctx) in exit_cld80211_recv()
239 static int get_multicast_id(struct cld80211_ctx *ctx, const char *group) in get_multicast_id()
260 int cld80211_add_mcast_group(struct cld80211_ctx *ctx, const char* mcgroup) in cld80211_add_mcast_group()
283 int cld80211_remove_mcast_group(struct cld80211_ctx *ctx, const char* mcgroup) in cld80211_remove_mcast_group()
309 struct nl_msg *cld80211_msg_alloc(struct cld80211_ctx *ctx, int cmd, in cld80211_msg_alloc()
341 int cld80211_send_msg(struct cld80211_ctx *ctx, struct nl_msg *nlmsg) in cld80211_send_msg()
360 int cld80211_send_recv_msg(struct cld80211_ctx *ctx, struct nl_msg *nlmsg, in cld80211_send_recv_msg()
406 int cld80211_recv(struct cld80211_ctx *ctx, int timeout, bool recv_multi_msg, in cld80211_recv()
460 struct cld80211_ctx * cld80211_init(void) in cld80211_init()
462 struct cld80211_ctx *ctx; in cld80211_init()
464 ctx = (struct cld80211_ctx *)malloc(sizeof(struct cld80211_ctx)); in cld80211_init()
469 memset(ctx, 0, sizeof(struct cld80211_ctx)); in cld80211_init()
514 void cld80211_deinit(struct cld80211_ctx *ctx) in cld80211_deinit()