Home
last modified time | relevance | path

Searched refs:ctx_off (Results 1 – 1 of 1) sorted by relevance

/net/core/
Dfilter.c2834 int src_reg, int ctx_off, in sk_filter_convert_ctx_access() argument
2840 switch (ctx_off) { in sk_filter_convert_ctx_access()
2928 ctx_off -= offsetof(struct __sk_buff, cb[0]); in sk_filter_convert_ctx_access()
2929 ctx_off += offsetof(struct sk_buff, cb); in sk_filter_convert_ctx_access()
2930 ctx_off += offsetof(struct qdisc_skb_cb, data); in sk_filter_convert_ctx_access()
2932 *insn++ = BPF_STX_MEM(BPF_W, dst_reg, src_reg, ctx_off); in sk_filter_convert_ctx_access()
2934 *insn++ = BPF_LDX_MEM(BPF_W, dst_reg, src_reg, ctx_off); in sk_filter_convert_ctx_access()
2938 ctx_off -= offsetof(struct __sk_buff, tc_classid); in sk_filter_convert_ctx_access()
2939 ctx_off += offsetof(struct sk_buff, cb); in sk_filter_convert_ctx_access()
2940 ctx_off += offsetof(struct qdisc_skb_cb, tc_classid); in sk_filter_convert_ctx_access()
[all …]