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.c1917 * 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()
3362 * Create a packet of type SOCK_PACKET.
3376 sock->type != SOCK_PACKET) in packet_create()
3387 if (sock->type == SOCK_PACKET) in packet_create()
3414 if (sock->type == SOCK_PACKET) in packet_create()
3510 if (sock->type != SOCK_PACKET) { in packet_recvmsg()
3530 if (sock->type == SOCK_PACKET) { in packet_recvmsg()
/linux/net/
H A Dsocket.c1625 if (family == PF_INET && type == SOCK_PACKET) { in __sock_create()