/linux-master/net/ipv4/ |
H A D | udplite.c | 75 .type = SOCK_DGRAM,
|
/linux-master/net/ipv6/ |
H A D | udplite.c | 74 .type = SOCK_DGRAM,
|
/linux-master/tools/testing/selftests/net/ |
H A D | reuseport_bpf_cpu.c | 244 test(rcv_fd, cpus, AF_INET, SOCK_DGRAM); 247 test(rcv_fd, cpus, AF_INET6, SOCK_DGRAM);
|
H A D | reuseport_bpf_numa.c | 247 test(rcv_fd, nodes, AF_INET, SOCK_DGRAM); 250 test(rcv_fd, nodes, AF_INET6, SOCK_DGRAM);
|
H A D | ipv6_flowlabel.c | 228 fdt = socket(PF_INET6, SOCK_DGRAM, prot); 232 fdr = use_ping ? fdt : socket(PF_INET6, SOCK_DGRAM, 0);
|
/linux-master/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 230 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 D | assign_reuse.c | 190 run_assign_reuse(AF_INET, SOCK_DGRAM, "127.0.0.1", PORT); 192 run_assign_reuse(AF_INET6, SOCK_DGRAM, "::1", PORT);
|
H A D | sock_destroy.c | 117 serv = start_server(AF_INET6, SOCK_DGRAM, NULL, 0, 0); 153 listen_fds = start_reuseport_server(AF_INET6, SOCK_DGRAM,
|
H A D | sockmap_basic.c | 542 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 D | sock_addr.c | 186 SOCK_DGRAM, 199 SOCK_DGRAM, 431 if (test->socket_type == SOCK_DGRAM) {
|
H A D | setget_sockopt.c | 77 sfd = start_server(family, SOCK_DGRAM,
|
H A D | connect_ping.c | 52 sock_fd = socket(family, SOCK_DGRAM, protocol);
|
H A D | lwt_reroute.c | 105 s = socket(AF_INET, SOCK_DGRAM, 0);
|
/linux-master/net/unix/ |
H A D | unix_bpf.c | 44 if (sk->sk_type == SOCK_DGRAM) 146 if (sk->sk_type != SOCK_DGRAM)
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | net_test.c | 347 .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 D | ucon.c | 139 s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_CONNECTOR);
|
/linux-master/arch/um/drivers/ |
H A D | umcast_user.c | 78 fd = socket(AF_INET, SOCK_DGRAM, 0);
|
H A D | daemon_user.c | 72 fd = socket(AF_UNIX, SOCK_DGRAM, 0);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdp_redirect_multi.c | 51 fd = socket(AF_INET, SOCK_DGRAM, 0);
|
H A D | test_skb_cgroup_id_user.c | 58 fd = socket(AF_INET6, SOCK_DGRAM, 0);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bind6_prog.c | 119 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)
|
H A D | bind4_prog.c | 112 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)
|
H A D | connect4_prog.c | 169 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)
|
/linux-master/net/vmw_vsock/ |
H A D | vsock_bpf.c | 68 else if (sk->sk_type == SOCK_DGRAM)
|
/linux-master/net/phonet/ |
H A D | datagram.c | 185 .sock_type = SOCK_DGRAM,
|