Searched refs:AF_PACKET (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/include/linux/ |
D | socket.h | 179 #define AF_PACKET 17 /* Packet family */ macro 225 #define PF_PACKET AF_PACKET
|
/linux-4.1.27/net/packet/ |
D | diag.c | 144 rp->pdiag_family = AF_PACKET; in sk_diag_fill() 248 .family = AF_PACKET,
|
D | af_packet.c | 2045 sll->sll_family = AF_PACKET; in tpacket_rcv() 2809 if (sll->sll_family != AF_PACKET) in packet_bind() 3017 sll->sll_family = AF_PACKET; in packet_recvmsg() 3087 uaddr->sa_family = AF_PACKET; in packet_getname_spkt() 3110 sll->sll_family = AF_PACKET; in packet_getname()
|
/linux-4.1.27/samples/bpf/ |
D | libbpf.c | 118 sll.sll_family = AF_PACKET; in open_raw_sock()
|
/linux-4.1.27/Documentation/networking/ |
D | packet_mmap.txt | 170 my_addr.sll_family = AF_PACKET; 580 + AF_PACKET fanout mode 583 In the AF_PACKET fanout mode, packet reception can be load balanced among 627 int err, fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)); 646 ll.sll_family = AF_PACKET; 737 + AF_PACKET TPACKET_V3 example 740 AF_PACKET's TPACKET_V3 ring buffer can be configured to use non-static frame 814 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
/linux-4.1.27/net/mpls/ |
D | af_mpls.c | 590 AF_INET, AF_INET6, AF_DECnet, AF_PACKET, in nla_put_via() 761 case AF_PACKET: in rtm_to_route_config()
|
/linux-4.1.27/drivers/vhost/ |
D | net.c | 835 if (uaddr.sa.sll_family != AF_PACKET) { in get_raw_socket()
|