Searched refs:SOCK_DGRAM (Results 26 - 50 of 155) sorted by relevance

1234567

/linux-master/net/ipv4/
H A Dudplite.c75 .type = SOCK_DGRAM,
/linux-master/net/ipv6/
H A Dudplite.c74 .type = SOCK_DGRAM,
/linux-master/tools/testing/selftests/net/
H A Dreuseport_bpf_cpu.c244 test(rcv_fd, cpus, AF_INET, SOCK_DGRAM);
247 test(rcv_fd, cpus, AF_INET6, SOCK_DGRAM);
H A Dreuseport_bpf_numa.c247 test(rcv_fd, nodes, AF_INET, SOCK_DGRAM);
250 test(rcv_fd, nodes, AF_INET6, SOCK_DGRAM);
H A Dipv6_flowlabel.c228 fdt = socket(PF_INET6, SOCK_DGRAM, prot);
232 fdr = use_ping ? fdt : socket(PF_INET6, SOCK_DGRAM, 0);
/linux-master/samples/bpf/
H A Dcookie_uid_helper_example.c230 s_rcv = socket(PF_INET, SOCK_DGRAM, 0);
239 s_send = socket(PF_INET, SOCK_DGRAM, 0);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dassign_reuse.c190 run_assign_reuse(AF_INET, SOCK_DGRAM, "127.0.0.1", PORT);
192 run_assign_reuse(AF_INET6, SOCK_DGRAM, "::1", PORT);
H A Dsock_destroy.c117 serv = start_server(AF_INET6, SOCK_DGRAM, NULL, 0, 0);
153 listen_fds = start_reuseport_server(AF_INET6, SOCK_DGRAM,
H A Dsockmap_basic.c542 dgram = xsocket(AF_UNIX, SOCK_DGRAM, 0);
570 dgram = xsocket(AF_UNIX, SOCK_DGRAM, 0);
583 udp = xsocket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0);
639 dgram = xsocket(AF_UNIX, SOCK_DGRAM, 0);
652 udp = xsocket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0);
710 dgram = xsocket(AF_UNIX, SOCK_DGRAM, 0);
723 udp = xsocket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0);
H A Dsock_addr.c186 SOCK_DGRAM,
199 SOCK_DGRAM,
431 if (test->socket_type == SOCK_DGRAM) {
H A Dsetget_sockopt.c77 sfd = start_server(family, SOCK_DGRAM,
H A Dconnect_ping.c52 sock_fd = socket(family, SOCK_DGRAM, protocol);
H A Dlwt_reroute.c105 s = socket(AF_INET, SOCK_DGRAM, 0);
/linux-master/net/unix/
H A Dunix_bpf.c44 if (sk->sk_type == SOCK_DGRAM)
146 if (sk->sk_type != SOCK_DGRAM)
/linux-master/tools/testing/selftests/landlock/
H A Dnet_test.c347 .type = SOCK_DGRAM,
357 .type = SOCK_DGRAM,
377 .type = SOCK_DGRAM,
407 .type = SOCK_DGRAM,
417 .type = SOCK_DGRAM,
437 .type = SOCK_DGRAM,
888 .type = SOCK_DGRAM,
895 .type = SOCK_DGRAM,
950 unix_dgram_fd = socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0);
/linux-master/samples/connector/
H A Ducon.c139 s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_CONNECTOR);
/linux-master/arch/um/drivers/
H A Dumcast_user.c78 fd = socket(AF_INET, SOCK_DGRAM, 0);
H A Ddaemon_user.c72 fd = socket(AF_UNIX, SOCK_DGRAM, 0);
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_redirect_multi.c51 fd = socket(AF_INET, SOCK_DGRAM, 0);
H A Dtest_skb_cgroup_id_user.c58 fd = socket(AF_INET6, SOCK_DGRAM, 0);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbind6_prog.c119 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)
H A Dbind4_prog.c112 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)
H A Dconnect4_prog.c169 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)
/linux-master/net/vmw_vsock/
H A Dvsock_bpf.c68 else if (sk->sk_type == SOCK_DGRAM)
/linux-master/net/phonet/
H A Ddatagram.c185 .sock_type = SOCK_DGRAM,

Completed in 177 milliseconds

1234567