/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind05.c | 40 {SOCK_DGRAM, 0, (struct sockaddr *)&unix_addr, sizeof(unix_addr), 42 {SOCK_DGRAM, 0, (struct sockaddr *)&abstract_addr, 46 {SOCK_DGRAM, 0, (struct sockaddr *)&ipv4_addr, sizeof(ipv4_addr), 48 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv4_addr, 50 {SOCK_DGRAM, IPPROTO_UDPLITE, (struct sockaddr *)&ipv4_addr, 52 {SOCK_DGRAM, 0, (struct sockaddr *)&ipv4_any_addr, 54 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv4_any_addr, 56 {SOCK_DGRAM, IPPROTO_UDPLITE, (struct sockaddr *)&ipv4_any_addr, 60 {SOCK_DGRAM, 0, (struct sockaddr *)&ipv6_addr, sizeof(ipv6_addr), 62 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv6_addr, [all …]
|
D | bind06.c | 45 fd = SAFE_SOCKET(AF_PACKET, SOCK_DGRAM, PF_PACKET); in setup() 88 fd = SAFE_SOCKET(AF_PACKET, SOCK_DGRAM, PF_PACKET); in run()
|
/third_party/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,
|
/third_party/ltp/testcases/kernel/syscalls/socket/ |
D | socket01.c | 33 {PF_UNIX, SOCK_DGRAM, 0, 0, 0, "UNIX domain dgram"}, 35 {PF_INET, SOCK_DGRAM, 17, 0, 0, "UDP socket"}, 37 {PF_INET, SOCK_DGRAM, 6, -1, EPROTONOSUPPORT, "TCP dgram"},
|
/third_party/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair01.c | 35 {PF_UNIX, SOCK_DGRAM, 0, fds, 0, 0, "UNIX domain dgram"}, 41 {PF_INET, SOCK_DGRAM, 17, fds, -1, EOPNOTSUPP, "UDP socket"}, 42 {PF_INET, SOCK_DGRAM, 6, fds, -1, EPROTONOSUPPORT, "TCP dgram"},
|
/third_party/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
|
/third_party/musl/src/network/ |
D | lookup_serv.c | 30 case SOCK_DGRAM: in __lookup_serv() 62 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv() 102 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv()
|
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/ |
D | recvmmsg01.c | 99 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup() 104 send_sockfd = SAFE_SOCKET(AF_INET, SOCK_DGRAM, 0); in setup() 105 receive_sockfd = SAFE_SOCKET(AF_INET, SOCK_DGRAM, 0); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/socketcall/ |
D | socketcall01.c | 28 {SYS_SOCKET, {PF_UNIX, SOCK_DGRAM, 0}, "unix domain dgram"}, 30 {SYS_SOCKET, {PF_INET, SOCK_DGRAM, 17}, "UDP dgram"}
|
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 65 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup() 67 send_sockfd = SAFE_SOCKET(AF_INET, SOCK_DGRAM, 0); in setup() 68 receive_sockfd = SAFE_SOCKET(AF_INET, SOCK_DGRAM, 0); in setup()
|
/third_party/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,
|
/third_party/ltp/testcases/kernel/syscalls/send/ |
D | send02.c | 64 {AF_INET, SOCK_DGRAM, 0, do_send, 1, 0, "UDP send"}, 65 {AF_INET, SOCK_DGRAM, 0, do_sendto, 0, 0, "UDP sendto"}, 66 {AF_INET, SOCK_DGRAM, 0, do_sendmsg, 0, 0, "UDP sendmsg"}
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt05.c | 52 dst_sock = SAFE_SOCKET(AF_INET, SOCK_DGRAM, 0); in setup() 78 sock = SAFE_SOCKET(AF_INET, SOCK_DGRAM, 0); in run()
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-pipe.c | 44 fd[0] = socket(AF_INET, SOCK_DGRAM, 0); in lws_plat_pipe_create() 48 fd[1] = socket(AF_INET, SOCK_DGRAM, 0); in lws_plat_pipe_create()
|
/third_party/python/Tools/demo/ |
D | mcast.py | 36 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM) 56 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-pipe.c | 52 fd[0] = socket(AF_INET, SOCK_DGRAM, 0); in lws_plat_pipe_create() 56 fd[1] = socket(AF_INET, SOCK_DGRAM, 0); in lws_plat_pipe_create()
|
/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/musl/libc-test/src/functional/ |
D | socket.c | 20 TESTE((s=socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP))>=0); in main() 27 TESTE((c=socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP))>=0); in main()
|
/third_party/boost/libs/asio/test/local/ |
D | datagram_protocol.cpp | 68 int native_socket1 = ::socket(AF_UNIX, SOCK_DGRAM, 0); in test() 74 int native_socket2 = ::socket(AF_UNIX, SOCK_DGRAM, 0); in test() 90 int native_socket3 = ::socket(AF_UNIX, SOCK_DGRAM, 0); in test() 92 int native_socket4 = ::socket(AF_UNIX, SOCK_DGRAM, 0); in test()
|
/third_party/ltp/testcases/kernel/syscalls/io_uring/ |
D | io_uring02.c | 80 sendsock = SAFE_SOCKET(AF_UNIX, SOCK_DGRAM, 0); in setup() 81 recvsock = SAFE_SOCKET(AF_UNIX, SOCK_DGRAM, 0); in setup() 95 SAFE_SOCKETPAIR(AF_UNIX, SOCK_DGRAM, 0, sockpair); in drain_fallback()
|
/third_party/ltp/testcases/network/can/cve/ |
D | can_bcm01.c | 57 sock1 = SAFE_SOCKET(AF_CAN, SOCK_DGRAM, CAN_BCM); in setup() 114 sock2 = SAFE_SOCKET(AF_CAN, SOCK_DGRAM, CAN_BCM); in run()
|
/third_party/curl/lib/ |
D | hostip6.c | 78 curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0); in Curl_ipv6works() 154 SOCK_STREAM : SOCK_DGRAM; in Curl_getaddrinfo()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | __recvmmsg_time64.c | 38 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in sendsss() 86 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in recvsss()
|