Home
last modified time | relevance | path

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

/Linux-v6.6/tools/include/linux/
Dfilter.h19 #define BPF_REG_CTX BPF_REG_6 macro
/Linux-v6.6/net/core/
Dfilter.c351 *insn++ = BPF_LDX_MEM(BPF_H, BPF_REG_A, BPF_REG_CTX, in convert_bpf_extensions()
358 cnt = convert_skb_access(SKF_AD_PKTTYPE, BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
368 BPF_REG_TMP, BPF_REG_CTX, in convert_bpf_extensions()
382 cnt = convert_skb_access(SKF_AD_MARK, BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
389 *insn = BPF_LDX_MEM(BPF_W, BPF_REG_A, BPF_REG_CTX, in convert_bpf_extensions()
394 cnt = convert_skb_access(SKF_AD_QUEUE, BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
400 BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
406 BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
414 *insn++ = BPF_LDX_MEM(BPF_H, BPF_REG_A, BPF_REG_CTX, in convert_bpf_extensions()
426 *insn++ = BPF_MOV64_REG(BPF_REG_ARG1, BPF_REG_CTX); in convert_bpf_extensions()
[all …]
/Linux-v6.6/include/linux/
Dfilter.h51 #define BPF_REG_CTX BPF_REG_6 macro
/Linux-v6.6/kernel/bpf/
Dcore.c63 #define CTX regs[BPF_REG_CTX]