Searched refs:SOCK_DGRAM (Results 76 - 100 of 155) sorted by last modified time

1234567

/linux-master/drivers/soc/qcom/
H A Dqmi_interface.c591 ret = sock_create_kern(&init_net, AF_QIPCRTR, SOCK_DGRAM,
/linux-master/tools/testing/selftests/net/
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) &&
H A Dpsock_lib.h81 fds[0] = socket(PF_INET, SOCK_DGRAM, 0);
82 fds[1] = socket(PF_INET, SOCK_DGRAM, 0);
H A Dhwtstamp_config.c110 sock = socket(AF_INET, 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);
/linux-master/tools/testing/selftests/net/af_unix/
H A Dscm_pidfd.c246 .type = SOCK_DGRAM,
252 .type = SOCK_DGRAM,
310 if (variant->type == SOCK_DGRAM) {
343 /* skip further for SOCK_DGRAM as it's not applicable */
344 if (variant->type == SOCK_DGRAM)
416 if (variant->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);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtc_netkit.c109 sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP);
H A Dsockmap_helpers.h397 if (sotype & SOCK_DGRAM)
H A Dsock_addr.c186 SOCK_DGRAM,
199 SOCK_DGRAM,
431 if (test->socket_type == SOCK_DGRAM) {
H A Dconnect_ping.c52 sock_fd = socket(family, SOCK_DGRAM, protocol);
H A Dassign_reuse.c190 run_assign_reuse(AF_INET, SOCK_DGRAM, "127.0.0.1", PORT);
192 run_assign_reuse(AF_INET6, SOCK_DGRAM, "::1", PORT);
H A Dcgroup_getset_retval.c510 sock_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 0, 0);
/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/ipv6/
H A Dudplite.c74 .type = SOCK_DGRAM,
/linux-master/net/ipv4/
H A Dudplite.c75 .type = SOCK_DGRAM,
/linux-master/tools/testing/selftests/connector/
H A Dproc_filter.c87 nl_sock = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_CONNECTOR);
/linux-master/net/qrtr/
H A Daf_qrtr.c1266 if (sock->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/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c154 fds[i] = socket(AF_INET6, SOCK_DGRAM, 0);
/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/progs/
H A Dudp_limit.c21 if (ctx->type != SOCK_DGRAM)
49 if (ctx->type != SOCK_DGRAM)
H A Dsendmsg4_prog.c24 if (ctx->type != SOCK_DGRAM)
H A Drecvmsg6_prog.c31 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)
H A Drecvmsg4_prog.c28 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)

Completed in 312 milliseconds

1234567