Home
last modified time | relevance | path

Searched refs:sk_buff (Results 1 – 25 of 26) sorted by relevance

12

/tools/testing/selftests/bpf/progs/
A Dnested_acquire.c13 int BPF_PROG(test_nested_acquire_nonzero, struct sock *sk, struct sk_buff *skb) in BPF_PROG()
15 struct sk_buff *ptr; in BPF_PROG()
25 int BPF_PROG(test_nested_acquire_zero, struct sock *sk, struct sk_buff *skb) in BPF_PROG()
27 struct sk_buff *ptr; in BPF_PROG()
A Ddecap_sanity.c16 static unsigned int skb_headlen(const struct sk_buff *skb) in skb_headlen()
21 static unsigned int skb_headroom(const struct sk_buff *skb) in skb_headroom()
26 static int skb_checksum_start_offset(const struct sk_buff *skb) in skb_checksum_start_offset()
34 struct sk_buff *kskb; in decap_sanity()
A Dfexit_bpf2bpf.c12 struct sk_buff { struct
18 int BPF_PROG(test_main, struct sk_buff *skb, int ret) in BPF_PROG() argument
33 int BPF_PROG(test_subprog1, struct sk_buff *skb, int ret) in BPF_PROG()
68 struct sk_buff *skb = (void *)ctx->args[0]; in test_subprog2()
90 int BPF_PROG(test_subprog3, int val, struct sk_buff *skb, int ret) in BPF_PROG()
A Dbpf_qdisc_fifo.c10 struct sk_buff __kptr * skb;
20 int BPF_PROG(bpf_fifo_enqueue, struct sk_buff *skb, struct Qdisc *sch, in BPF_PROG()
52 struct sk_buff *BPF_PROG(bpf_fifo_dequeue, struct Qdisc *sch) in BPF_PROG()
55 struct sk_buff *skb = NULL; in BPF_PROG()
94 struct sk_buff *skb = NULL; in BPF_PROG()
A Dfexit_bpf2bpf_simple.c7 struct sk_buff { struct
14 int BPF_PROG(test_main2, struct sk_buff *skb, int ret) in BPF_PROG() argument
A Dtest_trace_ext_tracing.c10 int BPF_PROG(fentry, struct sk_buff *skb) in BPF_PROG()
19 int BPF_PROG(fexit, struct sk_buff *skb) in BPF_PROG()
A Dbpf_qdisc_common.h17 static struct qdisc_skb_cb *qdisc_skb_cb(const struct sk_buff *skb) in qdisc_skb_cb()
22 static inline unsigned int qdisc_pkt_len(const struct sk_buff *skb) in qdisc_pkt_len()
A Dbpf_qdisc_fail__incompl_ops.c10 int BPF_PROG(bpf_qdisc_test_enqueue, struct sk_buff *skb, struct Qdisc *sch, in BPF_PROG()
18 struct sk_buff *BPF_PROG(bpf_qdisc_test_dequeue, struct Qdisc *sch) in BPF_PROG()
A Dkfree_skb.c39 struct sk_buff { struct
61 int BPF_PROG(trace_kfree_skb, struct sk_buff *skb, void *location) in BPF_PROG()
118 int BPF_PROG(fentry_eth_type_trans, struct sk_buff *skb, struct net_device *dev, in BPF_PROG()
136 int BPF_PROG(fexit_eth_type_trans, struct sk_buff *skb, struct net_device *dev, in BPF_PROG()
A Dtype_cast.c40 struct sk_buff *kskb = bpf_cast_to_kern_ctx(skb); in md_skb()
42 struct sk_buff *kskb2; in md_skb()
A Dtailcall_bpf2bpf_fentry.c11 int BPF_PROG(fentry, struct sk_buff *skb) in BPF_PROG()
A Dtailcall_bpf2bpf_fexit.c11 int BPF_PROG(fexit, struct sk_buff *skb) in BPF_PROG()
A Dtest_tc_link.c109 struct sk_buff { struct
121 struct net_device *dev = BPF_CORE_READ((struct sk_buff *)skb, dev); in tc8() argument
A Draw_tp_null.c14 int BPF_PROG(test_raw_tp_null, struct sk_buff *skb) in BPF_PROG()
A Dbpf_qdisc_fq.c72 struct sk_buff __kptr * skb;
269 fq_classify(struct sk_buff *skb, struct fq_stashed_flow **sflow) in fq_classify()
302 static bool fq_packet_beyond_horizon(struct sk_buff *skb) in fq_packet_beyond_horizon()
308 int BPF_PROG(bpf_fq_enqueue, struct sk_buff *skb, struct Qdisc *sch, in BPF_PROG()
458 static struct sk_buff*
463 struct sk_buff *skb = NULL; in fq_dequeue_nonprio_flows()
547 static struct sk_buff *fq_dequeue_prio(void) in fq_dequeue_prio()
552 struct sk_buff *skb = NULL; in fq_dequeue_prio()
589 struct sk_buff *BPF_PROG(bpf_fq_dequeue, struct Qdisc *sch) in BPF_PROG()
592 struct sk_buff *skb = NULL; in BPF_PROG()
A Dtailcall_bpf2bpf_hierarchy_fentry.c25 int BPF_PROG(fentry, struct sk_buff *skb) in BPF_PROG()
A Dcore_kern.c51 int BPF_PROG(fentry_eth_type_trans, struct sk_buff *skb, in BPF_PROG()
58 int BPF_PROG(fexit_eth_type_trans, struct sk_buff *skb, in BPF_PROG()
A Dnested_trust_failure.c37 int BPF_PROG(test_invalid_skb_field, struct sock *sk, struct sk_buff *skb) in BPF_PROG()
A Dnested_trust_success.c30 int BPF_PROG(test_skb_field, struct sock *sk, struct sk_buff *skb) in BPF_PROG()
A Dtest_sk_storage_tracing.c105 int BPF_PROG(tcp_bad_csum, struct sk_buff* skb) in BPF_PROG()
A Dnetif_receive_skb.c92 int BPF_PROG(trace_netif_receive_skb, struct sk_buff *skb) in BPF_PROG()
108 p.type_id = bpf_core_type_id_kernel(struct sk_buff); in BPF_PROG()
A Dnet_timestamping.c125 struct sk_buff *skb; in bpf_test_delay()
/tools/testing/selftests/bpf/test_kmods/
A Dbpf_testmod-events.h43 struct sk_buff;
46 TP_PROTO(struct sk_buff *skb),
A Dbpf_testmod_kfunc.h147 struct sk_buff *bpf_kfunc_nested_acquire_nonzero_offset_test(struct sk_buff_head *ptr) __ksym;
148 struct sk_buff *bpf_kfunc_nested_acquire_zero_offset_test(struct sock_common *ptr) __ksym;
149 void bpf_kfunc_nested_release_test(struct sk_buff *ptr) __ksym;
/tools/perf/trace/beauty/include/linux/
A Dsocket.h18 struct sk_buff;
79 int (*sg_from_iter)(struct sk_buff *skb,

Completed in 32 milliseconds

12