/external/ltp/testcases/kernel/syscalls/socket/ |
socket01.c | 44 {PF_INET, 75, 0, -1, EINVAL, "invalid type"}, 46 {PF_INET, SOCK_RAW, 0, -1, EPROTONOSUPPORT, "raw open as non-root"}, 47 {PF_INET, SOCK_DGRAM, 17, 0, 0, "UDP socket"}, 48 {PF_INET, SOCK_STREAM, 17, -1, EPROTONOSUPPORT, "UDP stream"}, 49 {PF_INET, SOCK_DGRAM, 6, -1, EPROTONOSUPPORT, "TCP dgram"}, 50 {PF_INET, SOCK_STREAM, 6, 0, 0, "TCP socket"}, 51 {PF_INET, SOCK_STREAM, 1, -1, EPROTONOSUPPORT, "ICMP stream"}
|
socket02.c | 54 fd = socket(PF_INET, tc->type, 0);
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
socketpair01.c | 46 {PF_INET, 75, 0, fds, -1, EINVAL, "invalid type"}, 48 {PF_INET, SOCK_RAW, 0, fds, -1, EPROTONOSUPPORT, "raw open as non-root"}, 53 {PF_INET, SOCK_DGRAM, 17, fds, -1, EOPNOTSUPP, "UDP socket"}, 54 {PF_INET, SOCK_DGRAM, 6, fds, -1, EPROTONOSUPPORT, "TCP dgram"}, 55 {PF_INET, SOCK_STREAM, 6, fds, -1, EOPNOTSUPP, "TCP socket"}, 56 {PF_INET, SOCK_STREAM, 1, fds, -1, EPROTONOSUPPORT, "ICMP stream"}
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
getsockopt01.c | 70 int domain; /* PF_INET, PF_UNIX, ... */ 86 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 90 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 96 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, 0, &optlen, 100 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 0, 106 PF_INET, SOCK_STREAM, 0, 500, SO_OOBINLINE, &optval, &optlen, 110 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval, 114 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval, 119 PF_INET, SOCK_STREAM, 0, IPPROTO_IP, -1, &optval, &optlen, 123 PF_INET, SOCK_STREAM, 0, IPPROTO_TCP, -1, &optval, &optlen [all...] |
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
setsockopt01.c | 70 int domain; /* PF_INET, PF_UNIX, ... */ 86 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 91 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 98 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, 0, 105 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 0, 109 PF_INET, SOCK_STREAM, 0, 500, SO_OOBINLINE, &optval, 114 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval, 119 PF_INET, SOCK_STREAM, 0, IPPROTO_IP, -1, &optval, 124 PF_INET, SOCK_STREAM, 0, IPPROTO_TCP, -1, &optval,
|
/external/ltp/testcases/kernel/syscalls/socketcall/ |
socketcall01.c | 42 {SYS_SOCKET, {PF_INET, SOCK_STREAM, 0}, "TCP stream"}, 45 {SYS_SOCKET, {PF_INET, SOCK_DGRAM, 17}, "UDP dgram"}
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
sockioctl01.c | 68 int domain; /* PF_INET, PF_UNIX, ... */ 82 PF_INET, SOCK_STREAM, 0, SIOCATMARK, &optval, 86 PF_INET, SOCK_STREAM, 0, SIOCATMARK, &optval, 92 PF_INET, SOCK_STREAM, 0, SIOCATMARK, 0, 98 PF_INET, SOCK_DGRAM, 0, SIOCATMARK, &optval, 102 PF_INET, SOCK_DGRAM, 0, SIOCGIFCONF, &ifc, 106 PF_INET, SOCK_DGRAM, 0, SIOCGIFFLAGS, &ifr, 110 PF_INET, SOCK_DGRAM, 0, SIOCGIFFLAGS, 0, 114 PF_INET, SOCK_DGRAM, 0, SIOCSIFFLAGS, 0,
|
/external/ltp/testcases/kernel/syscalls/getsockname/ |
getsockname01.c | 68 int domain; /* PF_INET, PF_UNIX, ... */ 80 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 83 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 89 PF_INET, SOCK_STREAM, 0, NULL, 93 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 97 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1,
|
/external/ltp/testcases/kernel/syscalls/accept/ |
accept01.c | 57 int domain; /* PF_INET, PF_UNIX, ... */ 69 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 72 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 75 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)3, 78 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 81 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 84 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 87 PF_INET, SOCK_DGRAM, 0, (struct sockaddr *)&fsin1,
|
/external/ltp/testcases/network/tcp_cmds/include/ |
netdefs.h | 56 #define PFI PF_INET
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
sendto01.c | 55 int domain; /* PF_INET, PF_UNIX, ... */ 81 {.domain = PF_INET, 111 {.domain = PF_INET, 126 {.domain = PF_INET, 140 {.domain = PF_INET, 154 {.domain = PF_INET, 170 {.domain = PF_INET, 185 {.domain = PF_INET, 199 {.domain = PF_INET, 213 {.domain = PF_INET, [all...] |
/external/ltp/testcases/kernel/syscalls/connect/ |
connect01.c | 71 int domain; /* PF_INET, PF_UNIX, ... */ 83 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin1, 89 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)-1, 94 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin1, 100 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin1, 104 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin2, 108 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin4, 249 sfd = socket(PF_INET, SOCK_STREAM, 0);
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
recvfrom01.c | 78 int domain; /* PF_INET, PF_UNIX, ... */ 94 PF_INET, SOCK_STREAM, 0, buf, sizeof(buf), 0, 103 PF_INET, SOCK_STREAM, 0, (void *)buf, sizeof(buf), 0, 108 PF_INET, SOCK_STREAM, 0, (void *)buf, sizeof(buf), 0, 113 PF_INET, SOCK_STREAM, 0, (void *)-1, sizeof(buf), 0, 118 PF_INET, SOCK_STREAM, 0, (void *)buf, sizeof(buf), MSG_OOB, 123 PF_INET, SOCK_STREAM, 0, (void *)buf, sizeof(buf), MSG_ERRQUEUE, 257 sfd = socket(PF_INET, SOCK_STREAM, 0);
|
/external/curl/lib/ |
hostip6.c | 151 pf = PF_INET; 161 if((pf != PF_INET) && !Curl_ipv6works()) 163 pf = PF_INET;
|
/external/ltp/testcases/kernel/syscalls/bind/ |
bind01.c | 68 int domain; /* PF_INET, PF_UNIX, ... */ 82 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)-1, 87 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin1, 93 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin2, 100 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin3,
|
/external/u-boot/tools/ |
ncb.c | 17 s = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/ |
server.cpp | 60 int sockfd = socket(PF_INET, SOCK_STREAM, 0); 64 servAddr.sin_family = PF_INET;
|
/external/ltp/testcases/kernel/syscalls/send/ |
send01.c | 56 int domain; /* PF_INET, PF_UNIX, ... */ 79 {.domain = PF_INET, 105 {.domain = PF_INET, 118 {.domain = PF_INET, 130 {.domain = PF_INET, 144 {.domain = PF_INET, 173 sfd = socket(PF_INET, SOCK_STREAM, 0);
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
recvmsg01.c | 92 int domain; /* PF_INET, PF_UNIX, ... */ 111 PF_INET, SOCK_STREAM, 0, iov, 1, buf, sizeof(buf), &msgdat, 0, 123 PF_INET, SOCK_STREAM, 0, iov, 1, (void *)buf, sizeof(buf), 129 PF_INET, SOCK_STREAM, 0, iov, 1, (void *)buf, sizeof(buf), 134 PF_INET, SOCK_STREAM, 0, iov, 1, (void *)-1, sizeof(buf), 140 PF_INET, SOCK_STREAM, 0, 0, 1, (void *)buf, sizeof(buf), 146 PF_INET, SOCK_STREAM, 0, iov, -1, (void *)buf, sizeof(buf), 158 PF_INET, SOCK_STREAM, 0, iov, 1, (void *)buf, sizeof(buf), 165 PF_INET, SOCK_STREAM, 0, iov, 1, (void *)buf, sizeof(buf), 301 if (tdat[testno].domain == PF_INET) { [all...] |
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_flow_dissector.c | 127 case PF_INET: 314 case PF_INET: 338 case PF_INET: 357 cfg_l3_inner == PF_INET ? IPPROTO_IPIP 366 cfg_l3_inner == PF_INET ? ETH_P_IP 372 case PF_INET: 374 cfg_l3_outer == PF_INET ? IPPROTO_IPIP 383 cfg_l3_outer == PF_INET ? IPPROTO_IPIP 412 if (cfg_l3_extra == PF_INET) 422 if (cfg_l3_outer == PF_INET) [all...] |
/external/ltp/testcases/kernel/syscalls/recv/ |
recv01.c | 71 int domain; /* PF_INET, PF_UNIX, ... */ 84 PF_INET, SOCK_STREAM, 0, buf, sizeof(buf), 0, 93 PF_INET, SOCK_STREAM, 0, (void *)-1, sizeof(buf), 0, 98 PF_INET, SOCK_STREAM, 0, buf, sizeof(buf), MSG_OOB, 102 PF_INET, SOCK_STREAM, 0, buf, sizeof(buf), MSG_ERRQUEUE, 228 sfd = socket(PF_INET, SOCK_STREAM, 0);
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
sendmsg01.c | 86 int domain; /* PF_INET, PF_UNIX, ... */ 105 {.domain = PF_INET, 139 {.domain = PF_INET, 156 {.domain = PF_INET, 173 {.domain = PF_INET, 190 {.domain = PF_INET, 206 {.domain = PF_INET, 222 {.domain = PF_INET, 239 {.domain = PF_INET, 256 {.domain = PF_INET, [all...] |
/external/linux-kselftest/tools/testing/selftests/net/ |
psock_lib.h | 93 fds[0] = socket(PF_INET, SOCK_DGRAM, 0); 94 fds[1] = socket(PF_INET, SOCK_DGRAM, 0);
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/ |
server.cpp | 59 int sockfd = socket(PF_INET, SOCK_STREAM, 0); 63 servAddr.sin_family = PF_INET;
|
/external/curl/tests/server/ |
resolve.c | 128 hints.ai_family = use_ipv6 ? PF_INET6 : PF_INET;
|