Home
last modified time | relevance | path

Searched refs:SOCK_RAW (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/libusb/src/libusb/os/
Dlinux_netlink.c95 int socktype = SOCK_RAW; in linux_netlink_start_event_monitor()
109 linux_netlink_socket = socket(PF_NETLINK, SOCK_RAW, NETLINK_KOBJECT_UEVENT); in linux_netlink_start_event_monitor()
/external/kernel-headers/original/asm-mips/
Dsocket.h107 SOCK_RAW = 3, enumerator
/external/chromium/net/base/
Dnetwork_change_notifier_netlink_linux.cc61 int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in InitializeNetlinkSocket()
/external/iptables/libipq/
Dlibipq.c223 h->fd = socket(PF_NETLINK, SOCK_RAW, NETLINK_FIREWALL); in ipq_create_handle()
225 h->fd = socket(PF_NETLINK, SOCK_RAW, NETLINK_IP6_FW); in ipq_create_handle()
/external/dhcpcd/
Dif-bsd.c108 if ((r_fd = socket(PF_ROUTE, SOCK_RAW, 0)) == -1) in init_sockets()
284 fd = socket(PF_ROUTE, SOCK_RAW, 0); in open_link_socket()
/external/iptables/extensions/
Dlibxt_set.h18 int res, sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW); in get_version()
/external/wpa_supplicant_8/src/drivers/
Dnetlink.c100 netlink->sock = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in netlink_init()
/external/libselinux/src/
Davc_internal.c63 fd = socket(PF_NETLINK, SOCK_RAW, NETLINK_SELINUX); in avc_netlink_open()
/external/tcpdump/missing/
Dgetaddrinfo.c159 { PF_INET6, SOCK_RAW, ANY, NULL, 0x05 },
163 { PF_INET, SOCK_RAW, ANY, NULL, 0x05 },
1049 case SOCK_RAW:
/external/chromium_org/third_party/libjingle/source/talk/base/
Difaddrs-android.cc149 int fd = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in getifaddrs()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c109 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h68 #define SOCK_RAW 3 /* raw-protocol interface */ macro
/external/libppp/src/
Darp.c115 routes = ID0socket(PF_ROUTE, SOCK_RAW, AF_INET); in arp_ProxySub()
Droute.c754 s = ID0socket(PF_ROUTE, SOCK_RAW, 0); in rt_Set()
872 s = ID0socket(PF_ROUTE, SOCK_RAW, 0); in rt_Update()
/external/libpcap/
Dpcap-nit.c270 p->fd = fd = socket(AF_NIT, SOCK_RAW, NITPROTO_RAW); in pcap_open_live()
Dpcap-snoop.c217 fd = socket(PF_RAW, SOCK_RAW, RAWPROTO_SNOOP); in pcap_open_live()
/external/chromium_org/net/base/
Daddress_tracker_linux.cc87 netlink_fd_ = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in Init()
/external/ppp/pppd/plugins/rp-pppoe/
Dplugin.c295 if ((fd = socket(PF_PACKET, SOCK_RAW, 0)) < 0) { in PPPoEDevnameHook()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c257 int nl = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in main()
/external/dnsmasq/src/
Dnetlink.c54 if ((daemon->netlinkfd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) != -1) in netlink_init()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c225 fd = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in getifaddrs()
827 lcconf->rtsock = socket(PF_ROUTE, SOCK_RAW, PF_UNSPEC); in initmyaddr()
/external/kernel-headers/original/linux/
Dnet.h85 SOCK_RAW = 3, enumerator
/external/wpa_supplicant_8/src/ap/
Diapp.c469 iapp->packet_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in iapp_init()
/external/iputils/ninfod/
Dni_ifaddrs.c300 sd = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in nl_open()
Dninfod.c209 return socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6); in open_sock()

123