Home
last modified time | relevance | path

Searched refs:pkt_data (Results 1 – 2 of 2) sorted by relevance

/samples/bpf/
Dxdp_sample_pkts_user.c79 __u8 pkt_data[SAMPLE_SIZE]; in print_bpf_output() member
90 printf("%02x ", e->pkt_data[i]); in print_bpf_output()
Dxdpsock_user.c748 static u8 pkt_data[XSK_UMEM__DEFAULT_FRAME_SIZE]; variable
752 struct udphdr *udp_hdr = (struct udphdr *)(pkt_data + in gen_eth_hdr_data()
755 struct iphdr *ip_hdr = (struct iphdr *)(pkt_data + in gen_eth_hdr_data()
757 struct ethhdr *eth_hdr = (struct ethhdr *)pkt_data; in gen_eth_hdr_data()
786 memset32_htonl(pkt_data + PKT_HDR_SIZE, opt_pkt_fill_pattern, in gen_eth_hdr_data()
797 memcpy(xsk_umem__get_data(umem->buffer, addr), pkt_data, in gen_eth_frame()