/external/ltp/testcases/network/multicast/mc_opts/ |
mc_verify_opts_error.c | 44 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, &simr, 49 (s, IPPROTO_IP, IP_MULTICAST_IF, &gimr, (socklen_t *)&len) != 0) 54 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) 59 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) != 0) 62 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &do_loop, sizeof(char)) 65 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &no_loop, sizeof(char)) 70 (s, IPPROTO_IP, IP_MULTICAST_LOOP, &no_loop,
|
mc_verify_opts.c | 54 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, 64 (s, IPPROTO_IP, IP_MULTICAST_IF, &gimr, (socklen_t *)&len) != 0) { 83 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) { 93 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, 100 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) { 111 (s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, 125 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, sizeof(char)) != 132 (s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop,
|
/external/tcpdump/ |
ipproto.h | 41 #ifndef IPPROTO_IP 42 #define IPPROTO_IP 0 /* dummy for IP */
|
/prebuilts/go/darwin-x86/src/net/ |
sockoptip_bsdvar.go | 21 err = fd.pfd.SetsockoptInet4Addr(syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, a) 27 err := fd.pfd.SetsockoptByte(syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, byte(boolint(v)))
|
sockoptip_linux.go | 18 err := fd.pfd.SetsockoptIPMreqn(syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, mreq) 24 err := fd.pfd.SetsockoptInt(syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v))
|
sockoptip_windows.go | 21 err = fd.pfd.Setsockopt(syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, (*byte)(unsafe.Pointer(&a[0])), 4) 27 err := fd.pfd.SetsockoptInt(syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v))
|
/prebuilts/go/linux-x86/src/net/ |
sockoptip_bsdvar.go | 21 err = fd.pfd.SetsockoptInet4Addr(syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, a) 27 err := fd.pfd.SetsockoptByte(syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, byte(boolint(v)))
|
sockoptip_linux.go | 18 err := fd.pfd.SetsockoptIPMreqn(syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, mreq) 24 err := fd.pfd.SetsockoptInt(syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v))
|
sockoptip_windows.go | 21 err = fd.pfd.Setsockopt(syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, (*byte)(unsafe.Pointer(&a[0])), 4) 27 err := fd.pfd.SetsockoptInt(syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v))
|
/external/python/cpython2/Lib/plat-netbsd1/ |
IN.py | 2 IPPROTO_IP = 0
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
mcast.py | 39 s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl_bin)
67 s.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
recvmsg02.c | 69 sdr = SAFE_SOCKET(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_IP); 73 sdw = SAFE_SOCKET(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP);
|
/external/python/cpython2/Demo/sockets/ |
mcast.py | 39 s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl_bin) 67 s.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
|
/external/python/cpython3/Tools/demo/ |
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)
|
/bionic/libc/kernel/uapi/linux/ |
in.h | 29 IPPROTO_IP = 0, 30 #define IPPROTO_IP IPPROTO_IP
|
/external/iproute2/include/uapi/linux/ |
in.h | 29 IPPROTO_IP = 0, /* Dummy protocol for TCP */ 30 #define IPPROTO_IP IPPROTO_IP
|
/external/kernel-headers/original/uapi/linux/ |
in.h | 29 IPPROTO_IP = 0, /* Dummy protocol for TCP */ 30 #define IPPROTO_IP IPPROTO_IP
|
/external/ltp/testcases/network/multicast/mc_member/ |
mc_member_test.c | 86 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, 129 if (setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, 164 if (setsockopt(s, IPPROTO_IP, IP_DROP_MEMBERSHIP,
|
/external/ltp/testcases/network/multicast/mc_commo/ |
mc_send.c | 74 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, 84 if (setsockopt(s,IPPROTO_IP,IP_MULTICAST_LOOP,&loop,sizeof(char))!= 0) { 91 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) < 0) {
|
/external/strace/xlat/ |
inet_protocols.h | 6 #if defined(IPPROTO_IP) || (defined(HAVE_DECL_IPPROTO_IP) && HAVE_DECL_IPPROTO_IP) 7 XLAT(IPPROTO_IP),
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
wsipv6ok.h | 40 #undef IPPROTO_IP 41 #define IPPROTO_IP IPPROTO_IP_IPV6INCOMPATIBLE
|
/external/strace/tests/ |
inet-cmsg.c | 116 #define SETSOCKOPT(fd, name) assert(!setsockopt(fd, IPPROTO_IP, (name), &opt_1, sizeof(opt_1))) 159 if (IPPROTO_IP != c->cmsg_level)
|
/external/strace/tests-m32/ |
inet-cmsg.c | 116 #define SETSOCKOPT(fd, name) assert(!setsockopt(fd, IPPROTO_IP, (name), &opt_1, sizeof(opt_1))) 159 if (IPPROTO_IP != c->cmsg_level)
|
/external/strace/tests-mx32/ |
inet-cmsg.c | 116 #define SETSOCKOPT(fd, name) assert(!setsockopt(fd, IPPROTO_IP, (name), &opt_1, sizeof(opt_1))) 159 if (IPPROTO_IP != c->cmsg_level)
|
/external/honggfuzz/libcommon/ |
ns.c | 91 int sock = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, IPPROTO_IP); 93 PLOG_E("socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_IP)");
|