summaryrefslogtreecommitdiff
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-03-20 18:41:13 -0700
committerMartin KaFai Lau <martin.lau@kernel.org>2023-03-20 21:57:49 -0700
commit04aae213e719ec2bb310158c4025316ace50589b (patch)
treeff18bb6ec951f2767b9d330be322405d01e0b9e0 /include/linux/skbuff.h
parent01dc26c980b0a92d9ba94c28652b2675968727b6 (diff)
net: skbuff: rename __pkt_vlan_present_offset to __mono_tc_offset
vlan_present is gone since commit 354259fa73e2 ("net: remove skb->vlan_present") rename the offset field to what BPF is currently looking for in this byte - mono_delivery_time and tc_at_ingress. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230321014115.997841-2-kuba@kernel.org Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 3f3a2a82a86b..5a63878a4550 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -955,7 +955,7 @@ struct sk_buff {
__u8 csum_valid:1;
/* private: */
- __u8 __pkt_vlan_present_offset[0];
+ __u8 __mono_tc_offset[0];
/* public: */
__u8 remcsum_offload:1;
__u8 csum_complete_sw:1;
@@ -1078,7 +1078,7 @@ struct sk_buff {
#define TC_AT_INGRESS_MASK (1 << 7)
#define SKB_MONO_DELIVERY_TIME_MASK (1 << 5)
#endif
-#define PKT_VLAN_PRESENT_OFFSET offsetof(struct sk_buff, __pkt_vlan_present_offset)
+#define SKB_BF_MONO_TC_OFFSET offsetof(struct sk_buff, __mono_tc_offset)
#ifdef __KERNEL__
/*