SOCK_RAW 160 arch/um/drivers/vector_user.c fd = socket(AF_PACKET, SOCK_RAW, flags); SOCK_RAW 471 arch/um/drivers/vector_user.c dsthints.ai_socktype = SOCK_RAW; SOCK_RAW 479 arch/um/drivers/vector_user.c dsthints.ai_socktype = SOCK_RAW; SOCK_RAW 755 drivers/isdn/mISDN/socket.c if (sock->type != SOCK_RAW) SOCK_RAW 524 drivers/net/tap.c q->sock.type = SOCK_RAW; SOCK_RAW 1424 drivers/vhost/net.c if (sock->sk->sk_type != SOCK_RAW) { SOCK_RAW 3854 fs/io_uring.c ret = sock_create_kern(&init_net, PF_UNIX, SOCK_RAW, IPPROTO_IP, SOCK_RAW 41 include/linux/sock_diag.h if (sk->sk_type == SOCK_RAW) SOCK_RAW 53 include/linux/sock_diag.h if (sk->sk_type == SOCK_RAW) SOCK_RAW 1024 net/appletalk/ddp.c if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM) SOCK_RAW 1028 net/appletalk/ddp.c if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) SOCK_RAW 1749 net/appletalk/ddp.c if (sk->sk_type != SOCK_RAW) { SOCK_RAW 247 net/ax25/af_ax25.c s->sk->sk_type == SOCK_RAW && SOCK_RAW 859 net/ax25/af_ax25.c case SOCK_RAW: SOCK_RAW 206 net/bluetooth/bnep/sock.c if (sock->type != SOCK_RAW) SOCK_RAW 209 net/bluetooth/cmtp/sock.c if (sock->type != SOCK_RAW) SOCK_RAW 2004 net/bluetooth/hci_sock.c if (sock->type != SOCK_RAW) SOCK_RAW 257 net/bluetooth/hidp/sock.c if (sock->type != SOCK_RAW) SOCK_RAW 563 net/bluetooth/l2cap_sock.c && sk->sk_type != SOCK_RAW) { SOCK_RAW 1549 net/bluetooth/l2cap_sock.c case SOCK_RAW: SOCK_RAW 1631 net/bluetooth/l2cap_sock.c sock->type != SOCK_DGRAM && sock->type != SOCK_RAW) SOCK_RAW 1634 net/bluetooth/l2cap_sock.c if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) SOCK_RAW 324 net/bluetooth/rfcomm/sock.c if (sock->type != SOCK_STREAM && sock->type != SOCK_RAW) SOCK_RAW 874 net/can/raw.c .type = SOCK_RAW, SOCK_RAW 1010 net/ieee802154/socket.c case SOCK_RAW: SOCK_RAW 309 net/ipv4/af_inet.c if (sock->type == SOCK_RAW && !kern && SOCK_RAW 334 net/ipv4/af_inet.c if (SOCK_RAW == sock->type) { SOCK_RAW 1116 net/ipv4/af_inet.c .type = SOCK_RAW, SOCK_RAW 1207 net/ipv4/icmp.c SOCK_RAW, IPPROTO_ICMP, net); SOCK_RAW 227 net/ipv4/inet_diag.c if (sk->sk_type == SOCK_RAW) { SOCK_RAW 342 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num == IPPROTO_RAW) SOCK_RAW 738 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_RAW && sk->sk_type != SOCK_DGRAM) SOCK_RAW 764 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_RAW) { SOCK_RAW 771 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_RAW) { SOCK_RAW 1386 net/ipv4/ipmr.c if (sk->sk_type != SOCK_RAW || SOCK_RAW 1573 net/ipv4/ipmr.c if (sk->sk_type != SOCK_RAW || SOCK_RAW 2643 net/ipv4/tcp_ipv4.c res = inet_ctl_sock_create(&sk, PF_INET, SOCK_RAW, SOCK_RAW 168 net/ipv6/af_inet6.c if (sock->type == SOCK_RAW && !kern && SOCK_RAW 193 net/ipv6/af_inet6.c if (SOCK_RAW == sock->type) { SOCK_RAW 993 net/ipv6/icmp.c SOCK_RAW, IPPROTO_ICMPV6, net); SOCK_RAW 1574 net/ipv6/ip6mr.c if (sk->sk_type != SOCK_RAW || SOCK_RAW 1636 net/ipv6/ip6mr.c if (sk->sk_type != SOCK_RAW || SOCK_RAW 1807 net/ipv6/ip6mr.c if (sk->sk_type != SOCK_RAW || SOCK_RAW 63 net/ipv6/ipv6_sockglue.c if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num != IPPROTO_RAW) SOCK_RAW 176 net/ipv6/ipv6_sockglue.c if (sk->sk_type == SOCK_RAW) SOCK_RAW 944 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) SOCK_RAW 967 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) { SOCK_RAW 1391 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) SOCK_RAW 1421 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) { SOCK_RAW 2962 net/ipv6/mcast.c SOCK_RAW, IPPROTO_ICMPV6, net); SOCK_RAW 2972 net/ipv6/mcast.c SOCK_RAW, IPPROTO_ICMPV6, net); SOCK_RAW 1882 net/ipv6/ndisc.c SOCK_RAW, IPPROTO_ICMPV6, net); SOCK_RAW 1028 net/ipv6/raw.c if (sk->sk_type != SOCK_RAW) SOCK_RAW 1386 net/ipv6/raw.c .type = SOCK_RAW, SOCK_RAW 2076 net/ipv6/tcp_ipv6.c SOCK_RAW, IPPROTO_TCP, net); SOCK_RAW 148 net/key/af_key.c if (sock->type != SOCK_RAW) SOCK_RAW 664 net/netlink/af_netlink.c if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM) SOCK_RAW 635 net/nfc/llcp_sock.c if (sock->type == SOCK_RAW) SOCK_RAW 870 net/nfc/llcp_sock.c sk->sk_type == SOCK_RAW) { SOCK_RAW 1009 net/nfc/llcp_sock.c sock->type != SOCK_RAW) SOCK_RAW 1012 net/nfc/llcp_sock.c if (sock->type == SOCK_RAW) { SOCK_RAW 66 net/nfc/rawsock.c if (sock->type == SOCK_RAW) SOCK_RAW 332 net/nfc/rawsock.c if ((sock->type != SOCK_SEQPACKET) && (sock->type != SOCK_RAW)) SOCK_RAW 335 net/nfc/rawsock.c if (sock->type == SOCK_RAW) SOCK_RAW 348 net/nfc/rawsock.c if (sock->type == SOCK_RAW) SOCK_RAW 1862 net/packet/af_packet.c sock->type == SOCK_RAW) { SOCK_RAW 2682 net/packet/af_packet.c if (po->sk.sk_socket->type == SOCK_RAW) SOCK_RAW 2894 net/packet/af_packet.c if (sock->type == SOCK_RAW) SOCK_RAW 2945 net/packet/af_packet.c if (sock->type == SOCK_RAW && SOCK_RAW 3242 net/packet/af_packet.c if (sock->type != SOCK_DGRAM && sock->type != SOCK_RAW && SOCK_RAW 3823 net/packet/af_packet.c if (sock->type != SOCK_RAW) SOCK_RAW 821 net/unix/af_unix.c case SOCK_RAW: SOCK_RAW 1086 net/xdp/xsk.c if (sock->type != SOCK_RAW) SOCK_RAW 18 samples/bpf/sock_example.h sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); SOCK_RAW 24 samples/bpf/sock_flags_kern.c sk->type == SOCK_RAW && SOCK_RAW 42 samples/bpf/sock_flags_kern.c sk->type == SOCK_RAW && SOCK_RAW 328 samples/bpf/xdp_router_ipv4_user.c sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); SOCK_RAW 467 samples/bpf/xdp_router_ipv4_user.c sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); SOCK_RAW 529 samples/bpf/xdp_router_ipv4_user.c sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); SOCK_RAW 547 samples/bpf/xdp_router_ipv4_user.c sock_arp = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); SOCK_RAW 1190 security/selinux/hooks.c case SOCK_RAW: SOCK_RAW 36 security/tomoyo/network.c [SOCK_RAW] = "raw", SOCK_RAW 151 security/tomoyo/network.c [SOCK_RAW] = { SOCK_RAW 530 security/tomoyo/network.c if (address->protocol == SOCK_RAW) SOCK_RAW 698 security/tomoyo/network.c case SOCK_RAW: SOCK_RAW 735 security/tomoyo/network.c case SOCK_RAW: SOCK_RAW 766 security/tomoyo/network.c (type != SOCK_DGRAM && type != SOCK_RAW)) SOCK_RAW 94 tools/accounting/getdelays.c fd = socket(AF_NETLINK, SOCK_RAW, protocol); SOCK_RAW 40 tools/lib/bpf/netlink.c sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); SOCK_RAW 223 tools/lib/bpf/xsk.c umem->fd = socket(AF_XDP, SOCK_RAW, 0); SOCK_RAW 582 tools/lib/bpf/xsk.c xsk->fd = socket(AF_XDP, SOCK_RAW, 0); SOCK_RAW 405 tools/testing/selftests/bpf/test_flow_dissector.c fd = socket(family, SOCK_RAW, IPPROTO_RAW); SOCK_RAW 1659 tools/testing/selftests/bpf/test_maps.c fd64 = socket(AF_INET6, SOCK_RAW, IPPROTO_UDP); SOCK_RAW 350 tools/testing/selftests/net/ip_defrag.c fd_tx_raw = socket(addr->sa_family, SOCK_RAW, IPPROTO_RAW); SOCK_RAW 501 tools/testing/selftests/net/msg_zerocopy.c if (type == SOCK_RAW) { SOCK_RAW 581 tools/testing/selftests/net/msg_zerocopy.c if (type == SOCK_RAW && protocol == IPPROTO_RAW) SOCK_RAW 634 tools/testing/selftests/net/msg_zerocopy.c if (cfg_family == PF_INET && type == SOCK_RAW) { SOCK_RAW 795 tools/testing/selftests/net/msg_zerocopy.c do_test(PF_PACKET, SOCK_RAW, 0); SOCK_RAW 799 tools/testing/selftests/net/msg_zerocopy.c do_test(cfg_family, SOCK_RAW, IPPROTO_EGP); SOCK_RAW 801 tools/testing/selftests/net/msg_zerocopy.c do_test(cfg_family, SOCK_RAW, IPPROTO_RAW); SOCK_RAW 1081 tools/testing/selftests/net/nettest.c if (!args->has_local_ip && args->type == SOCK_RAW) SOCK_RAW 1621 tools/testing/selftests/net/nettest.c args.type = SOCK_RAW; SOCK_RAW 66 tools/testing/selftests/net/psock_fanout.c fd = socket(PF_PACKET, SOCK_RAW, 0); SOCK_RAW 223 tools/testing/selftests/net/psock_snd.c fd = socket(PF_PACKET, cfg_use_dgram ? SOCK_DGRAM : SOCK_RAW, 0); SOCK_RAW 295 tools/testing/selftests/net/psock_snd.c fd = socket(PF_PACKET, SOCK_RAW, 0); SOCK_RAW 101 tools/testing/selftests/net/psock_tpacket.c int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); SOCK_RAW 395 tools/testing/selftests/net/psock_tpacket.c rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); SOCK_RAW 79 tools/testing/selftests/net/txring_overwrite.c fdr = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP)); SOCK_RAW 92 tools/testing/selftests/net/txring_overwrite.c fdt = socket(PF_PACKET, SOCK_RAW, 0); SOCK_RAW 373 tools/testing/selftests/net/udpgso.c fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); SOCK_RAW 62 tools/testing/selftests/networking/timestamping/rxtimestamp.c { "ip", SOCK_RAW, IPPROTO_EGP }, SOCK_RAW 275 tools/testing/selftests/networking/timestamping/rxtimestamp.c int port = (s.type == SOCK_RAW) ? 0 : next_port++; SOCK_RAW 316 tools/testing/selftests/networking/timestamping/rxtimestamp.c if (s.type == SOCK_RAW) SOCK_RAW 397 tools/testing/selftests/networking/timestamping/txtimestamp.c if (cfg_use_pf_packet || cfg_proto == SOCK_RAW) { SOCK_RAW 468 tools/testing/selftests/networking/timestamping/txtimestamp.c if (cfg_use_pf_packet || cfg_proto == SOCK_RAW) { SOCK_RAW 618 tools/testing/selftests/networking/timestamping/txtimestamp.c cfg_proto = SOCK_RAW; SOCK_RAW 623 tools/testing/selftests/networking/timestamping/txtimestamp.c cfg_proto = SOCK_RAW; SOCK_RAW 701 tools/testing/selftests/networking/timestamping/txtimestamp.c type = cfg_proto == SOCK_RAW ? SOCK_DGRAM : cfg_proto; SOCK_RAW 93 tools/testing/selftests/uevent/uevent_filtering.c sk_fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, SOCK_RAW 269 tools/testing/vsock/vsock_diag_test.c fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG);