Home
last modified time | relevance | path

Searched refs:pkt_bytes (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_noinline.c280 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 …]
H A Dtest_l4lb_noinline.c338 __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()
H A Dtest_l4lb.c341 __u16 pkt_bytes; in process_packet() local
357 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()
379 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
447 data_stats->bytes += pkt_bytes; in process_packet()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c264 u16 pkt_bytes = in hfi1_ipoib_build_tx_desc() local
268 ret = sdma_txinit(txreq, 0, pkt_bytes, hfi1_ipoib_sdma_complete); in hfi1_ipoib_build_tx_desc()