aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2022-03-09 01:04:50 -0800
committerDaniel Borkmann <[email protected]>2022-03-10 22:57:05 +0100
commit3b5d4ddf8fe1f60082513f94bae586ac80188a03 (patch)
treec32ac26da2a17674e74465c1164fdb667b7117a4 /lib/string_helpers.c
parent743bec1b78af174f588956ffbdb9bca4348e3eaf (diff)
bpf: net: Remove TC_AT_INGRESS_OFFSET and SKB_MONO_DELIVERY_TIME_OFFSET macro
This patch removes the TC_AT_INGRESS_OFFSET and SKB_MONO_DELIVERY_TIME_OFFSET macros. Instead, PKT_VLAN_PRESENT_OFFSET is used because all of them are at the same offset. Comment is added to make it clear that changing the position of tc_at_ingress or mono_delivery_time will require to adjust the defined macros. The earlier discussion can be found here: https://lore.kernel.org/bpf/[email protected]/ Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions