Searched refs:SOCK_DGRAM (Results 51 - 75 of 155) sorted by relevance

1234567

/linux-master/tools/testing/selftests/net/
H A Dpsock_snd.c223 fd = socket(PF_PACKET, cfg_use_dgram ? SOCK_DGRAM : SOCK_RAW, 0);
257 fd = socket(PF_INET, SOCK_DGRAM, 0);
H A Dmsg_zerocopy.c8 * - 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 Dtap.c95 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
152 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
H A Dtoeplitz.c346 fd = socket(PF_PACKET, SOCK_DGRAM, 0);
540 cfg_type = SOCK_DGRAM;
H A Dip_local_port_range.c143 .so_type = SOCK_DGRAM,
167 .so_type = SOCK_DGRAM,
H A Dso_txtime.c291 fd = socket(addr->sa_family, SOCK_DGRAM, 0);
312 fd = socket(addr->sa_family, SOCK_DGRAM, 0);
H A Dudpgso.c463 fdr = socket(addr->sa_family, SOCK_DGRAM, 0);
474 fdt = socket(addr->sa_family, SOCK_DGRAM, 0);
H A Dipv6_flowlabel_mgr.c189 fd = socket(PF_INET6, SOCK_DGRAM, 0);
H A Dreuseport_addr_any.c272 test_proto(SOCK_DGRAM, "UDP");
H A Dtun.c77 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
H A Dnettest.c353 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 Dllc_sap.c302 return sk->sk_type == SOCK_DGRAM &&
361 return sk->sk_type == SOCK_DGRAM &&
/linux-master/fs/afs/
H A Daddr_list.c294 srx.transport_type = SOCK_DGRAM;
338 srx.transport_type = SOCK_DGRAM;
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c524 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 Dmconsole_user.c187 notify_sock = socket(PF_UNIX, SOCK_DGRAM, 0);
/linux-master/samples/bpf/
H A Dtest_cgrp2_sock.c175 sd = socket(family, SOCK_DGRAM, 17);
H A Dtest_overhead_user.c71 fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
/linux-master/kernel/bpf/
H A Dreuseport_array.c206 if (nsk->sk_type != SOCK_STREAM && nsk->sk_type != SOCK_DGRAM)
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c154 fds[i] = socket(AF_INET6, SOCK_DGRAM, 0);
/linux-master/tools/testing/selftests/connector/
H A Dproc_filter.c87 nl_sock = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_CONNECTOR);
/linux-master/net/ipv6/
H A Dip6_udp_tunnel.c24 err = sock_create_kern(net, AF_INET6, SOCK_DGRAM, 0, &sock);
/linux-master/arch/um/os-Linux/drivers/
H A Dethertap_user.c147 err = socketpair(AF_UNIX, SOCK_DGRAM, 0, data_fds);
H A Dtuntap_user.c159 err = socketpair(AF_UNIX, SOCK_DGRAM, 0, fds);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dip_check_defrag.c193 srv_fd = start_server(ipv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, NULL, SERVER_PORT, 0);
/linux-master/net/nfc/
H A Dllcp_sock.c798 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 &&

Completed in 246 milliseconds

1234567