Searched refs:pkt_bytes (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_xdp_noinline.c | 280 struct real_definition *dst, __u32 pkt_bytes) in encap_v6() argument 309 bpf_htons(pkt_bytes + sizeof(struct ipv6hdr)); in encap_v6() 323 struct real_definition *dst, __u32 pkt_bytes) in encap_v4() argument 356 iph->tot_len = bpf_htons(pkt_bytes + sizeof(struct iphdr)); in encap_v4() 630 __u16 *pkt_bytes, void *data, in process_l3_headers_v6() argument 643 *pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_l3_headers_v6() 661 __u16 *pkt_bytes, void *data, in process_l3_headers_v4() argument 675 *pkt_bytes = bpf_ntohs(iph->tot_len); in process_l3_headers_v4() 706 __u16 pkt_bytes; in process_packet() local 714 &pkt_bytes, data, data_end); in process_packet() [all …]
|
D | test_l4lb_noinline.c | 338 __u16 pkt_bytes; in process_packet() local 354 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet() 376 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet() 444 data_stats->bytes += pkt_bytes; in process_packet()
|
D | test_l4lb.c | 339 __u16 pkt_bytes; in process_packet() local 355 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet() 377 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet() 445 data_stats->bytes += pkt_bytes; in process_packet()
|
/linux-6.1.9/drivers/net/ethernet/google/gve/ |
D | gve_rx_dqo.c | 678 u32 pkt_bytes; in gve_rx_poll_dqo() local 727 pkt_bytes = rx->ctx.skb_head->len; in gve_rx_poll_dqo() 732 pkt_bytes += ETH_HLEN; in gve_rx_poll_dqo() 743 bytes += pkt_bytes; in gve_rx_poll_dqo()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | ipoib_tx.c | 235 u16 pkt_bytes = in hfi1_ipoib_build_tx_desc() local 239 ret = sdma_txinit(txreq, 0, pkt_bytes, hfi1_ipoib_sdma_complete); in hfi1_ipoib_build_tx_desc()
|