Home
last modified time | relevance | path

Searched refs:AF_NETLINK (Results 1 – 16 of 16) sorted by relevance

/external/iproute2/lib/
Dlibnetlink.c46 rth->fd = socket(AF_NETLINK, SOCK_RAW, protocol); in rtnl_open_byproto()
63 rth->local.nl_family = AF_NETLINK; in rtnl_open_byproto()
79 if (rth->local.nl_family != AF_NETLINK) { in rtnl_open_byproto()
164 nladdr.nl_family = AF_NETLINK; in rtnl_dump_request()
295 nladdr.nl_family = AF_NETLINK; in rtnl_talk()
415 nladdr.nl_family = AF_NETLINK; in rtnl_listen()
482 nladdr.nl_family = AF_NETLINK; in rtnl_from_file()
/external/kernel-headers/original/linux/
Dsocket.h177 #define AF_NETLINK 16 macro
178 #define AF_ROUTE AF_NETLINK /* Alias to emulate 4.4BSD */
210 #define PF_NETLINK AF_NETLINK
/external/dhcpcd/
Dif-linux.c67 if ((fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) == -1) in open_link_socket()
70 nl.nl_family = AF_NETLINK; in open_link_socket()
195 if ((fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) == -1) in send_netlink()
198 nl.nl_family = AF_NETLINK; in send_netlink()
/external/dnsmasq/src/
Dnetlink.c44 addr.nl_family = AF_NETLINK; in netlink_init()
54 if ((daemon->netlinkfd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) != -1) in netlink_init()
138 addr.nl_family = AF_NETLINK; in iface_enumerate()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c192 addr.nl_family = AF_NETLINK; in find_interface()
257 int nl = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in main()
/external/iptables/libipq/
Dlibipq.c237 h->local.nl_family = AF_NETLINK; in ipq_create_handle()
248 h->peer.nl_family = AF_NETLINK; in ipq_create_handle()
/external/strace/
Dnet.c282 #ifdef AF_NETLINK
283 { AF_NETLINK, "AF_NETLINK" },
947 #ifdef AF_NETLINK
1051 #ifdef AF_NETLINK
1052 case AF_NETLINK:
DChangeLog1120 * net.c (printsock): Fix typo in #ifdef AF_NETLINK.
/external/iproute2/misc/
Dss.c651 if (s->local.family == AF_NETLINK) in run_ssfilter()
991 if (fam == AF_NETLINK || strncmp(addr, "netlink:", 8) == 0) { in parse_hostcond()
992 a.addr.family = AF_NETLINK; in parse_hostcond()
1426 if ((fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG)) < 0) in tcp_show_netlink()
1430 nladdr.nl_family = AF_NETLINK; in tcp_show_netlink()
2111 tst.local.family = AF_NETLINK; in netlink_show()
2112 tst.remote.family = AF_NETLINK; in netlink_show()
2525 preferred_family = AF_NETLINK; in main()
2635 preferred_family = AF_NETLINK; in main()
2647 } else if (preferred_family == AF_NETLINK) { in main()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c230 nladdr.nl_family = AF_NETLINK; in getifaddrs()
841 nl.nl_family = AF_NETLINK; in initmyaddr()
/external/iproute2/tc/
Dm_action.c396 nladdr.nl_family = AF_NETLINK; in tc_action_gd()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_ralink.c940 local.nl_family = AF_NETLINK; in wpa_driver_ralink_init()
Ddriver_nl80211.c1487 local.nl_family = AF_NETLINK; in wpa_driver_nl80211_init()
Ddriver_wext.c954 local.nl_family = AF_NETLINK; in wpa_driver_wext_init()
/external/iproute2/ip/
Diproute.c1005 nladdr.nl_family = AF_NETLINK; in rtnl_rtcache_request()
/external/wpa_supplicant/
Ddriver_wext.c990 local.nl_family = AF_NETLINK; in wpa_driver_wext_init()