Lines Matching refs:cld80211_ctx
76 static int init_exit_sockets(struct cld80211_ctx *ctx) in init_exit_sockets()
90 static void cleanup_exit_sockets(struct cld80211_ctx *ctx) in cleanup_exit_sockets()
104 void exit_cld80211_recv(struct cld80211_ctx *ctx) in exit_cld80211_recv()
228 static int get_multicast_id(struct cld80211_ctx *ctx, const char *group, bool sync_driver) in get_multicast_id()
251 int cld80211_add_mcast_group(struct cld80211_ctx *ctx, const char* mcgroup) in cld80211_add_mcast_group()
274 int cld80211_remove_mcast_group(struct cld80211_ctx *ctx, const char* mcgroup) in cld80211_remove_mcast_group()
298 struct nl_msg *cld80211_msg_alloc(struct cld80211_ctx *ctx, int cmd, in cld80211_msg_alloc()
330 int cld80211_send_msg(struct cld80211_ctx *ctx, struct nl_msg *nlmsg) in cld80211_send_msg()
349 int cld80211_send_recv_msg(struct cld80211_ctx *ctx, struct nl_msg *nlmsg, in cld80211_send_recv_msg()
395 int cld80211_recv(struct cld80211_ctx *ctx, int timeout, bool recv_multi_msg, in cld80211_recv()
449 struct cld80211_ctx * cld80211_init() in cld80211_init()
451 struct cld80211_ctx *ctx; in cld80211_init()
453 ctx = (struct cld80211_ctx *)malloc(sizeof(struct cld80211_ctx)); in cld80211_init()
458 memset(ctx, 0, sizeof(struct cld80211_ctx)); in cld80211_init()
503 void cld80211_deinit(struct cld80211_ctx *ctx) in cld80211_deinit()