Home
last modified time | relevance | path

Searched refs:SOCK_PACKET (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dnet.h114 SOCK_PACKET = 10, enumerator
118 #define SOCK_MAX (SOCK_PACKET + 1)
/linux/net/packet/
H A Daf_packet.c1918 * The SOCK_PACKET socket receives _all_ frames. in packet_rcv_spkt()
1986 return -ENOTCONN; /* SOCK_PACKET must be sent giving an address */ in packet_sendmsg_spkt()
3401 * Create a packet of type SOCK_PACKET. in packet_create()
3415 sock->type != SOCK_PACKET) in packet_create()
3426 if (sock->type == SOCK_PACKET) in packet_create()
3453 if (sock->type == SOCK_PACKET) in packet_create()
3549 if (sock->type != SOCK_PACKET) { in packet_recvmsg()
3569 if (sock->type == SOCK_PACKET) { in packet_recvmsg()
/linux/net/
H A Dsocket.c1625 if (family == PF_INET && type == SOCK_PACKET) { in __sock_create()