Home
last modified time | relevance | path

Searched refs:SOCK_RAW (Results 1 – 25 of 38) sorted by relevance

12

/linux-3.4.99/security/tomoyo/
Dnetwork.c35 [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/
Dsocket.h111 SOCK_RAW = 3, enumerator
/linux-3.4.99/net/ipv6/
Dipv6_sockglue.c66 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()
Daf_inet6.c111 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()
Dicmp.c821 SOCK_RAW, IPPROTO_ICMPV6, net); in icmpv6_sk_init()
/linux-3.4.99/net/bluetooth/
Dl2cap_sock.c410 && 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()
Dhci_sock.c1073 if (sock->type != SOCK_RAW) in hci_sock_create()
/linux-3.4.99/net/bluetooth/bnep/
Dsock.c205 if (sock->type != SOCK_RAW) in bnep_sock_create()
/linux-3.4.99/net/bluetooth/cmtp/
Dsock.c199 if (sock->type != SOCK_RAW) in cmtp_sock_create()
/linux-3.4.99/net/bluetooth/hidp/
Dsock.c252 if (sock->type != SOCK_RAW) in hidp_sock_create()
/linux-3.4.99/net/ipv4/
Daf_inet.c284 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,
Dip_sockglue.c253 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()
Dicmp.c1146 SOCK_RAW, IPPROTO_ICMP, net); in icmp_sk_init()
/linux-3.4.99/net/ieee802154/
Daf_ieee802154.c255 case SOCK_RAW: in ieee802154_create()
/linux-3.4.99/include/linux/
Dnet.h96 SOCK_RAW = 3, enumerator
/linux-3.4.99/Documentation/networking/
Dieee802154.txt29 One can use SOCK_RAW for passing raw data towards device xmit function. YMMV.
Dcan.txt20 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/
Dgetdelays.c94 fd = socket(AF_NETLINK, SOCK_RAW, protocol); in create_nl_socket()
/linux-3.4.99/net/can/
Draw.c773 .type = SOCK_RAW,
/linux-3.4.99/net/appletalk/
Dddp.c1032 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/
Daf_ax25.c256 s->sk->sk_type == SOCK_RAW && in ax25_send_to_raw()
856 case SOCK_RAW: in ax25_create()
/linux-3.4.99/drivers/vhost/
Dnet.c641 if (sock->sk->sk_type != SOCK_RAW) { in get_raw_socket()
/linux-3.4.99/drivers/isdn/mISDN/
Dsocket.c765 if (sock->type != SOCK_RAW) in base_sock_create()
/linux-3.4.99/net/bluetooth/rfcomm/
Dsock.c336 if (sock->type != SOCK_STREAM && sock->type != SOCK_RAW) in rfcomm_sock_create()
/linux-3.4.99/drivers/net/
Dmacvtap.c400 q->sock.type = SOCK_RAW; in macvtap_open()

12