Home
last modified time | relevance | path

Searched refs:nl_cb (Results 1 – 17 of 17) sorted by relevance

/third_party/libnl/include/netlink/
Dhandlers.h29 struct nl_cb;
121 extern struct nl_cb * nl_cb_alloc(enum nl_cb_kind);
122 extern struct nl_cb * nl_cb_clone(struct nl_cb *);
123 extern struct nl_cb * nl_cb_get(struct nl_cb *);
124 extern void nl_cb_put(struct nl_cb *);
126 extern int nl_cb_set(struct nl_cb *, enum nl_cb_type, enum nl_cb_kind,
128 extern int nl_cb_set_all(struct nl_cb *, enum nl_cb_kind,
130 extern int nl_cb_err(struct nl_cb *, enum nl_cb_kind, nl_recvmsg_err_cb_t,
133 extern void nl_cb_overwrite_recvmsgs(struct nl_cb *,
135 struct nl_cb *));
[all …]
Dsocket.h23 extern struct nl_sock * nl_socket_alloc_cb(struct nl_cb *);
42 extern struct nl_cb * nl_socket_get_cb(const struct nl_sock *);
44 struct nl_cb *);
Dnetlink.h78 extern int nl_recvmsgs(struct nl_sock *, struct nl_cb *);
79 extern int nl_recvmsgs_report(struct nl_sock *, struct nl_cb *);
/third_party/libnl/lib/
Dhandlers.c202 struct nl_cb *nl_cb_alloc(enum nl_cb_kind kind) in nl_cb_alloc()
205 struct nl_cb *cb; in nl_cb_alloc()
231 struct nl_cb *nl_cb_clone(struct nl_cb *orig) in nl_cb_clone()
233 struct nl_cb *cb; in nl_cb_clone()
245 struct nl_cb *nl_cb_get(struct nl_cb *cb) in nl_cb_get()
252 void nl_cb_put(struct nl_cb *cb) in nl_cb_put()
272 enum nl_cb_type nl_cb_active_type(struct nl_cb *cb) in nl_cb_active_type()
294 int nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind, in nl_cb_set()
323 int nl_cb_set_all(struct nl_cb *cb, enum nl_cb_kind kind, in nl_cb_set_all()
344 int nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, in nl_cb_err()
[all …]
Dnl.c330 struct nl_cb *cb; in nl_sendmsg()
450 struct nl_cb *cb = sk->s_cb; in nl_send()
827 static int recvmsgs(struct nl_sock *sk, struct nl_cb *cb) in recvmsgs()
1053 int nl_recvmsgs_report(struct nl_sock *sk, struct nl_cb *cb) in nl_recvmsgs_report()
1078 int nl_recvmsgs(struct nl_sock *sk, struct nl_cb *cb) in nl_recvmsgs()
1116 struct nl_cb *cb; in nl_wait_for_ack()
1202 struct nl_cb *cb; in nl_pickup_keep_syserr()
Dsocket.c181 static struct nl_sock *__alloc_socket(struct nl_cb *cb) in __alloc_socket()
208 struct nl_cb *cb; in nl_socket_alloc()
232 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb) in nl_socket_alloc_cb()
747 struct nl_cb *nl_socket_get_cb(const struct nl_sock *sk) in nl_socket_get_cb()
752 void nl_socket_set_cb(struct nl_sock *sk, struct nl_cb *cb) in nl_socket_set_cb()
Dcache_mngr.c537 struct nl_cb *cb; in nl_cache_mngr_data_ready()
Dcache.c689 struct nl_cb *cb; in __cache_pickup()
/third_party/libnl/python/netlink/
Dcapi.i176 extern struct nl_sock *nl_socket_alloc_cb(struct nl_cb *);
189 extern void nl_socket_set_cb(struct nl_sock *, struct nl_cb *);
195 extern int nl_recvmsgs(struct nl_sock *, struct nl_cb *);
538 extern struct nl_cb *nl_cb_alloc(enum nl_cb_kind);
539 extern struct nl_cb *nl_cb_clone(struct nl_cb *);
553 struct nl_cb *cb;
561 static struct pynl_cbinfo *pynl_find_cbinfo(struct nl_cb *cb, int unlink) in pynl_find_cbinfo()
579 static struct pynl_cbinfo *pynl_get_cbinfo(struct nl_cb *cb, int unlink) in pynl_get_cbinfo()
675 struct nl_cb *py_nl_cb_clone(struct nl_cb *cb) in py_nl_cb_clone()
678 struct nl_cb *clone; in py_nl_cb_clone()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211.h34 struct nl_cb *nl_cb; member
48 struct nl_cb *nl_cb; member
79 struct nl_cb *nl_cb; member
Ddriver_nl80211.c120 static struct nl_handle * nl_create_handle(struct nl_cb *cb, const char *dbg) in nl_create_handle()
398 struct nl_cb *cb; in send_and_recv()
404 cb = nl_cb_clone(global->nl_cb); in send_and_recv()
700 res = nl_recvmsgs(handle, w->nl_cb); in nl80211_recv_beacons()
770 w->nl_cb = nl_cb_alloc(NL_CB_DEFAULT); in nl80211_get_wiphy_data_ap()
771 if (!w->nl_cb) { in nl80211_get_wiphy_data_ap()
775 nl_cb_set(w->nl_cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, in nl80211_get_wiphy_data_ap()
777 nl_cb_set(w->nl_cb, NL_CB_VALID, NL_CB_CUSTOM, in nl80211_get_wiphy_data_ap()
780 w->nl_beacons = nl_create_handle(bss->drv->global->nl_cb, in nl80211_get_wiphy_data_ap()
845 nl_cb_put(w->nl_cb); in nl80211_put_wiphy_data_ap()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211.h32 struct nl_cb *nl_cb; member
47 struct nl_cb *nl_cb; member
78 struct nl_cb *nl_cb; member
Ddriver_nl80211.c78 static struct nl_sock * nl_create_handle(struct nl_cb *cb, const char *dbg) in nl_create_handle()
397 struct nl_cb *cb; in send_and_recv()
403 cb = nl_cb_clone(global->nl_cb); in send_and_recv()
832 res = nl_recvmsgs(handle, w->nl_cb); in nl80211_recv_beacons()
902 w->nl_cb = nl_cb_alloc(NL_CB_DEFAULT); in nl80211_get_wiphy_data_ap()
903 if (!w->nl_cb) { in nl80211_get_wiphy_data_ap()
907 nl_cb_set(w->nl_cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, in nl80211_get_wiphy_data_ap()
909 nl_cb_set(w->nl_cb, NL_CB_VALID, NL_CB_CUSTOM, in nl80211_get_wiphy_data_ap()
912 w->nl_beacons = nl_create_handle(bss->drv->global->nl_cb, in nl80211_get_wiphy_data_ap()
977 nl_cb_put(w->nl_cb); in nl80211_put_wiphy_data_ap()
[all …]
/third_party/libnl/include/netlink-private/
Dtypes.h51 struct nl_cb struct
62 struct nl_cb *); argument
90 struct nl_cb * s_cb; argument
Dnetlink.h139 static inline int nl_cb_call(struct nl_cb *cb, enum nl_cb_type type, struct nl_msg *msg) in nl_cb_call()
/third_party/libnl/lib/genl/
Dctrl.c243 struct nl_cb *cb, *orig; in genl_ctrl_probe_by_name()
/third_party/libnl/doc/
Dcore.txt732 struct nl_cb *nl_socket_get_cb(const struct nl_sock *sk);
733 void nl_socket_set_cb(struct nl_sock *sk, struct nl_cb *cb);
2460 callback and overwrite functions are packed together in struct nl_cb which
2528 int nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind,
2542 int nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_err_cb_t func, void *arg);
2553 struct nl_cb *cb = nl_cb_alloc(NL_CB_VERBOSE);
2582 void nl_cb_overwrite_recvmsgs(struct nl_cb *cb,
2583 int (*func)(struct nl_sock *sk, struct nl_cb *cb));
2610 void nl_cb_overwrite_recv(struct nl_cb *cb,
2640 void nl_cb_overwrite_send(struct nl_cb *cb, int (*func)(struct nl_sock *sk,