| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | strobemeta.h | 462 size_t payload_off; member 473 ctx->payload_off ^= index; in read_var_callback() 474 barrier_var(ctx->payload_off); in read_var_callback() 475 ctx->payload_off ^= index; in read_var_callback() 485 if (ctx->payload_off > sizeof(ctx->data->payload) - READ_MAP_VAR_PAYLOAD_CAP) in read_var_callback() 487 ctx->payload_off = read_map_var(ctx->cfg, index, ctx->tls_base, in read_var_callback() 488 ctx->value, ctx->data, ctx->payload_off); in read_var_callback() 493 if (ctx->payload_off > sizeof(ctx->data->payload) - STROBE_MAX_STR_LEN) in read_var_callback() 495 ctx->payload_off = read_str_var(ctx->cfg, index, ctx->tls_base, in read_var_callback() 496 ctx->value, ctx->data, ctx->payload_off); in read_var_callback() [all …]
|
| H A D | test_cls_redirect_dynptr.c | 275 const int payload_off = in accept_locally() local 278 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() 297 const int payload_off = in forward_with_gre() local 301 payload_off - sizeof(struct ethhdr) - sizeof(struct iphdr); in forward_with_gre() 322 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 336 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 347 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, in forward_with_gre() 364 skb, payload_off + offsetof(struct iphdr, check), ttl, in forward_with_gre() 373 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, 1, in forward_with_gre()
|
| H A D | test_cls_redirect.c | 381 const int payload_off = in accept_locally() local 384 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() 405 const int payload_off = in forward_with_gre() local 409 payload_off - sizeof(struct ethhdr) - sizeof(struct iphdr); in forward_with_gre() 426 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 440 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 451 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, in forward_with_gre() 468 skb, payload_off + offsetof(struct iphdr, check), ttl, in forward_with_gre() 477 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, 1, in forward_with_gre()
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_txrx.c | 524 int payload_off, int tcp_ts, in bnge_gro_func() argument 557 int payload_off; in bnge_gro_skb() local 568 payload_off = TPA_END_PAYLOAD_OFF(tpa_end1); in bnge_gro_skb() 569 skb = bnge_gro_func(tpa_info, payload_off, in bnge_gro_skb()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 1659 int payload_off, int tcp_ts, in bnxt_gro_func_5731x() argument 1725 int payload_off, int tcp_ts, in bnxt_gro_func_5750x() argument 1757 int payload_off, int tcp_ts, in bnxt_gro_func_5730x() argument 1770 nw_off = payload_off - BNXT_IPV4_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x() 1781 nw_off = payload_off - BNXT_IPV6_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x() 1808 int payload_off; in bnxt_gro_skb() local 1823 payload_off = TPA_END_PAYLOAD_OFF_P5(tpa_end1); in bnxt_gro_skb() 1825 payload_off = TPA_END_PAYLOAD_OFF(tpa_end); in bnxt_gro_skb() 1826 skb = bp->gro_func(tpa_info, payload_off, TPA_END_GRO_TS(tpa_end), skb); in bnxt_gro_skb()
|