Searched refs:SOCK_DGRAM (Results 101 - 125 of 155) sorted by relevance
1234567
/linux-master/net/rxrpc/ |
H A D | peer_object.c | 263 case SOCK_DGRAM:
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_diag_test.c | 38 case SOCK_DGRAM:
|
/linux-master/net/packet/ |
H A D | af_packet.c | 2151 if (sk->sk_type != SOCK_DGRAM) 2271 if (sk->sk_type != SOCK_DGRAM) 2302 if (sk->sk_type == SOCK_DGRAM) { 2597 if (sock->type == SOCK_DGRAM) { 2684 if (po->sk.sk_type == SOCK_DGRAM) { 2761 if (po->sk.sk_socket->type == SOCK_DGRAM) { 2975 if (sock->type == SOCK_DGRAM) { 3032 if (sock->type == SOCK_DGRAM) { 3345 if (sock->type != SOCK_DGRAM && sock->type != SOCK_RAW &&
|
/linux-master/fs/afs/ |
H A D | rxrpc.c | 46 ret = sock_create_kern(net->net, AF_RXRPC, SOCK_DGRAM, PF_INET6, &socket); 56 srx.transport_type = SOCK_DGRAM;
|
/linux-master/net/llc/ |
H A D | af_llc.c | 6 * one and class two is provided via SOCK_DGRAM and SOCK_STREAM 183 if (likely(sock->type == SOCK_DGRAM || sock->type == SOCK_STREAM)) { 402 * only SOCK_DGRAM can do this. 987 if (sk->sk_type == SOCK_DGRAM || addr->sllc_ua) {
|
/linux-master/net/kcm/ |
H A D | kcmsock.c | 719 /* Primarily for SOCK_DGRAM sockets, also handle asynchronous tx 754 int eor = (sock->type == SOCK_DGRAM) ? 999 if (sock->type == SOCK_DGRAM) { 1792 case SOCK_DGRAM:
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 448 fd = socket(cfg_l3_inner, SOCK_DGRAM, 0);
|
H A D | test_maps.c | 756 udp = socket(AF_INET, SOCK_DGRAM, 0); 760 printf("Failed socket update SOCK_DGRAM '%i:%i'\n", 1723 int types[2] = { SOCK_STREAM, SOCK_DGRAM }, type;
|
/linux-master/tools/testing/selftests/net/ |
H A D | timestamping.c | 383 sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
H A D | udpgso_bench_tx.c | 655 fd = socket(cfg_family, cfg_tcp ? SOCK_STREAM : SOCK_DGRAM, 0);
|
H A D | cmsg_sender.c | 80 .type = SOCK_DGRAM,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector.c | 488 sk = socket(PF_INET, SOCK_DGRAM, 0);
|
H A D | xdp_metadata.c | 231 sock_fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); 232 if (!ASSERT_GE(sock_fd, 0, "socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)"))
|
H A D | tc_redirect.c | 536 srv_fd = start_server(AF_INET6, SOCK_DGRAM, "::1", 0, 0); 889 test_inet_dtime(family, SOCK_DGRAM, addr, 50000 + t);
|
/linux-master/drivers/soc/qcom/ |
H A D | qmi_interface.c | 591 ret = sock_create_kern(&init_net, AF_QIPCRTR, SOCK_DGRAM,
|
/linux-master/net/qrtr/ |
H A D | ns.c | 692 ret = sock_create_kern(&init_net, AF_QIPCRTR, SOCK_DGRAM,
|
/linux-master/net/l2tp/ |
H A D | l2tp_ip6.c | 758 .type = SOCK_DGRAM, 806 /* Use the values of SOCK_DGRAM (2) as type and IPPROTO_L2TP (115) as protocol,
|
H A D | l2tp_ip.c | 630 .type = SOCK_DGRAM, 678 /* Use the values of SOCK_DGRAM (2) as type and IPPROTO_L2TP (115) as protocol,
|
/linux-master/net/mctp/ |
H A D | af_mctp.c | 693 if (sock->type != SOCK_DGRAM)
|
/linux-master/net/nfc/ |
H A D | llcp_core.c | 384 if (tmp_sock->sk.sk_type == SOCK_DGRAM && 887 if (llcp_sock == NULL || llcp_sock->sk.sk_type != SOCK_DGRAM)
|
/linux-master/samples/bpf/ |
H A D | xdp_sample_user.c | 1609 fd = socket(AF_INET, SOCK_DGRAM, 0); 1641 fd = socket(AF_INET, SOCK_DGRAM, 0);
|
/linux-master/net/ax25/ |
H A D | af_ax25.c | 845 case SOCK_DGRAM: 929 case SOCK_DGRAM:
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 1473 result = sock_create_kern(ipvs->net, ipvs->mcfg.mcast_af, SOCK_DGRAM, 1530 result = sock_create_kern(ipvs->net, ipvs->bcfg.mcast_af, SOCK_DGRAM,
|
/linux-master/net/ipv4/ |
H A D | af_inet.c | 1164 .type = SOCK_DGRAM, 1172 .type = SOCK_DGRAM,
|
/linux-master/net/sunrpc/ |
H A D | svcsock.c | 1426 if (sock->type == SOCK_DGRAM) 1518 type = (protocol == IPPROTO_UDP)? SOCK_DGRAM : SOCK_STREAM;
|
Completed in 338 milliseconds
1234567