Home
last modified time | relevance | path

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

12

/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/ltp/testcases/cve/
Dcve-2017-16939.c31 static struct sockaddr_nl nl_addr;
49 static void send_nlmsg(int fd, struct nlmsghdr *msg, struct sockaddr_nl *addr) in send_nlmsg()
52 (struct sockaddr *)addr, sizeof(struct sockaddr_nl)); in send_nlmsg()
/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/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.c104 struct sockaddr_nl addr; in avc_netlink_open()
146 struct sockaddr_nl nladdr; in avc_netlink_receive()
/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()
Dpriv_netlink.h76 struct sockaddr_nl struct
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c46 struct sockaddr_nl sa; in child_func()
/third_party/ltp/testcases/kernel/uevents/
Duevent.h108 struct sockaddr_nl nl_addr = { in open_uevent_netlink()
/third_party/ltp/lib/
Dtst_rtnetlink.c67 struct sockaddr_nl addr = { .nl_family = AF_NETLINK }; in tst_rtnl_create_context()
121 struct sockaddr_nl addr = { .nl_family = AF_NETLINK }; in tst_rtnl_send()
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c97 struct sockaddr_nl local; in create_nl_socket()
127 struct sockaddr_nl nladdr; in send_cmd()
/third_party/python/Modules/
Dsocketmodule.h236 struct sockaddr_nl nl;
Dsocketmodule.c1332 struct sockaddr_nl *a = (struct sockaddr_nl *) addr; in makesockaddr()
1710 struct sockaddr_nl* addr = &addrbuf->nl; in getsockaddrarg()
2387 *len_ret = sizeof (struct sockaddr_nl); in getsockaddrlen()
/third_party/libbpf/include/uapi/linux/
Dnetlink.h37 struct sockaddr_nl { struct
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c71 struct sockaddr_nl nladdr; in rops_handle_POLLIN_netlink()
478 struct sockaddr_nl sanl; in rops_pt_init_destroy_netlink()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_full.c701 struct sockaddr_nl from; in vlan_event_receive()
751 struct sockaddr_nl local; in full_dynamic_vlan_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dvlan_full.c701 struct sockaddr_nl from; in vlan_event_receive()
751 struct sockaddr_nl local; in full_dynamic_vlan_init()
/third_party/rust/crates/nix/src/sys/socket/
Daddr.rs1783 AddressFamily::Netlink, libc::sockaddr_nl, nl}
2218 &*(sa as *const libc::sockaddr_nl as *const libc::sockaddr) in as_ffi_pair()
2337 use libc::{sa_family_t, sockaddr_nl};
2347 pub struct NetlinkAddr(pub(in super::super) sockaddr_nl);
2353 let mut addr: sockaddr_nl = unsafe { mem::zeroed() }; in new()
2382 if l != mem::size_of::<libc::sockaddr_nl>() as libc::socklen_t { in from_raw()
2393 impl AsRef<libc::sockaddr_nl> for NetlinkAddr {
2394 fn as_ref(&self) -> &libc::sockaddr_nl { in as_ref() argument
Dmod.rs2434 use libc::sockaddr_nl; in sockaddr_storage_to_addr()
2435 let snl = unsafe { *(addr as *const _ as *const sockaddr_nl) }; in sockaddr_storage_to_addr() constant
/third_party/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs495 pub struct sockaddr_nl {
591 impl PartialEq for sockaddr_nl {
592 fn eq(&self, other: &sockaddr_nl) -> bool {
598 impl Eq for sockaddr_nl {}
599 impl ::fmt::Debug for sockaddr_nl {
608 impl ::hash::Hash for sockaddr_nl {
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs631 pub struct sockaddr_nl {
774 impl PartialEq for sockaddr_nl {
775 fn eq(&self, other: &sockaddr_nl) -> bool {
781 impl Eq for sockaddr_nl {}
782 impl ::fmt::Debug for sockaddr_nl {
791 impl ::hash::Hash for sockaddr_nl {
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs967 pub struct sockaddr_nl {
1251 impl PartialEq for sockaddr_nl {
1252 fn eq(&self, other: &sockaddr_nl) -> bool {
1258 impl Eq for sockaddr_nl {}
1259 impl ::fmt::Debug for sockaddr_nl {
1268 impl ::hash::Hash for sockaddr_nl {
/third_party/rust/crates/libc/libc-test/semver/
Dfuchsia.txt1363 sockaddr_nl
/third_party/libbpf/src/
Dnetlink.c54 struct sockaddr_nl sa; in libbpf_netlink_open()

12