Searched refs:SOCK_DGRAM (Results 101 - 125 of 155) sorted by relevance

1234567

/linux-master/net/rxrpc/
H A Dpeer_object.c263 case SOCK_DGRAM:
/linux-master/tools/testing/vsock/
H A Dvsock_diag_test.c38 case SOCK_DGRAM:
/linux-master/net/packet/
H A Daf_packet.c2151 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 Drxrpc.c46 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 Daf_llc.c6 * 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 Dkcmsock.c719 /* 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 Dtest_flow_dissector.c448 fd = socket(cfg_l3_inner, SOCK_DGRAM, 0);
H A Dtest_maps.c756 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 Dtimestamping.c383 sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
H A Dudpgso_bench_tx.c655 fd = socket(cfg_family, cfg_tcp ? SOCK_STREAM : SOCK_DGRAM, 0);
H A Dcmsg_sender.c80 .type = SOCK_DGRAM,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c488 sk = socket(PF_INET, SOCK_DGRAM, 0);
H A Dxdp_metadata.c231 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 Dtc_redirect.c536 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 Dqmi_interface.c591 ret = sock_create_kern(&init_net, AF_QIPCRTR, SOCK_DGRAM,
/linux-master/net/qrtr/
H A Dns.c692 ret = sock_create_kern(&init_net, AF_QIPCRTR, SOCK_DGRAM,
/linux-master/net/l2tp/
H A Dl2tp_ip6.c758 .type = SOCK_DGRAM,
806 /* Use the values of SOCK_DGRAM (2) as type and IPPROTO_L2TP (115) as protocol,
H A Dl2tp_ip.c630 .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 Daf_mctp.c693 if (sock->type != SOCK_DGRAM)
/linux-master/net/nfc/
H A Dllcp_core.c384 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 Dxdp_sample_user.c1609 fd = socket(AF_INET, SOCK_DGRAM, 0);
1641 fd = socket(AF_INET, SOCK_DGRAM, 0);
/linux-master/net/ax25/
H A Daf_ax25.c845 case SOCK_DGRAM:
929 case SOCK_DGRAM:
/linux-master/net/netfilter/ipvs/
H A Dip_vs_sync.c1473 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 Daf_inet.c1164 .type = SOCK_DGRAM,
1172 .type = SOCK_DGRAM,
/linux-master/net/sunrpc/
H A Dsvcsock.c1426 if (sock->type == SOCK_DGRAM)
1518 type = (protocol == IPPROTO_UDP)? SOCK_DGRAM : SOCK_STREAM;

Completed in 338 milliseconds

1234567