/external/strace/xlat/ |
D | socktypes.h | 7 #if defined(SOCK_DGRAM) || (defined(HAVE_DECL_SOCK_DGRAM) && HAVE_DECL_SOCK_DGRAM) 9 static_assert((SOCK_DGRAM) == (1), "SOCK_DGRAM != 1"); 12 # define SOCK_DGRAM 1 29 #if defined(SOCK_DGRAM) || (defined(HAVE_DECL_SOCK_DGRAM) && HAVE_DECL_SOCK_DGRAM) 31 static_assert((SOCK_DGRAM) == (2), "SOCK_DGRAM != 2"); 34 # define SOCK_DGRAM 2 79 XLAT(SOCK_DGRAM), 83 XLAT(SOCK_DGRAM),
|
D | socktypes.in | 2 SOCK_DGRAM 1 6 SOCK_DGRAM 2
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | reuseport_dualstack.c | 163 build_rcv_fd(AF_INET, SOCK_DGRAM, rcv_fds, 5); in main() 164 build_rcv_fd(AF_INET6, SOCK_DGRAM, &(rcv_fds[5]), 5); in main() 165 test(rcv_fds, 10, SOCK_DGRAM); in main() 170 build_rcv_fd(AF_INET6, SOCK_DGRAM, rcv_fds, 5); in main() 171 build_rcv_fd(AF_INET, SOCK_DGRAM, &(rcv_fds[5]), 5); in main() 172 test(rcv_fds, 10, SOCK_DGRAM); in main() 180 build_rcv_fd(AF_INET, SOCK_DGRAM, rcv_fds, 16); in main() 181 build_rcv_fd(AF_INET6, SOCK_DGRAM, &(rcv_fds[16]), 16); in main() 182 test(rcv_fds, 32, SOCK_DGRAM); in main() 187 build_rcv_fd(AF_INET6, SOCK_DGRAM, rcv_fds, 16); in main() [all …]
|
D | reuseport_bpf.c | 395 fd1 = socket(AF_INET, SOCK_DGRAM, 0); in test_filter_without_bind() 398 fd2 = socket(AF_INET, SOCK_DGRAM, 0); in test_filter_without_bind() 469 .protocol = SOCK_DGRAM, in main() 476 .protocol = SOCK_DGRAM, in main() 483 .protocol = SOCK_DGRAM, in main() 490 .protocol = SOCK_DGRAM, in main() 496 .protocol = SOCK_DGRAM, in main() 500 .protocol = SOCK_DGRAM, in main() 507 .protocol = SOCK_DGRAM, in main() 514 .protocol = SOCK_DGRAM, in main() [all …]
|
D | socket.c | 29 { AF_INET, SOCK_DGRAM, IPPROTO_TCP, -EPROTONOSUPPORT, 1 }, 30 { AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0, 1 },
|
/external/syzkaller/sys/linux/ |
D | socket_inet_udp.txt | 17 socket$inet_udp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[0]) sock_udp 18 socket$inet_udplite(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_UDPLITE]) so… 19 socketpair$inet_udp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[0], fds ptr[out, udp… 20 socketpair$inet_udplite(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_UDPLITE]… 29 socket$inet6_udp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[0]) sock_udp6 30 socket$inet6_udplite(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_UDPLITE]) … 31 socketpair$inet6_udp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[0], fds ptr[out, u… 32 socketpair$inet6_udplite(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_UDPLIT…
|
D | socket_inet_icmp.txt | 11 socket$inet_icmp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_ICMP]) sock_icmp 13 socketpair$inet_icmp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_ICMP], fds … 23 socket$inet6_icmp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_ICMPV6]) sock… 25 socketpair$inet6_icmp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_ICMPV6], …
|
/external/syzkaller/sys/freebsd/ |
D | socket_inet_udp.txt | 19 socket$inet_udp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[0]) sock_udp 20 socketpair$inet_udp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[0], fds ptr[out, udp… 29 socket$inet6_udp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[0]) sock_udp6 30 socketpair$inet6_udp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[0], fds ptr[out, u…
|
D | socket_inet_icmp.txt | 14 socket$inet_icmp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_ICMP]) sock_icmp 16 socketpair$inet_icmp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_ICMP], fds … 26 socket$inet6_icmp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_ICMPV6]) sock… 28 socketpair$inet6_icmp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_ICMPV6], …
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 145 SOCK_DGRAM, 201 SOCK_DGRAM, 259 SOCK_DGRAM, 315 SOCK_DGRAM, 331 SOCK_DGRAM, 345 SOCK_DGRAM, 359 SOCK_DGRAM, 373 SOCK_DGRAM, 387 SOCK_DGRAM, 401 SOCK_DGRAM, [all …]
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | sockioctl01.c | 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/socket/ |
D | socket01.c | 45 {PF_UNIX, SOCK_DGRAM, 0, 0, 0, "UNIX domain dgram"}, 47 {PF_INET, SOCK_DGRAM, 17, 0, 0, "UDP socket"}, 49 {PF_INET, SOCK_DGRAM, 6, -1, EPROTONOSUPPORT, "TCP dgram"},
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair01.c | 47 {PF_UNIX, SOCK_DGRAM, 0, fds, 0, 0, "UNIX domain dgram"}, 53 {PF_INET, SOCK_DGRAM, 17, fds, -1, EOPNOTSUPP, "UDP socket"}, 54 {PF_INET, SOCK_DGRAM, 6, fds, -1, EPROTONOSUPPORT, "TCP dgram"},
|
/external/iproute2/ip/ |
D | tunnel.c | 80 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_get_ioctl() 107 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_add_ioctl() 134 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_del_ioctl() 158 fd = socket(preferred_family, SOCK_DGRAM, 0); in tnl_gen_ioctl()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 140 .type = SOCK_DGRAM, 191 .type = SOCK_DGRAM, 207 .type = SOCK_DGRAM, 223 .type = SOCK_DGRAM, 291 .type = SOCK_DGRAM, 308 .type = SOCK_DGRAM, 325 .type = SOCK_DGRAM, 342 .type = SOCK_DGRAM, 448 ufd = socket(PF_UNIX, SOCK_DGRAM, 0); in start_server()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired_common.c | 38 s = socket(PF_INET, SOCK_DGRAM, 0); in driver_wired_get_ifflags() 63 s = socket(PF_INET, SOCK_DGRAM, 0); in driver_wired_set_ifflags() 92 s = socket(PF_INET, SOCK_DGRAM, 0); in driver_wired_multi() 196 s = socket(PF_INET, SOCK_DGRAM, 0); in driver_wired_get_ifstatus() 228 common->pf_sock = socket(PF_PACKET, SOCK_DGRAM, 0); in driver_wired_init_common()
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto01.c | 112 .type = SOCK_DGRAM, 155 .type = SOCK_DGRAM, 171 .type = SOCK_DGRAM, 186 .type = SOCK_DGRAM, 214 .type = SOCK_DGRAM,
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | recv_msg_trunc.cc | 15 int fd_0 = socket(AF_INET, SOCK_DGRAM, 0); in main() 16 int fd_1 = socket(AF_INET, SOCK_DGRAM, 0); in main()
|
/external/ltp/testcases/kernel/syscalls/socketcall/ |
D | socketcall01.c | 43 {SYS_SOCKET, {PF_UNIX, SOCK_DGRAM, 0}, "unix domain dgram"}, 45 {SYS_SOCKET, {PF_INET, SOCK_DGRAM, 17}, "UDP dgram"}
|
/external/autotest/client/cros/netprotos/ |
D | interface_host.py | 43 if family != socket.AF_INET or sock_type != socket.SOCK_DGRAM: 122 self._recv_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 133 self._send_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
/external/python/cpython2/Demo/sockets/ |
D | udpecho.py | 35 s = socket(AF_INET, SOCK_DGRAM) 52 s = socket(AF_INET, SOCK_DGRAM)
|
D | mcast.py | 34 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM) 54 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
|
/external/autotest/client/profilers/powertop/src/ |
D | ethernet.c | 61 sock = socket(AF_INET, SOCK_DGRAM, 0); in activate_WOL_suggestion() 102 sock = socket(AF_INET, SOCK_DGRAM, 0); in suggest_WOL_off()
|
/external/python/cpython3/Tools/demo/ |
D | mcast.py | 36 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM) 56 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg02.c | 69 sdr = SAFE_SOCKET(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_IP); in verify_recvmsg() 73 sdw = SAFE_SOCKET(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP); in verify_recvmsg()
|