/linux-master/arch/um/os-Linux/ |
H A D | file.c | 377 int err, type = stream ? SOCK_STREAM : SOCK_DGRAM; 550 sock = socket(PF_UNIX, SOCK_DGRAM, 0);
|
/linux-master/net/rxrpc/ |
H A D | rxperf.c | 185 ret = sock_create_kern(&init_net, AF_RXRPC, SOCK_DGRAM, PF_INET6, 196 srx.transport_type = SOCK_DGRAM;
|
H A D | af_rxrpc.c | 88 if (srx->transport_type != SOCK_DGRAM) 593 rx->srx.transport_type = SOCK_DGRAM; 826 if (sock->type != SOCK_DGRAM)
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdp_features.c | 256 sockfd = start_reuseport_server(AF_INET6, SOCK_DGRAM, NULL, 555 sockfd = socket(AF_INET6, SOCK_DGRAM, 0);
|
H A D | test_sock.c | 312 .type = SOCK_DGRAM,
|
/linux-master/tools/testing/selftests/net/ |
H A D | rxtimestamp.c | 64 { "udp", SOCK_DGRAM, IPPROTO_UDP },
|
H A D | io_uring_zerocopy_tx.c | 316 do_test(cfg_family, SOCK_DGRAM, 0);
|
H A D | udpgso_bench_rx.c | 130 fd = socket(cfg_family, cfg_tcp ? SOCK_STREAM : SOCK_DGRAM, 0);
|
H A D | csum.c | 471 fd = socket(cfg_family, SOCK_DGRAM, 0); 550 fd = socket(PF_PACKET, SOCK_DGRAM, 0); 906 fd = open_inet(SOCK_DGRAM, 0);
|
H A D | txtimestamp.c | 751 cfg_proto = SOCK_DGRAM; 772 cfg_proto = SOCK_DGRAM; 847 type = cfg_proto == SOCK_RAW ? SOCK_DGRAM : cfg_proto;
|
H A D | ip_defrag.c | 354 fd_rx_udp = socket(addr->sa_family, SOCK_DGRAM, 0);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_helpers.h | 397 if (sotype & SOCK_DGRAM)
|
H A D | select_reuseport.c | 769 case SOCK_DGRAM: 830 { SOCK_DGRAM, AF_INET }, 831 { SOCK_DGRAM, AF_INET6 },
|
H A D | cls_redirect.c | 387 if (CHECK_FAIL(!set_up_conn(addr, slen, SOCK_DGRAM,
|
H A D | cg_storage_multi.c | 66 server_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 0, 0);
|
H A D | cgroup_getset_retval.c | 510 sock_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 0, 0);
|
/linux-master/net/ipv6/ |
H A D | ping.c | 223 .type = SOCK_DGRAM,
|
/linux-master/net/ipv4/ |
H A D | udp_tunnel_core.c | 17 err = sock_create_kern(net, AF_INET, SOCK_DGRAM, 0, &sock);
|
/linux-master/include/linux/ |
H A D | net.h | 52 * @SOCK_DGRAM: datagram (conn.less) socket 66 SOCK_DGRAM = 2, enumerator in enum:sock_type
|
/linux-master/net/vmw_vsock/ |
H A D | af_vsock.c | 18 * for a list of unbound sockets and SOCK_DGRAM sockets will always remain in 20 * are received and that's not necessary for SOCK_DGRAM sockets since we create 21 * a datagram handle for each and need not perform a lookup. Keeping SOCK_DGRAM 462 case SOCK_DGRAM: 713 case SOCK_DGRAM: 1053 if (sock->type == SOCK_DGRAM) { 2336 case SOCK_DGRAM: 2357 if (sock->type == SOCK_DGRAM) { 2365 /* SOCK_DGRAM doesn't have 'setsockopt' callback set in its
|
/linux-master/net/l2tp/ |
H A D | l2tp_core.c | 1322 err = sock_create_kern(net, AF_INET6, SOCK_DGRAM, 1350 err = sock_create_kern(net, AF_INET, SOCK_DGRAM, 1438 if (sk->sk_type != SOCK_DGRAM)
|
/linux-master/net/mctp/test/ |
H A D | route-test.c | 313 rc = sock_create_kern(&init_net, AF_MCTP, SOCK_DGRAM, 0, &sock); 571 rc = sock_create_kern(&init_net, AF_MCTP, SOCK_DGRAM, 0, &sock); 997 rc = sock_create_kern(&init_net, AF_MCTP, SOCK_DGRAM, 0, &sock);
|
/linux-master/net/ax25/ |
H A D | ax25_in.c | 260 sk = ax25_get_socket(&dest, &src, SOCK_DGRAM);
|
/linux-master/net/phonet/ |
H A D | af_phonet.c | 64 case SOCK_DGRAM:
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_inq.c | 569 e1 = socketpair(AF_UNIX, SOCK_DGRAM, 0, unixfds);
|