Home
last modified time | relevance | path

Searched refs:AF_PACKET (Results 1 – 19 of 19) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dlsm_cgroup.c14 #ifndef AF_PACKET
15 #define AF_PACKET 17 macro
58 if (family == AF_PACKET && protocol != 0) in real_create()
111 if (sk->__sk_common.skc_family != AF_PACKET) in real_bind()
/tools/testing/selftests/bpf/prog_tests/
A Dlsm_cgroup.c197 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional()
200 fd = socket(AF_PACKET, SOCK_RAW, 0); in test_lsm_cgroup_functional()
206 .sll_family = AF_PACKET, in test_lsm_cgroup_functional()
A Dlwt_redirect.c99 s = socket(AF_PACKET, SOCK_RAW, 0); in new_packet_sock()
110 .sll_family = AF_PACKET, in new_packet_sock()
A Dxdp_context_test_run.c136 sock = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_test_packet()
A Dxdp_bonding.c220 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
/tools/perf/trace/beauty/include/linux/
A Dsocket.h209 #define AF_PACKET 17 /* Packet family */ macro
266 #define PF_PACKET AF_PACKET
/tools/testing/selftests/net/
A Dtxring_overwrite.c96 laddr.sll_family = AF_PACKET; in setup_tx()
A Dpsock_fanout.c68 fd = socket(AF_PACKET, SOCK_RAW, 0); in loopback_set_up_down()
106 addr.sll_family = AF_PACKET; in sock_fanout_open()
A Dpsock_snd.c174 laddr.sll_family = AF_PACKET; in do_bind()
A Dtoeplitz.c360 ll.sll_family = AF_PACKET; in create_ring()
A Dgro.c887 daddr.sll_family = AF_PACKET; in bind_packetsocket()
984 daddr.sll_family = AF_PACKET; in gro_sender()
A Dmsg_zerocopy.c518 laddr.sll_family = AF_PACKET; in do_tx()
A Dtxtimestamp.c611 laddr.sll_family = AF_PACKET; in do_test()
A Dioam6_parser.c1038 fd = socket(AF_PACKET, SOCK_DGRAM, __cpu_to_be16(ETH_P_IPV6)); in main()
/tools/testing/selftests/net/lib/
A Dcsum.c415 addr.sll_family = AF_PACKET; in send_packet()
531 laddr.sll_family = AF_PACKET; in recv_prepare_packet_bind()
/tools/virtio/
A Dvhost_net_test.c106 dev->sock = socket(AF_PACKET, SOCK_RAW, htons(TEST_PTYPE)); in vdev_create_socket()
/tools/bpf/bpftool/
A Dnet.c353 .ifm.ifi_family = AF_PACKET, in netlink_get_link()
/tools/testing/selftests/net/ovpn/
A Dovpn-cli.c1393 req.i.ifi_family = AF_PACKET; in ovpn_new_iface()
1411 req.i.ifi_family = AF_PACKET; in ovpn_del_iface()
/tools/lib/bpf/
A Dnetlink.c437 .ifinfo.ifi_family = AF_PACKET, in bpf_xdp_query()

Completed in 39 milliseconds