/linux-3.4.99/security/tomoyo/ |
D | network.c | 35 [SOCK_RAW] = "raw", 150 [SOCK_RAW] = { 527 if (address->protocol == SOCK_RAW) in tomoyo_check_inet_address() 692 case SOCK_RAW: in tomoyo_socket_connect_permission() 729 case SOCK_RAW: in tomoyo_socket_bind_permission() 760 (type != SOCK_DGRAM && type != SOCK_RAW)) in tomoyo_socket_sendmsg_permission()
|
/linux-3.4.99/arch/mips/include/asm/ |
D | socket.h | 111 SOCK_RAW = 3, enumerator
|
/linux-3.4.99/net/ipv6/ |
D | ipv6_sockglue.c | 66 if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num != IPPROTO_RAW) in ip6_ra_control() 158 if (sk->sk_type == SOCK_RAW) in do_ipv6_setsockopt() 853 if (level == SOL_IP && sk->sk_type != SOCK_RAW) in ipv6_setsockopt() 881 if (level == SOL_IP && sk->sk_type != SOCK_RAW) { in compat_ipv6_setsockopt() 1256 if (level == SOL_IP && sk->sk_type != SOCK_RAW) in ipv6_getsockopt() 1290 if (level == SOL_IP && sk->sk_type != SOCK_RAW) { in compat_ipv6_getsockopt()
|
D | af_inet6.c | 111 if (sock->type != SOCK_RAW && in inet6_create() 162 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in inet6_create() 188 if (SOCK_RAW == sock->type) { in inet6_create()
|
D | icmp.c | 821 SOCK_RAW, IPPROTO_ICMPV6, net); in icmpv6_sk_init()
|
/linux-3.4.99/net/bluetooth/ |
D | l2cap_sock.c | 410 && sk->sk_type != SOCK_RAW) { in l2cap_sock_getsockopt() 994 case SOCK_RAW: in l2cap_sock_init() 1077 sock->type != SOCK_DGRAM && sock->type != SOCK_RAW) in l2cap_sock_create() 1080 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in l2cap_sock_create()
|
D | hci_sock.c | 1073 if (sock->type != SOCK_RAW) in hci_sock_create()
|
/linux-3.4.99/net/bluetooth/bnep/ |
D | sock.c | 205 if (sock->type != SOCK_RAW) in bnep_sock_create()
|
/linux-3.4.99/net/bluetooth/cmtp/ |
D | sock.c | 199 if (sock->type != SOCK_RAW) in cmtp_sock_create()
|
/linux-3.4.99/net/bluetooth/hidp/ |
D | sock.c | 252 if (sock->type != SOCK_RAW) in hidp_sock_create()
|
/linux-3.4.99/net/ipv4/ |
D | af_inet.c | 284 if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM) in inet_create() 335 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in inet_create() 365 if (SOCK_RAW == sock->type) { in inet_create() 1040 .type = SOCK_RAW,
|
D | ip_sockglue.c | 253 if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num == IPPROTO_RAW) in ip_ra_control() 598 if (sk->sk_type != SOCK_RAW) { in do_ip_setsockopt() 605 if (sk->sk_type != SOCK_RAW) { in do_ip_setsockopt()
|
D | icmp.c | 1146 SOCK_RAW, IPPROTO_ICMP, net); in icmp_sk_init()
|
/linux-3.4.99/net/ieee802154/ |
D | af_ieee802154.c | 255 case SOCK_RAW: in ieee802154_create()
|
/linux-3.4.99/include/linux/ |
D | net.h | 96 SOCK_RAW = 3, enumerator
|
/linux-3.4.99/Documentation/networking/ |
D | ieee802154.txt | 29 One can use SOCK_RAW for passing raw data towards device xmit function. YMMV.
|
D | can.txt | 20 4.1 RAW protocol sockets with can_filters (SOCK_RAW) 256 s = socket(PF_CAN, SOCK_RAW, CAN_RAW); 307 s = socket(PF_CAN, SOCK_RAW, CAN_RAW); 378 4.1 RAW protocol sockets with can_filters (SOCK_RAW)
|
/linux-3.4.99/Documentation/accounting/ |
D | getdelays.c | 94 fd = socket(AF_NETLINK, SOCK_RAW, protocol); in create_nl_socket()
|
/linux-3.4.99/net/can/ |
D | raw.c | 773 .type = SOCK_RAW,
|
/linux-3.4.99/net/appletalk/ |
D | ddp.c | 1032 if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM) in atalk_create() 1760 if (sk->sk_type != SOCK_RAW) { in atalk_recvmsg()
|
/linux-3.4.99/net/ax25/ |
D | af_ax25.c | 256 s->sk->sk_type == SOCK_RAW && in ax25_send_to_raw() 856 case SOCK_RAW: in ax25_create()
|
/linux-3.4.99/drivers/vhost/ |
D | net.c | 641 if (sock->sk->sk_type != SOCK_RAW) { in get_raw_socket()
|
/linux-3.4.99/drivers/isdn/mISDN/ |
D | socket.c | 765 if (sock->type != SOCK_RAW) in base_sock_create()
|
/linux-3.4.99/net/bluetooth/rfcomm/ |
D | sock.c | 336 if (sock->type != SOCK_STREAM && sock->type != SOCK_RAW) in rfcomm_sock_create()
|
/linux-3.4.99/drivers/net/ |
D | macvtap.c | 400 q->sock.type = SOCK_RAW; in macvtap_open()
|