Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dnetwork_change_notifier_netlink_linux.cc61 int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in InitializeNetlinkSocket()
76 local_addr.nl_family = AF_NETLINK; in InitializeNetlinkSocket()
/external/kernel-headers/original/linux/
Dsocket.h177 #define AF_NETLINK 16 macro
178 #define AF_ROUTE AF_NETLINK /* Alias to emulate 4.4BSD */
211 #define PF_NETLINK AF_NETLINK
/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/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.c239 h->local.nl_family = AF_NETLINK; in ipq_create_handle()
250 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.c708 if (s->local.family == AF_NETLINK) in run_ssfilter()
1048 if (fam == AF_NETLINK || strncmp(addr, "netlink:", 8) == 0) { in parse_hostcond()
1049 a.addr.family = AF_NETLINK; in parse_hostcond()
1483 if ((fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG)) < 0) in tcp_show_netlink()
1487 nladdr.nl_family = AF_NETLINK; in tcp_show_netlink()
2168 tst.local.family = AF_NETLINK; in netlink_show()
2169 tst.remote.family = AF_NETLINK; in netlink_show()
2583 preferred_family = AF_NETLINK; in main()
2693 preferred_family = AF_NETLINK; in main()
2705 } else if (preferred_family == AF_NETLINK) { in main()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c370 addr.nl_family = AF_NETLINK;
458 nladdr.nl_family = AF_NETLINK; in netlink_route_is_local()
641 nl.nl_family = AF_NETLINK; in kernel_open_socket()
/external/wpa_supplicant_8/src/drivers/
Dnetlink.c117 local.nl_family = AF_NETLINK; in netlink_init()
/external/dhcpcd/
Dif-linux.c111 if ((fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) == -1) in _open_link_socket()
113 nl->nl_family = AF_NETLINK; in _open_link_socket()
/external/iproute2/tc/
Dm_action.c396 nladdr.nl_family = AF_NETLINK; in tc_action_gd()
/external/wpa_supplicant_8/src/ap/
Dvlan_init.c697 local.nl_family = AF_NETLINK; in full_dynamic_vlan_init()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_ralink.c940 local.nl_family = AF_NETLINK; in wpa_driver_ralink_init()
Ddriver_wext.c954 local.nl_family = AF_NETLINK; in wpa_driver_wext_init()
Ddriver_nl80211.c1487 local.nl_family = AF_NETLINK; in wpa_driver_nl80211_init()
/external/iproute2/ip/
Diproute.c1001 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()