Searched refs:SOCK_DGRAM (Results 76 - 100 of 155) sorted by relevance

1234567

/linux-master/arch/um/os-Linux/
H A Dfile.c377 int err, type = stream ? SOCK_STREAM : SOCK_DGRAM;
550 sock = socket(PF_UNIX, SOCK_DGRAM, 0);
/linux-master/net/rxrpc/
H A Drxperf.c185 ret = sock_create_kern(&init_net, AF_RXRPC, SOCK_DGRAM, PF_INET6,
196 srx.transport_type = SOCK_DGRAM;
H A Daf_rxrpc.c88 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 Dxdp_features.c256 sockfd = start_reuseport_server(AF_INET6, SOCK_DGRAM, NULL,
555 sockfd = socket(AF_INET6, SOCK_DGRAM, 0);
H A Dtest_sock.c312 .type = SOCK_DGRAM,
/linux-master/tools/testing/selftests/net/
H A Drxtimestamp.c64 { "udp", SOCK_DGRAM, IPPROTO_UDP },
H A Dio_uring_zerocopy_tx.c316 do_test(cfg_family, SOCK_DGRAM, 0);
H A Dudpgso_bench_rx.c130 fd = socket(cfg_family, cfg_tcp ? SOCK_STREAM : SOCK_DGRAM, 0);
H A Dcsum.c471 fd = socket(cfg_family, SOCK_DGRAM, 0);
550 fd = socket(PF_PACKET, SOCK_DGRAM, 0);
906 fd = open_inet(SOCK_DGRAM, 0);
H A Dtxtimestamp.c751 cfg_proto = SOCK_DGRAM;
772 cfg_proto = SOCK_DGRAM;
847 type = cfg_proto == SOCK_RAW ? SOCK_DGRAM : cfg_proto;
H A Dip_defrag.c354 fd_rx_udp = socket(addr->sa_family, SOCK_DGRAM, 0);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_helpers.h397 if (sotype & SOCK_DGRAM)
H A Dselect_reuseport.c769 case SOCK_DGRAM:
830 { SOCK_DGRAM, AF_INET },
831 { SOCK_DGRAM, AF_INET6 },
H A Dcls_redirect.c387 if (CHECK_FAIL(!set_up_conn(addr, slen, SOCK_DGRAM,
H A Dcg_storage_multi.c66 server_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 0, 0);
H A Dcgroup_getset_retval.c510 sock_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 0, 0);
/linux-master/net/ipv6/
H A Dping.c223 .type = SOCK_DGRAM,
/linux-master/net/ipv4/
H A Dudp_tunnel_core.c17 err = sock_create_kern(net, AF_INET, SOCK_DGRAM, 0, &sock);
/linux-master/include/linux/
H A Dnet.h52 * @SOCK_DGRAM: datagram (conn.less) socket
66 SOCK_DGRAM = 2, enumerator in enum:sock_type
/linux-master/net/vmw_vsock/
H A Daf_vsock.c18 * 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 Dl2tp_core.c1322 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 Droute-test.c313 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 Dax25_in.c260 sk = ax25_get_socket(&dest, &src, SOCK_DGRAM);
/linux-master/net/phonet/
H A Daf_phonet.c64 case SOCK_DGRAM:
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c569 e1 = socketpair(AF_UNIX, SOCK_DGRAM, 0, unixfds);

Completed in 268 milliseconds

1234567