/linux-master/tools/testing/selftests/net/ |
H A D | psock_snd.c | 223 fd = socket(PF_PACKET, cfg_use_dgram ? SOCK_DGRAM : SOCK_RAW, 0); 257 fd = socket(PF_INET, SOCK_DGRAM, 0);
|
H A D | msg_zerocopy.c | 8 * - SOCK_DGRAM 9 * - SOCK_DGRAM with UDP_CORK 14 * - SOCK_DGRAM 680 if (cfg_cork && (domain == PF_PACKET || type != SOCK_DGRAM)) 796 do_test(PF_PACKET, SOCK_DGRAM, 0); 804 do_test(cfg_family, SOCK_DGRAM, 0);
|
H A D | tap.c | 95 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); 152 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
|
H A D | toeplitz.c | 346 fd = socket(PF_PACKET, SOCK_DGRAM, 0); 540 cfg_type = SOCK_DGRAM;
|
H A D | ip_local_port_range.c | 143 .so_type = SOCK_DGRAM, 167 .so_type = SOCK_DGRAM,
|
H A D | so_txtime.c | 291 fd = socket(addr->sa_family, SOCK_DGRAM, 0); 312 fd = socket(addr->sa_family, SOCK_DGRAM, 0);
|
H A D | udpgso.c | 463 fdr = socket(addr->sa_family, SOCK_DGRAM, 0); 474 fdt = socket(addr->sa_family, SOCK_DGRAM, 0);
|
H A D | ipv6_flowlabel_mgr.c | 189 fd = socket(PF_INET6, SOCK_DGRAM, 0);
|
H A D | reuseport_addr_any.c | 272 test_proto(SOCK_DGRAM, "UDP");
|
H A D | tun.c | 77 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
|
H A D | nettest.c | 353 sd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); 1349 sd = socket(PF_INET, SOCK_DGRAM, 0); 1459 if (args->type != SOCK_DGRAM) { 2077 args.type = SOCK_DGRAM; 2152 args.type = SOCK_DGRAM; 2208 if (args.type == SOCK_DGRAM && !args.protocol) 2211 if ((args.type == SOCK_STREAM || args.type == SOCK_DGRAM) &&
|
/linux-master/net/llc/ |
H A D | llc_sap.c | 302 return sk->sk_type == SOCK_DGRAM && 361 return sk->sk_type == SOCK_DGRAM &&
|
/linux-master/fs/afs/ |
H A D | addr_list.c | 294 srx.transport_type = SOCK_DGRAM; 338 srx.transport_type = SOCK_DGRAM;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdp_hw_metadata.c | 524 fd = socket(AF_UNIX, SOCK_DGRAM, 0); 545 fd = socket(AF_UNIX, SOCK_DGRAM, 0); 716 server_fd = start_server(AF_INET6, SOCK_DGRAM, NULL, 9092, 1000);
|
/linux-master/arch/um/drivers/ |
H A D | mconsole_user.c | 187 notify_sock = socket(PF_UNIX, SOCK_DGRAM, 0);
|
/linux-master/samples/bpf/ |
H A D | test_cgrp2_sock.c | 175 sd = socket(family, SOCK_DGRAM, 17);
|
H A D | test_overhead_user.c | 71 fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
/linux-master/kernel/bpf/ |
H A D | reuseport_array.c | 206 if (nsk->sk_type != SOCK_STREAM && nsk->sk_type != SOCK_DGRAM)
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_local_storage_create.c | 154 fds[i] = socket(AF_INET6, SOCK_DGRAM, 0);
|
/linux-master/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 87 nl_sock = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_CONNECTOR);
|
/linux-master/net/ipv6/ |
H A D | ip6_udp_tunnel.c | 24 err = sock_create_kern(net, AF_INET6, SOCK_DGRAM, 0, &sock);
|
/linux-master/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 147 err = socketpair(AF_UNIX, SOCK_DGRAM, 0, data_fds);
|
H A D | tuntap_user.c | 159 err = socketpair(AF_UNIX, SOCK_DGRAM, 0, fds);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | ip_check_defrag.c | 193 srv_fd = start_server(ipv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, NULL, SERVER_PORT, 0);
|
/linux-master/net/nfc/ |
H A D | llcp_sock.c | 798 if (sk->sk_type == SOCK_DGRAM) { 874 if (sk->sk_type == SOCK_DGRAM && msg->msg_name) { 895 sk->sk_type == SOCK_DGRAM || 1032 sock->type != SOCK_DGRAM &&
|