Searched refs:SOCK_DGRAM (Results 1 - 25 of 155) sorted by last modified time

1234567

/linux-master/net/ipv6/
H A Dudp.c1789 .type = SOCK_DGRAM,
/linux-master/net/bluetooth/
H A Dl2cap_sock.c1775 case SOCK_DGRAM:
1846 sock->type != SOCK_DGRAM && sock->type != SOCK_RAW)
/linux-master/net/ax25/
H A Daf_ax25.c845 case SOCK_DGRAM:
929 case SOCK_DGRAM:
/linux-master/include/net/
H A Dsock.h2774 sk->sk_type == SOCK_DGRAM &&
/linux-master/drivers/net/
H A Dgtp.c1212 sk->sk_type != SOCK_DGRAM ||
/linux-master/tools/testing/selftests/net/
H A Dudpgso.c463 fdr = socket(addr->sa_family, SOCK_DGRAM, 0);
474 fdt = socket(addr->sa_family, 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 Dso_txtime.c291 fd = socket(addr->sa_family, SOCK_DGRAM, 0);
312 fd = socket(addr->sa_family, SOCK_DGRAM, 0);
H A Dip_local_port_range.c143 .so_type = SOCK_DGRAM,
167 .so_type = SOCK_DGRAM,
/linux-master/net/unix/
H A Daf_unix.c815 * SOCK_DGRAM is ordinary. So, no lock is needed.
817 if (sock->type == SOCK_DGRAM || s_state == TCP_ESTABLISHED)
1022 sock->type = SOCK_DGRAM;
1024 case SOCK_DGRAM:
2081 * unlike SOCK_DGRAM wants.
/linux-master/net/nfc/
H A Dllcp_sock.c798 if (sk->sk_type == SOCK_DGRAM) {
874 if (sk->sk_type == SOCK_DGRAM && msg->msg_name) {
895 sk->sk_type == SOCK_DGRAM ||
1032 sock->type != SOCK_DGRAM &&
/linux-master/drivers/isdn/mISDN/
H A Dsocket.c597 if (sock->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;
H A Dxprtsock.c2201 xs_addr(xprt)->sa_family, SOCK_DGRAM,
H A Dclnt.c1458 SOCK_DGRAM, IPPROTO_UDP, &sock, 1);
/linux-master/net/core/
H A Dsock.c1466 (sk->sk_type == 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/include/trace/events/
H A Dsunrpc.h20 TRACE_DEFINE_ENUM(SOCK_DGRAM); variable
30 { SOCK_DGRAM, "DGRAM" }, \
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_qp.c244 err = sock_create_kern(&init_net, AF_INET, SOCK_DGRAM, 0, &qp->sk);
/linux-master/security/selinux/
H A Dhooks.c1165 case SOCK_DGRAM:
1181 case SOCK_DGRAM:
/linux-master/tools/testing/vsock/
H A Dvsock_diag_test.c38 case SOCK_DGRAM:
/linux-master/tools/testing/selftests/landlock/
H A Dnet_test.c347 .type = SOCK_DGRAM,
357 .type = SOCK_DGRAM,
377 .type = SOCK_DGRAM,
407 .type = SOCK_DGRAM,
417 .type = SOCK_DGRAM,
437 .type = SOCK_DGRAM,
888 .type = SOCK_DGRAM,
895 .type = SOCK_DGRAM,
950 unix_dgram_fd = socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0);
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c524 fd = socket(AF_UNIX, SOCK_DGRAM, 0);
545 fd = socket(AF_UNIX, SOCK_DGRAM, 0);
716 server_fd = start_server(AF_INET6, SOCK_DGRAM, NULL, 9092, 1000);
H A Dtest_sock_addr.c157 SOCK_DGRAM,
213 SOCK_DGRAM,
271 SOCK_DGRAM,
327 SOCK_DGRAM,
343 SOCK_DGRAM,
357 SOCK_DGRAM,
371 SOCK_DGRAM,
385 SOCK_DGRAM,
399 SOCK_DGRAM,
413 SOCK_DGRAM,
[all...]
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;

Completed in 400 milliseconds

1234567