Searched refs:payload_off (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/tools/testing/selftests/bpf/progs/ |
D | test_cls_redirect.c | 380 const int payload_off = in accept_locally() local 383 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() 404 const int payload_off = in forward_with_gre() local 408 payload_off - sizeof(struct ethhdr) - sizeof(struct iphdr); in forward_with_gre() 425 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 439 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 450 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, in forward_with_gre() 467 skb, payload_off + offsetof(struct iphdr, check), ttl, in forward_with_gre() 476 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, 1, in forward_with_gre()
|
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 1442 int payload_off, int tcp_ts, in bnxt_gro_func_5731x() argument 1508 int payload_off, int tcp_ts, in bnxt_gro_func_5750x() argument 1540 int payload_off, int tcp_ts, in bnxt_gro_func_5730x() argument 1553 nw_off = payload_off - BNXT_IPV4_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x() 1564 nw_off = payload_off - BNXT_IPV6_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x() 1590 int payload_off; in bnxt_gro_skb() local 1602 payload_off = TPA_END_PAYLOAD_OFF_P5(tpa_end1); in bnxt_gro_skb() 1604 payload_off = TPA_END_PAYLOAD_OFF(tpa_end); in bnxt_gro_skb() 1605 skb = bp->gro_func(tpa_info, payload_off, TPA_END_GRO_TS(tpa_end), skb); in bnxt_gro_skb()
|