Home
last modified time | relevance | path

Searched refs:SOCK_DGRAM (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/external/strace/xlat/
Dsocktypes.h7 #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),
Dsocktypes.in2 SOCK_DGRAM 1
6 SOCK_DGRAM 2
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_dualstack.c163 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 …]
Dreuseport_bpf.c395 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 …]
Dsocket.c29 { AF_INET, SOCK_DGRAM, IPPROTO_TCP, -EPROTONOSUPPORT, 1 },
30 { AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0, 1 },
/external/syzkaller/sys/linux/
Dsocket_inet_udp.txt17 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…
Dsocket_inet_icmp.txt11 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/
Dsocket_inet_udp.txt19 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…
Dsocket_inet_icmp.txt14 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/
Dtest_sock_addr.c145 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/
Dsockioctl01.c98 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/
Dsocket01.c45 {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/
Dsocketpair01.c47 {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/
Dtunnel.c80 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/
Dsendmsg01.c140 .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/
Ddriver_wired_common.c38 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/
Dsendto01.c112 .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/
Drecv_msg_trunc.cc15 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/
Dsocketcall01.c43 {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/
Dinterface_host.py43 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/
Dudpecho.py35 s = socket(AF_INET, SOCK_DGRAM)
52 s = socket(AF_INET, SOCK_DGRAM)
Dmcast.py34 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
54 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
/external/autotest/client/profilers/powertop/src/
Dethernet.c61 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/
Dmcast.py36 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
56 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg02.c69 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()

12345678910>>...19