Home
last modified time | relevance | path

Searched refs:sockaddr_nl (Results 1 – 25 of 64) sorted by relevance

123

/third_party/libnl/include/netlink/
Dmsg.h94 extern void nlmsg_set_src(struct nl_msg *, struct sockaddr_nl *);
95 extern struct sockaddr_nl *nlmsg_get_src(struct nl_msg *);
96 extern void nlmsg_set_dst(struct nl_msg *, struct sockaddr_nl *);
97 extern struct sockaddr_nl *nlmsg_get_dst(struct nl_msg *);
Dnetlink.h75 struct sockaddr_nl *, unsigned char **,
87 struct sockaddr_nl *,
92 … int (*parser)(struct nl_cache_ops *, struct sockaddr_nl *,
Dhandlers.h26 struct sockaddr_nl;
53 typedef int (*nl_recvmsg_err_cb_t)(struct sockaddr_nl *nla,
138 struct sockaddr_nl *,
Dnetlink-kernel.h16 struct sockaddr_nl
/third_party/ltp/testcases/cve/
Dcve-2017-16939.c34 static struct sockaddr_nl addr;
50 memset(&addr, 0, sizeof(struct sockaddr_nl)); in setup()
72 sizeof(struct sockaddr_nl)); in run()
/third_party/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c82 static int netlink_send(int sd, struct sockaddr_nl *to, struct cn_msg *cnmsg) in netlink_send()
118 static int netlink_recv(int sd, struct sockaddr_nl *from) in netlink_recv()
148 static int control_pec(int sd, struct sockaddr_nl *to, enum proc_cn_mcast_op op) in control_pec()
263 struct sockaddr_nl l_local; in main()
264 struct sockaddr_nl src_addr; in main()
295 ret = bind(sd, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)); in main()
/third_party/libnl/lib/
Dnl.c109 struct sockaddr_nl local = { 0 }; in nl_connect()
376 struct sockaddr_nl *dst; in nl_send_iovec()
380 .msg_namelen = sizeof(struct sockaddr_nl), in nl_send_iovec()
659 int nl_recv(struct nl_sock *sk, struct sockaddr_nl *nla, in nl_recv()
668 .msg_namelen = sizeof(struct sockaddr_nl), in nl_recv()
768 if (msg.msg_namelen != sizeof(struct sockaddr_nl)) { in nl_recv()
838 struct sockaddr_nl nla = {0}; in recvmsgs()
1132 int (*parser)(struct nl_cache_ops *, struct sockaddr_nl *,
1162 static int __pickup_answer_syserr(struct sockaddr_nl *nla, struct nlmsgerr *nlerr, void *arg) in __pickup_answer_syserr()
1180 int (*parser)(struct nl_cache_ops *, struct sockaddr_nl *, in nl_pickup() argument
[all …]
Dmsg.c606 void nlmsg_set_src(struct nl_msg *msg, struct sockaddr_nl *addr) in nlmsg_set_src()
611 struct sockaddr_nl *nlmsg_get_src(struct nl_msg *msg) in nlmsg_get_src()
616 void nlmsg_set_dst(struct nl_msg *msg, struct sockaddr_nl *addr) in nlmsg_set_dst()
621 struct sockaddr_nl *nlmsg_get_dst(struct nl_msg *msg) in nlmsg_get_dst()
Dhandlers.c80 static int nl_error_handler_verbose(struct sockaddr_nl *who, in nl_error_handler_verbose()
385 int (*func)(struct nl_sock *, struct sockaddr_nl *, in nl_cb_overwrite_recv() argument
/third_party/iptables/include/libipq/
Dlibipq.h52 struct sockaddr_nl local;
53 struct sockaddr_nl peer;
/third_party/ltp/include/
Dtst_netlink.h28 struct sockaddr_nl sa = { .nl_family = AF_NETLINK }; in safe_netlink_send()
64 struct sockaddr_nl sa; in safe_netlink_recv()
/third_party/eudev/src/shared/
Dsocket-util.h35 struct sockaddr_nl nl;
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dnetlink.c41 struct sockaddr_nl from; in netlink_receive()
94 struct sockaddr_nl local; in netlink_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dnetlink.c41 struct sockaddr_nl from; in netlink_receive()
94 struct sockaddr_nl local; in netlink_init()
Dpriv_netlink.h76 struct sockaddr_nl struct
/third_party/selinux/libselinux/src/
Davc_internal.c105 struct sockaddr_nl addr; in avc_netlink_open()
147 struct sockaddr_nl nladdr; in avc_netlink_receive()
/third_party/libnl/include/netlink/genl/
Dmngt.h40 struct sockaddr_nl * who;
/third_party/libnl/lib/genl/
Dmngt.c50 static int cmd_msg_parser(struct sockaddr_nl *who, struct nlmsghdr *nlh, in cmd_msg_parser()
92 static int genl_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who, in genl_msg_parser()
/third_party/libnl/include/netlink-private/
Dcache-api.h199 int (*co_msg_parser)(struct nl_cache_ops *, struct sockaddr_nl *,
Dtypes.h67 struct sockaddr_nl *,
83 struct sockaddr_nl s_local;
84 struct sockaddr_nl s_peer;
151 struct sockaddr_nl nm_src;
152 struct sockaddr_nl nm_dst;
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c47 struct sockaddr_nl sa; in child_func()
/third_party/libnl/python/netlink/
Dcapi.i240 extern void nlmsg_set_src(struct nl_msg *, struct sockaddr_nl *);
241 extern struct sockaddr_nl *nlmsg_get_src(struct nl_msg *);
242 extern void nlmsg_set_dst(struct nl_msg *, struct sockaddr_nl *);
243 extern struct sockaddr_nl *nlmsg_get_dst(struct nl_msg *);
638 static int nl_recv_err_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, in nl_recv_err_handler()
/third_party/libusb/libusb/os/
Dlinux_netlink.c95 struct sockaddr_nl sa_nl = { .nl_family = AF_NETLINK, .nl_groups = NL_GROUP_KERNEL }; in linux_netlink_start_event_monitor()
292 struct sockaddr_nl sa_nl; in linux_netlink_read_message()
/third_party/ltp/testcases/kernel/uevents/
Duevent.h108 struct sockaddr_nl nl_addr = { in open_uevent_netlink()
/third_party/iptables/libipq/
Dlibipq.c237 memset(&h->local, 0, sizeof(struct sockaddr_nl)); in ipq_create_handle()
248 memset(&h->peer, 0, sizeof(struct sockaddr_nl)); in ipq_create_handle()

123