/third_party/ltp/testcases/network/multicast/mc_opts/ |
D | mc_verify_opts_error.c | 44 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, &simr, in main() 49 (s, IPPROTO_IP, IP_MULTICAST_IF, &gimr, (socklen_t *)&len) != 0) in main() 54 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) in main() 59 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) != 0) in main() 62 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &do_loop, sizeof(char)) in main() 65 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &no_loop, sizeof(char)) in main() 70 (s, IPPROTO_IP, IP_MULTICAST_LOOP, &no_loop, in main()
|
D | mc_verify_opts.c | 54 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in main() 64 (s, IPPROTO_IP, IP_MULTICAST_IF, &gimr, (socklen_t *)&len) != 0) { in main() 83 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) { in main() 93 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, in main() 100 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) { in main() 111 (s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, in main() 125 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, sizeof(char)) != in main() 132 (s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, in main()
|
/third_party/boost/boost/asio/ip/ |
D | multicast.hpp | 51 BOOST_ASIO_OS_DEF(IPPROTO_IP), 79 BOOST_ASIO_OS_DEF(IPPROTO_IP), 107 BOOST_ASIO_OS_DEF(IPPROTO_IP), 143 BOOST_ASIO_OS_DEF(IPPROTO_IP), 180 BOOST_ASIO_OS_DEF(IPPROTO_IP),
|
D | unicast.hpp | 59 BOOST_ASIO_OS_DEF(IPPROTO_IP),
|
/third_party/pulseaudio/src/pulsecore/ |
D | socket-util.c | 167 #if defined(IPTOS_LOWDELAY) && defined(IP_TOS) && (defined(SOL_IP) || defined(IPPROTO_IP)) in pa_make_tcp_socket_low_delay() 173 if (setsockopt(fd, IPPROTO_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_tcp_socket_low_delay() 185 #if defined(IPTOS_LOWDELAY) && defined(IP_TOS) && (defined(SOL_IP) || defined(IPPROTO_IP)) in pa_make_udp_socket_low_delay() 191 if (setsockopt(fd, IPPROTO_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_udp_socket_low_delay()
|
/third_party/libnl/include/linux-private/linux/ |
D | in.h | 29 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator 30 #define IPPROTO_IP IPPROTO_IP macro
|
/third_party/ltp/testcases/network/multicast/mc_member/ |
D | mc_member_test.c | 86 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in main() 129 if (setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in join_group() 164 if (setsockopt(s, IPPROTO_IP, IP_DROP_MEMBERSHIP, in leave_group()
|
/third_party/python/Tools/demo/ |
D | mcast.py | 41 s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl_bin) 69 s.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
|
/third_party/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg02.c | 57 sdr = SAFE_SOCKET(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_IP); in verify_recvmsg() 61 sdw = SAFE_SOCKET(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP); in verify_recvmsg()
|
/third_party/grpc/test/core/iomgr/ |
D | socket_utils_test.cc | 50 if (0 != setsockopt(fd, IPPROTO_IP, IP_TOS, &m->option_value, in mutate_fd() 54 if (0 != getsockopt(fd, IPPROTO_IP, IP_TOS, &newval, &intlen)) { in mutate_fd()
|
/third_party/ltp/testcases/network/multicast/mc_commo/ |
D | mc_send.c | 74 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in main() 91 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) < 0) { in main()
|
D | mc_recv.c | 81 (s, IPPROTO_IP, IP_ADD_MEMBERSHIP, &imr, in main()
|
/third_party/mingw-w64/mingw-w64-headers/include/ |
D | wsipv6ok.h | 40 #undef IPPROTO_IP 41 #define IPPROTO_IP IPPROTO_IP_IPV6INCOMPATIBLE macro
|
/third_party/gstreamer/gstreamer/libs/gst/net/ |
D | gstnetutils.c | 58 if (setsockopt (fd, IPPROTO_IP, IP_TOS, &tos, sizeof (tos)) < 0) { in gst_net_utils_set_socket_dscp()
|
/third_party/pulseaudio/src/modules/rtp/ |
D | module-rtp-send.c | 399 if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_LOOP, &j, sizeof(j)) < 0 || in pa__init() 400 setsockopt(sap_fd, IPPROTO_IP, IP_MULTICAST_LOOP, &j, sizeof(j)) < 0) { in pa__init() 408 if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_TTL, &_ttl, sizeof(_ttl)) < 0) { in pa__init() 413 if (setsockopt(sap_fd, IPPROTO_IP, IP_MULTICAST_TTL, &_ttl, sizeof(_ttl)) < 0) { in pa__init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_upnp_ssdp.c | 750 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_open() 752 setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_open() 886 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in ssdp_open_multicast_sock() 893 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_open_multicast_sock() 910 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_upnp_ssdp.c | 750 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_open() 752 setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_open() 886 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in ssdp_open_multicast_sock() 893 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_open_multicast_sock() 910 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock()
|
/third_party/toybox/toys/pending/ |
D | traceroute.c | 132 res = setsockopt(TT.snd_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); in send_probe4() 553 if (setsockopt(TT.snd_sock, IPPROTO_IP, IP_OPTIONS, in traceroute_main() 564 setsockopt(TT.snd_sock, IPPROTO_IP, IP_TOS, &tyser, sizeof(tyser)) < 0) in traceroute_main() 569 (setsockopt(TT.snd_sock, IPPROTO_IP, IP_DONTFRAG, &set, in traceroute_main() 587 if (setsockopt(TT.snd_sock, IPPROTO_IP, IP_MULTICAST_IF, in traceroute_main()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
D | ns-igmp_querier.c | 371 if (setsockopt(sd, IPPROTO_IP, IP_OPTIONS, opt, sizeof(opt))) in create_socket() 378 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in create_socket()
|
/third_party/boost/boost/asio/detail/ |
D | socket_types.hpp | 218 # define BOOST_ASIO_OS_DEF_IPPROTO_IP IPPROTO_IP 334 # define BOOST_ASIO_OS_DEF_IPPROTO_IP IPPROTO_IP
|
/third_party/ffmpeg/libavformat/ |
D | udp.c | 166 if (setsockopt(sockfd, IPPROTO_IP, IP_MULTICAST_TTL, &mcastTTL, sizeof(mcastTTL)) < 0) { in udp_set_multicast_ttl() 194 … if (setsockopt(sockfd, IPPROTO_IP, IP_ADD_MEMBERSHIP, (const void *)&mreq, sizeof(mreq)) < 0) { in udp_join_multicast_group() 227 … if (setsockopt(sockfd, IPPROTO_IP, IP_DROP_MEMBERSHIP, (const void *)&mreq, sizeof(mreq)) < 0) { in udp_leave_multicast_group() 264 int level = addr->sa_family == AF_INET ? IPPROTO_IP : IPPROTO_IPV6; in udp_set_multicast_sources() 303 if (setsockopt(sockfd, IPPROTO_IP, in udp_set_multicast_sources() 794 if (setsockopt (udp_fd, IPPROTO_IP, IP_TOS, &dscp, sizeof(dscp)) != 0) in udp_open()
|
/third_party/gstreamer/gstplugins_good/gst/udp/ |
D | gstudpsrc.c | 180 return IPPROTO_IP; in gst_ip_pktinfo_message_get_level() 196 if (level != IPPROTO_IP || type != IP_PKTINFO) in gst_ip_pktinfo_message_deserialize() 362 return IPPROTO_IP; in gst_ip_recvdstaddr_message_get_level() 378 if (level != IPPROTO_IP || type != IP_RECVDSTADDR) in gst_ip_recvdstaddr_message_deserialize() 1496 if (!g_socket_set_option (src->used_socket, IPPROTO_IP, IP_MULTICAST_ALL, 1503 if (!g_socket_set_option (src->used_socket, IPPROTO_IP, IP_PKTINFO, TRUE, 1510 if (!g_socket_set_option (src->used_socket, IPPROTO_IP, IP_RECVDSTADDR,
|
/third_party/musl/libc-test/src/api/ |
D | netinet_in.c | 44 C(IPPROTO_IP) in f()
|
/third_party/libuv/src/win/ |
D | winsock.c | 105 dummy = socket(AF_INET, SOCK_STREAM, IPPROTO_IP); in uv__winsock_init() 121 dummy = socket(AF_INET6, SOCK_STREAM, IPPROTO_IP); in uv__winsock_init()
|
/third_party/openssl/include/internal/ |
D | sockets.h | 36 # if !defined(IPPROTO_IP)
|