/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | strobemeta.h | 460 size_t payload_off; member 468 /* lose precision info for ctx->payload_off, verifier won't track in read_var_callback() 471 ctx->payload_off ^= index; in read_var_callback() 472 barrier_var(ctx->payload_off); in read_var_callback() 473 ctx->payload_off ^= index; in read_var_callback() 483 if (ctx->payload_off > sizeof(ctx->data->payload) - READ_MAP_VAR_PAYLOAD_CAP) in read_var_callback() 485 ctx->payload_off = read_map_var(ctx->cfg, index, ctx->tls_base, in read_var_callback() 486 ctx->value, ctx->data, ctx->payload_off); in read_var_callback() 491 if (ctx->payload_off > sizeof(ctx->data->payload) - STROBE_MAX_STR_LEN) in read_var_callback() 493 ctx->payload_off in read_var_callback() 516 size_t payload_off; read_strobe_meta() local [all...] |
H A 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()
|
H A D | test_cls_redirect_dynptr.c | 273 const int payload_off = in accept_locally() local 276 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() 295 const int payload_off = in forward_with_gre() local 299 payload_off - sizeof(struct ethhdr) - sizeof(struct iphdr); in forward_with_gre() 320 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 334 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 345 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, in forward_with_gre() 362 skb, payload_off + offsetof(struct iphdr, check), ttl, in forward_with_gre() 371 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, 1, in forward_with_gre()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_cls_redirect.c | 379 const int payload_off = in accept_locally() local 382 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() 403 const int payload_off = in forward_with_gre() local 407 payload_off - sizeof(struct ethhdr) - sizeof(struct iphdr); in forward_with_gre() 423 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 437 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre() 448 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, in forward_with_gre() 465 skb, payload_off + offsetof(struct iphdr, check), ttl, in forward_with_gre() 474 skb, payload_off + offsetof(struct iphdr, ttl), &ttl, 1, in forward_with_gre()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1357 int payload_off, int tcp_ts, in bnxt_gro_func_5731x() 1423 int payload_off, int tcp_ts, in bnxt_gro_func_5750x() 1455 int payload_off, int tcp_ts, in bnxt_gro_func_5730x() 1468 nw_off = payload_off - BNXT_IPV4_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x() 1479 nw_off = payload_off - BNXT_IPV6_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x() 1505 int payload_off; in bnxt_gro_skb() local 1517 payload_off = TPA_END_PAYLOAD_OFF_P5(tpa_end1); in bnxt_gro_skb() 1519 payload_off = TPA_END_PAYLOAD_OFF(tpa_end); in bnxt_gro_skb() 1520 skb = bp->gro_func(tpa_info, payload_off, TPA_END_GRO_TS(tpa_end), skb); in bnxt_gro_skb() 1356 bnxt_gro_func_5731x(struct bnxt_tpa_info *tpa_info, int payload_off, int tcp_ts, struct sk_buff *skb) bnxt_gro_func_5731x() argument 1422 bnxt_gro_func_5750x(struct bnxt_tpa_info *tpa_info, int payload_off, int tcp_ts, struct sk_buff *skb) bnxt_gro_func_5750x() argument 1454 bnxt_gro_func_5730x(struct bnxt_tpa_info *tpa_info, int payload_off, int tcp_ts, struct sk_buff *skb) bnxt_gro_func_5730x() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1408 int payload_off, int tcp_ts, in bnxt_gro_func_5731x() 1474 int payload_off, int tcp_ts, in bnxt_gro_func_5750x() 1506 int payload_off, int tcp_ts, in bnxt_gro_func_5730x() 1519 nw_off = payload_off - BNXT_IPV4_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x() 1530 nw_off = payload_off - BNXT_IPV6_HDR_SIZE - tcp_opt_len - in bnxt_gro_func_5730x() 1556 int payload_off; in bnxt_gro_skb() local 1568 payload_off = TPA_END_PAYLOAD_OFF_P5(tpa_end1); in bnxt_gro_skb() 1570 payload_off = TPA_END_PAYLOAD_OFF(tpa_end); in bnxt_gro_skb() 1571 skb = bp->gro_func(tpa_info, payload_off, TPA_END_GRO_TS(tpa_end), skb); in bnxt_gro_skb() 1407 bnxt_gro_func_5731x(struct bnxt_tpa_info *tpa_info, int payload_off, int tcp_ts, struct sk_buff *skb) bnxt_gro_func_5731x() argument 1473 bnxt_gro_func_5750x(struct bnxt_tpa_info *tpa_info, int payload_off, int tcp_ts, struct sk_buff *skb) bnxt_gro_func_5750x() argument 1505 bnxt_gro_func_5730x(struct bnxt_tpa_info *tpa_info, int payload_off, int tcp_ts, struct sk_buff *skb) bnxt_gro_func_5730x() argument
|