Home
last modified time | relevance | path

Searched refs:PF_INET (Results 1 – 25 of 59) sorted by relevance

123

/external/valgrind/main/none/tests/
Dfdleak_ipv4.c21 s = DO( socket(PF_INET, SOCK_STREAM, 0) ); in server()
51 s = DO( socket(PF_INET, SOCK_STREAM, 0) ); in client()
Dfcntl_setown.c11 if ((s = socket(PF_INET, SOCK_STREAM, 0)) < 0) in main()
/external/strace/xlat/
Ddomains.h13 #if defined(PF_INET) || (defined(HAVE_DECL_PF_INET) && HAVE_DECL_PF_INET)
14 XLAT(PF_INET),
Ddomains.in4 PF_INET
/external/qemu/util/
Dqemu-sockets.c74 case PF_INET: in inet_getport()
92 case PF_INET: in inet_setport()
103 case PF_INET: return "ipv4"; in inet_strfamily()
155 ai.ai_family = PF_INET; in inet_listen_opts()
261 ai.ai_family = PF_INET; in inet_connect_opts()
335 ai.ai_family = PF_INET; in inet_dgram_opts()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c262 if ((drv->dhcp_sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) { in wired_init_sockets()
415 s = socket(PF_INET, SOCK_DGRAM, 0); in wpa_driver_wired_get_ifflags()
439 s = socket(PF_INET, SOCK_DGRAM, 0); in wpa_driver_wired_set_ifflags()
464 s = socket(PF_INET, SOCK_DGRAM, 0); in wpa_driver_wired_get_ifstatus()
495 s = socket(PF_INET, SOCK_DGRAM, 0); in wpa_driver_wired_multi()
Ddriver_macsec_qca.c132 s = socket(PF_INET, SOCK_DGRAM, 0); in macsec_qca_get_ifflags()
156 s = socket(PF_INET, SOCK_DGRAM, 0); in macsec_qca_set_ifflags()
181 s = socket(PF_INET, SOCK_DGRAM, 0); in macsec_qca_get_ifstatus()
212 s = socket(PF_INET, SOCK_DGRAM, 0); in macsec_qca_multi()
Ddriver_openbsd.c102 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); in wpa_driver_openbsd_init()
Ddriver_roboswitch.c387 drv->fd = socket(PF_INET, SOCK_DGRAM, 0); in wpa_driver_roboswitch_init()
/external/libpcap/Win32/Src/
Dgetaddrinfo.c144 {PF_INET, sizeof(struct in_addr),
171 { PF_INET, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
172 { PF_INET, SOCK_STREAM, IPPROTO_TCP, "tcp", 0x07 },
173 { PF_INET, SOCK_RAW, ANY, NULL, 0x05 },
350 case PF_INET:
385 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1)
396 pai->ai_family = PF_INET;
/external/chromium_org/net/tools/flip_server/
Dcreate_listener.cc120 hints.ai_family = PF_INET; in CreateListeningSocket()
249 hints.ai_family = PF_INET; in CreateConnectedSocket()
/external/ipsec-tools/src/libipsec/
Dtest-policy.c137 if (test1sub2(buf, PF_INET) != 0
161 case PF_INET:
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h128 #define PF_INET 2 /* IP protocol family. */ macro
160 #define AF_INET PF_INET
/external/chromium_org/third_party/webrtc/test/channel_transport/
Dudp_transport_impl.cc1188 _remoteRTPAddr.sin_family = PF_INET; in BuildRemoteRTPAddr()
1190 _remoteRTPAddr._sockaddr_storage.sin_family = PF_INET; in BuildRemoteRTPAddr()
1218 _remoteRTCPAddr.sin_family = PF_INET; in BuildRemoteRTCPAddr()
1220 _remoteRTCPAddr._sockaddr_storage.sin_family = PF_INET; in BuildRemoteRTCPAddr()
1266 _localRTPAddr.sin_family = PF_INET; in BindRTPSendSocket()
1268 _localRTPAddr._sockaddr_storage.sin_family = PF_INET; in BindRTPSendSocket()
1317 _localRTCPAddr.sin_family = PF_INET; in BindRTCPSendSocket()
1319 _localRTCPAddr._sockaddr_storage.sin_family = PF_INET; in BindRTCPSendSocket()
1346 recAddr.sin_family = PF_INET; in BindLocalRTPSocket()
1348 recAddr._sockaddr_storage.sin_family = PF_INET; in BindLocalRTPSocket()
[all …]
/external/srtp/test/
Drtpw.c257 sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
270 name.sin_family = PF_INET; in main()
/external/chromium_org/third_party/libsrtp/srtp/test/
Drtpw.c277 sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
290 name.sin_family = PF_INET; in main()
/external/dnsmasq/contrib/wrt/
Ddhcp_lease_time.c140 int fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
Ddhcp_release.c256 int fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
/external/tcpdump/missing/
Dgetnameinfo.c80 {PF_INET, sizeof(struct in_addr), sizeof(struct sockaddr_in),
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c176 s = socket(PF_INET, SOCK_DGRAM, 0); in l2_packet_get_ip_addr()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c344 int domain = PF_INET;
635 priv->sock = socket(PF_INET, SOCK_DGRAM, 0);
/external/dnsmasq/src/
Dbpf.c40 if ((fd = socket(PF_INET, SOCK_DGRAM, 0)) == -1) in iface_enumerate()
/external/wpa_supplicant_8/src/radius/
Dradius_das.c318 s = socket(PF_INET, SOCK_DGRAM, 0); in radius_das_open_socket()
/external/libxml2/
Dnanohttp.c107 #ifndef PF_INET
108 #define PF_INET AF_INET macro
875 s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); in xmlNanoHTTPConnectAttempt()
/external/chromium_org/third_party/libxml/src/
Dnanohttp.c109 #ifndef PF_INET
110 #define PF_INET AF_INET macro
870 s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); in xmlNanoHTTPConnectAttempt()

123