Home
last modified time | relevance | path

Searched refs:PF_PACKET (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/net/packet/
DKconfig23 Support for PF_PACKET sockets monitoring interface used by the ss tool.
Daf_packet.c2843 sk = sk_alloc(net, PF_PACKET, GFP_KERNEL, &packet_proto); in packet_create()
2854 sk->sk_family = PF_PACKET; in packet_create()
4027 .family = PF_PACKET,
4048 .family = PF_PACKET,
4069 .family = PF_PACKET,
4174 sock_unregister(PF_PACKET); in packet_exit()
4195 MODULE_ALIAS_NETPROTO(PF_PACKET);
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c113 int ret, sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in pfsocket()
360 .sll_family = PF_PACKET, in walk_v1_v2_tx()
367 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_v1_v2_tx()
688 ring->ll.sll_family = PF_PACKET; in bind_ring()
Dpsock_fanout.c74 fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); in sock_fanout_open()
/linux-4.1.27/samples/bpf/
Dlibbpf.c111 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
/linux-4.1.27/include/linux/
Dsocket.h225 #define PF_PACKET AF_PACKET macro
/linux-4.1.27/Documentation/networking/
Dpacket_mmap.txt90 int fd = socket(PF_PACKET, mode, htons(ETH_P_ALL));
134 int fd = socket(PF_PACKET, mode, 0);
856 ll.sll_family = PF_PACKET;
997 This has the side-effect, that packets sent through PF_PACKET will bypass the
1000 and such packets are also not visible to other PF_PACKET sockets anymore. So,
1005 on PF_PACKET sockets.
1033 software fallback was invoked *within* PF_PACKET's processing code (less
Dfilter.txt125 sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
136 The above example code attaches a socket filter for a PF_PACKET socket
144 Note that socket filters are not restricted to PF_PACKET sockets only,
Dcan.txt281 PF_PACKET socket, that also binds to a specific interface:
1209 Uwe Koppe (CAN netdevices with PF_PACKET approach)
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tcpip.c538 rc = sock_create_lite(PF_PACKET, sock->type, IPPROTO_TCP, &newsock); in libcfs_sock_accept()
/linux-4.1.27/net/core/
Drtnetlink.c2368 if (idx < s_idx || idx == PF_PACKET) in rtnl_dump_all()
/linux-4.1.27/net/
Dsocket.c1124 family = PF_PACKET; in __sock_create()
/linux-4.1.27/security/selinux/
Dhooks.c1213 case PF_PACKET: in socket_type_to_security_class()