Home
last modified time | relevance | path

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

12345678910

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dreuseport_dualstack.c164 build_rcv_fd(AF_INET, SOCK_DGRAM, rcv_fds, 5); in main()
165 build_rcv_fd(AF_INET6, SOCK_DGRAM, &(rcv_fds[5]), 5); in main()
166 test(rcv_fds, 10, SOCK_DGRAM); in main()
171 build_rcv_fd(AF_INET6, SOCK_DGRAM, rcv_fds, 5); in main()
172 build_rcv_fd(AF_INET, SOCK_DGRAM, &(rcv_fds[5]), 5); in main()
173 test(rcv_fds, 10, SOCK_DGRAM); in main()
181 build_rcv_fd(AF_INET, SOCK_DGRAM, rcv_fds, 16); in main()
182 build_rcv_fd(AF_INET6, SOCK_DGRAM, &(rcv_fds[16]), 16); in main()
183 test(rcv_fds, 32, SOCK_DGRAM); in main()
188 build_rcv_fd(AF_INET6, SOCK_DGRAM, rcv_fds, 16); in main()
[all …]
H A 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 …]
H A Dsocket.c29 { AF_INET, SOCK_DGRAM, IPPROTO_TCP, -EPROTONOSUPPORT, 1 },
30 { AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0, 1 },
H A Dpsock_lib.h79 fds[0] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open()
80 fds[1] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open()
H A Dipv6_flowlabel.c191 fdt = socket(PF_INET6, SOCK_DGRAM, 0); in main()
195 fdr = socket(PF_INET6, SOCK_DGRAM, 0); in main()
H A Dreuseport_bpf_numa.c243 test(rcv_fd, nodes, AF_INET, SOCK_DGRAM); in main()
246 test(rcv_fd, nodes, AF_INET6, SOCK_DGRAM); in main()
H A Dreuseport_bpf_cpu.c244 test(rcv_fd, cpus, AF_INET, SOCK_DGRAM); in main()
247 test(rcv_fd, cpus, AF_INET6, SOCK_DGRAM); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_sock_addr.c153 SOCK_DGRAM,
209 SOCK_DGRAM,
267 SOCK_DGRAM,
323 SOCK_DGRAM,
339 SOCK_DGRAM,
353 SOCK_DGRAM,
367 SOCK_DGRAM,
381 SOCK_DGRAM,
395 SOCK_DGRAM,
409 SOCK_DGRAM,
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dsocket_type.h29 SOCK_DGRAM = 2, /* Connectionless, unreliable datagrams enumerator
31 #define SOCK_DGRAM SOCK_DGRAM macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dsocket_type.h29 SOCK_DGRAM = 2, /* Connectionless, unreliable datagrams enumerator
31 #define SOCK_DGRAM SOCK_DGRAM macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dsk_lookup.c158 if (sotype == SOCK_DGRAM) { in make_server()
167 if (sotype == SOCK_DGRAM && addr.ss_family == AF_INET6) { in make_server()
410 fd = socket(dst_addr->ss_family, SOCK_DGRAM, 0); in udp_recv_send()
759 .sotype = SOCK_DGRAM, in test_redirect_lookup()
767 .sotype = SOCK_DGRAM, in test_redirect_lookup()
776 .sotype = SOCK_DGRAM, in test_redirect_lookup()
786 .sotype = SOCK_DGRAM, in test_redirect_lookup()
797 .sotype = SOCK_DGRAM, in test_redirect_lookup()
806 .sotype = SOCK_DGRAM, in test_redirect_lookup()
814 .sotype = SOCK_DGRAM, in test_redirect_lookup()
[all …]
H A Dconnect_force_port.c152 server_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 60123, 0); in test_connect_force_port()
155 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET, SOCK_DGRAM)); in test_connect_force_port()
158 server_fd = start_server(AF_INET6, SOCK_DGRAM, NULL, 60124, 0); in test_connect_force_port()
161 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET6, SOCK_DGRAM)); in test_connect_force_port()
H A Dudp_limit.c35 fd1 = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_limit()
39 fd2 = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_limit()
47 fd1 = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_limit()
H A Dsk_assign.c188 else if (type == SOCK_DGRAM && in run_test()
263 TEST("ipv4 udp port redir", AF_INET, SOCK_DGRAM, false), in test_sk_assign()
264 TEST("ipv4 udp addr redir", AF_INET, SOCK_DGRAM, true), in test_sk_assign()
265 TEST("ipv6 udp port redir", AF_INET6, SOCK_DGRAM, false), in test_sk_assign()
266 TEST("ipv6 udp addr redir", AF_INET6, SOCK_DGRAM, true), in test_sk_assign()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dudp_limit.c22 if (ctx->type != SOCK_DGRAM) in sock()
51 if (ctx->type != SOCK_DGRAM) in sock_release()
H A Dsendmsg4_prog.c24 if (ctx->type != SOCK_DGRAM) in sendmsg_v4_prog()
H A Dsendmsg6_prog.c28 if (ctx->type != SOCK_DGRAM) in sendmsg_v6_prog()
/OK3568_Linux_fs/kernel/net/rxrpc/
H A Dutils.c22 srx->transport_type = SOCK_DGRAM; in rxrpc_extract_addr_from_skb()
31 srx->transport_type = SOCK_DGRAM; in rxrpc_extract_addr_from_skb()
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Dnetwork.c35 [SOCK_DGRAM] = "dgram",
147 [SOCK_DGRAM] = {
170 [SOCK_DGRAM] = {
697 case SOCK_DGRAM: in tomoyo_socket_connect_permission()
734 case SOCK_DGRAM: in tomoyo_socket_bind_permission()
766 (type != SOCK_DGRAM && type != SOCK_RAW)) in tomoyo_socket_sendmsg_permission()
/OK3568_Linux_fs/kernel/fs/afs/
H A Daddr_list.c51 srx->transport_type = SOCK_DGRAM; in afs_alloc_addrlist()
303 srx->transport_type = SOCK_DGRAM; in afs_merge_fs_addr4()
343 srx->transport_type = SOCK_DGRAM; in afs_merge_fs_addr6()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dsocket.h30 SOCK_DGRAM = 1, enumerator
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dnetwork.py8 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM if not udp else socket.SOCK_DGRAM)
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dcookie_uid_helper_example.c221 s_rcv = socket(PF_INET, SOCK_DGRAM, 0); in udp_client()
230 s_send = socket(PF_INET, SOCK_DGRAM, 0); in udp_client()
/OK3568_Linux_fs/u-boot/tools/
H A Dncb.c17 s = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
/OK3568_Linux_fs/external/rkwifibt/tools/brcm_tools/
H A Ddhd_priv.c68 ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in main()

12345678910