Home
last modified time | relevance | path

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

/linux-6.6.21/arch/mips/net/
Dbpf_jit_comp.c553 static void setup_jmp(struct jit_context *ctx, u8 bpf_op, in setup_jmp() argument
557 int op = bpf_op; in setup_jmp()
565 if (bpf_op == JIT_JNOP) in setup_jmp()
569 if (bpf_op == BPF_JA) in setup_jmp()
594 op = invert_jmp(bpf_op); in setup_jmp()
606 u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off) in setup_jmp_i() argument
611 switch (bpf_op) { in setup_jmp_i()
643 bpf_op = JIT_JNOP; in setup_jmp_i()
645 bpf_op = BPF_JA; in setup_jmp_i()
646 setup_jmp(ctx, bpf_op, bpf_off, jit_op, jit_off); in setup_jmp_i()
[all …]
Dbpf_jit_comp.h191 u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off);
195 u8 bpf_op, s16 bpf_off, u8 *jit_op, s32 *jit_off);
/linux-6.6.21/net/core/
Ddev.c9182 bpf_op_t bpf_op, struct netlink_ext_ack *extack, in dev_xdp_install() argument
9202 err = bpf_op(dev, &xdp); in dev_xdp_install()
9220 bpf_op_t bpf_op; in dev_xdp_uninstall() local
9229 bpf_op = dev_xdp_bpf_op(dev, mode); in dev_xdp_uninstall()
9230 if (!bpf_op) in dev_xdp_uninstall()
9233 WARN_ON(dev_xdp_install(dev, mode, bpf_op, NULL, 0, NULL)); in dev_xdp_uninstall()
9255 bpf_op_t bpf_op; in dev_xdp_attach() local
9348 bpf_op = dev_xdp_bpf_op(dev, mode); in dev_xdp_attach()
9349 if (!bpf_op) { in dev_xdp_attach()
9354 err = dev_xdp_install(dev, mode, bpf_op, extack, flags, new_prog); in dev_xdp_attach()
[all …]
/linux-6.6.21/net/ipv4/
Dtcp_input.c177 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established() argument
185 sock_ops.op = bpf_op; in bpf_skops_established()
199 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established() argument
6075 void tcp_init_transfer(struct sock *sk, int bpf_op, struct sk_buff *skb) in tcp_init_transfer() argument
6096 bpf_skops_established(sk, bpf_op, skb); in tcp_init_transfer()
/linux-6.6.21/include/net/
Dtcp.h402 void tcp_init_transfer(struct sock *sk, int bpf_op, struct sk_buff *skb);