Home
last modified time | relevance | path

Searched defs:skb (Results 1 – 25 of 68) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c72 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4()
217 static __always_inline int encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv6()
313 int __encap_ipip_none(struct __sk_buff *skb) in __encap_ipip_none()
322 int __encap_gre_none(struct __sk_buff *skb) in __encap_gre_none()
331 int __encap_gre_mpls(struct __sk_buff *skb) in __encap_gre_mpls()
340 int __encap_gre_eth(struct __sk_buff *skb) in __encap_gre_eth()
349 int __encap_udp_none(struct __sk_buff *skb) in __encap_udp_none()
358 int __encap_udp_mpls(struct __sk_buff *skb) in __encap_udp_mpls()
367 int __encap_udp_eth(struct __sk_buff *skb) in __encap_udp_eth()
376 int __encap_sit_none(struct __sk_buff *skb) in __encap_sit_none()
[all …]
Dtest_tunnel_kern.c47 int _gre_set_tunnel(struct __sk_buff *skb) in _gre_set_tunnel()
69 int _gre_get_tunnel(struct __sk_buff *skb) in _gre_get_tunnel()
86 int _ip6gretap_set_tunnel(struct __sk_buff *skb) in _ip6gretap_set_tunnel()
110 int _ip6gretap_get_tunnel(struct __sk_buff *skb) in _ip6gretap_get_tunnel()
130 int _erspan_set_tunnel(struct __sk_buff *skb) in _erspan_set_tunnel()
173 int _erspan_get_tunnel(struct __sk_buff *skb) in _erspan_get_tunnel()
214 int _ip4ip6erspan_set_tunnel(struct __sk_buff *skb) in _ip4ip6erspan_set_tunnel()
258 int _ip4ip6erspan_get_tunnel(struct __sk_buff *skb) in _ip4ip6erspan_get_tunnel()
300 int _vxlan_set_tunnel(struct __sk_buff *skb) in _vxlan_set_tunnel()
330 int _vxlan_get_tunnel(struct __sk_buff *skb) in _vxlan_get_tunnel()
[all …]
Dtailcall2.c14 int bpf_func_0(struct __sk_buff *skb) in bpf_func_0()
21 int bpf_func_1(struct __sk_buff *skb) in bpf_func_1()
28 int bpf_func_2(struct __sk_buff *skb) in bpf_func_2()
34 int bpf_func_3(struct __sk_buff *skb) in bpf_func_3()
41 int bpf_func_4(struct __sk_buff *skb) in bpf_func_4()
48 int entry(struct __sk_buff *skb) in entry()
Dtest_sk_lookup_kern.c57 int bpf_sk_lookup_test0(struct __sk_buff *skb) in bpf_sk_lookup_test0()
82 int bpf_sk_lookup_test1(struct __sk_buff *skb) in bpf_sk_lookup_test1()
94 int bpf_sk_lookup_uaf(struct __sk_buff *skb) in bpf_sk_lookup_uaf()
109 int bpf_sk_lookup_modptr(struct __sk_buff *skb) in bpf_sk_lookup_modptr()
124 int bpf_sk_lookup_modptr_or_null(struct __sk_buff *skb) in bpf_sk_lookup_modptr_or_null()
138 int bpf_sk_lookup_test2(struct __sk_buff *skb) in bpf_sk_lookup_test2()
147 int bpf_sk_lookup_test3(struct __sk_buff *skb) in bpf_sk_lookup_test3()
159 int bpf_sk_lookup_test4(struct __sk_buff *skb) in bpf_sk_lookup_test4()
169 void lookup_no_release(struct __sk_buff *skb) in lookup_no_release()
176 int bpf_sk_lookup_test5(struct __sk_buff *skb) in bpf_sk_lookup_test5()
Dtest_tc_edt.c27 static inline int throttle_flow(struct __sk_buff *skb) in throttle_flow()
65 static inline int handle_tcp(struct __sk_buff *skb, struct tcphdr *tcp) in handle_tcp()
79 static inline int handle_ipv4(struct __sk_buff *skb) in handle_ipv4()
102 SEC("cls_test") int tc_prog(struct __sk_buff *skb) in tc_prog()
Dtest_pkt_access.c39 int test_pkt_access_subprog1(volatile struct __sk_buff *skb) in test_pkt_access_subprog1()
45 int test_pkt_access_subprog2(int val, volatile struct __sk_buff *skb) in test_pkt_access_subprog2()
51 int test_pkt_access(struct __sk_buff *skb) in test_pkt_access()
Dtest_lwt_seg6local.c53 static __always_inline struct ip6_srh_t *get_srh(struct __sk_buff *skb) in get_srh()
88 int update_tlv_pad(struct __sk_buff *skb, uint32_t new_pad, in update_tlv_pad()
118 int is_valid_tlv_boundary(struct __sk_buff *skb, struct ip6_srh_t *srh, in is_valid_tlv_boundary()
177 int add_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh, uint32_t tlv_off, in add_tlv()
221 int delete_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh, in delete_tlv()
259 int has_egr_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh) in has_egr_tlv()
286 int __encap_srh(struct __sk_buff *skb) in __encap_srh()
322 int __add_egr_x(struct __sk_buff *skb) in __add_egr_x()
360 int __pop_egr(struct __sk_buff *skb) in __pop_egr()
399 int __inspect_t(struct __sk_buff *skb) in __inspect_t()
Dtailcall3.c16 int bpf_func_0(struct __sk_buff *skb) in bpf_func_0()
24 int entry(struct __sk_buff *skb) in entry()
Dtest_skb_cgroup_id_kern.c20 static __always_inline void log_nth_level(struct __sk_buff *skb, __u32 level) in log_nth_level()
32 int log_cgroup_id(struct __sk_buff *skb) in log_cgroup_id()
Dbpf_flow.c91 static __always_inline void *bpf_flow_dissect_get_header(struct __sk_buff *skb, in bpf_flow_dissect_get_header()
115 static __always_inline int parse_eth_proto(struct __sk_buff *skb, __be16 proto) in parse_eth_proto()
143 int _dissect(struct __sk_buff *skb) in _dissect()
151 static __always_inline int parse_ip_proto(struct __sk_buff *skb, __u8 proto) in parse_ip_proto()
242 static __always_inline int parse_ipv6_proto(struct __sk_buff *skb, __u8 nexthdr) in parse_ipv6_proto()
Dtest_seg6_loop.c53 static __always_inline struct ip6_srh_t *get_srh(struct __sk_buff *skb) in get_srh()
87 static __always_inline int update_tlv_pad(struct __sk_buff *skb, in update_tlv_pad()
117 static __always_inline int is_valid_tlv_boundary(struct __sk_buff *skb, in is_valid_tlv_boundary()
179 static __always_inline int add_tlv(struct __sk_buff *skb, in add_tlv()
226 int __add_egr_x(struct __sk_buff *skb) in __add_egr_x()
Dtest_lwt_ip_encap.c16 int bpf_lwt_encap_gre(struct __sk_buff *skb) in bpf_lwt_encap_gre()
52 int bpf_lwt_encap_gre6(struct __sk_buff *skb) in bpf_lwt_encap_gre6()
/external/iproute2/examples/bpf/
Dbpf_graft.c45 int cls_aaa(struct __sk_buff *skb) in cls_aaa()
52 int cls_bbb(struct __sk_buff *skb) in cls_bbb()
59 int cls_entry(struct __sk_buff *skb) in cls_entry()
Dbpf_cyclic.c19 int cls_loop(struct __sk_buff *skb) in cls_loop()
29 int cls_entry(struct __sk_buff *skb) in cls_entry()
Dbpf_shared.c30 int emain(struct __sk_buff *skb) in emain()
42 int imain(struct __sk_buff *skb) in imain()
Dbpf_map_in_map.c25 int emain(struct __sk_buff *skb) in emain()
41 int imain(struct __sk_buff *skb) in imain()
/external/bcc/tests/python/
Dtest_call1.c14 int parse_ether(struct __sk_buff *skb) { in parse_ether()
30 int parse_arp(struct __sk_buff *skb) { in parse_arp()
42 int parse_ip(struct __sk_buff *skb) { in parse_ip()
54 int eop(struct __sk_buff *skb) { in eop()
Dtest_brb.c57 int pem(struct __sk_buff *skb) { in pem()
108 static int br_common(struct __sk_buff *skb, int which_br) { in br_common()
220 int br1(struct __sk_buff *skb) { in br1()
224 int br2(struct __sk_buff *skb) { in br2()
/external/bcc/examples/networking/neighbor_sharing/
Dtc_neighbor_sharing.c13 int pass(struct __sk_buff *skb) { in pass()
21 int classify_wan(struct __sk_buff *skb) { in classify_wan()
46 int classify_neighbor(struct __sk_buff *skb) { in classify_neighbor()
/external/bcc/examples/networking/tunnel_monitor/
Dmonitor.c47 int handle_ingress(struct __sk_buff *skb) { in handle_ingress()
54 int handle_egress(struct __sk_buff *skb) { in handle_egress()
61 int handle_outer(struct __sk_buff *skb) { in handle_outer()
104 int handle_inner(struct __sk_buff *skb) { in handle_inner()
/external/libnl/include/linux-private/linux/netfilter/
Dnfnetlink_compat.h46 #define NFA_NEST(skb, type) \ argument
50 #define NFA_NEST_END(skb, start) \ argument
53 #define NFA_NEST_CANCEL(skb, start) \ argument
/external/libnfnetlink/include/libnfnetlink/
Dlinux_nfnetlink_compat.h44 #define NFA_NEST(skb, type) \ argument
48 #define NFA_NEST_END(skb, start) \ argument
51 #define NFA_NEST_CANCEL(skb, start) \ argument
/external/kernel-headers/original/uapi/linux/netfilter/
Dnfnetlink_compat.h47 #define NFA_NEST(skb, type) \ argument
51 #define NFA_NEST_END(skb, start) \ argument
54 #define NFA_NEST_CANCEL(skb, start) \ argument
/external/bcc/tools/
Dnetqtop.c38 static inline int name_filter(struct sk_buff* skb){ in name_filter()
79 struct sk_buff* skb = (struct sk_buff*)args->skbaddr; in TRACEPOINT_PROBE() local
98 struct sk_buff skb; in TRACEPOINT_PROBE() local
/external/bcc/examples/networking/distributed_bridge/
Dtunnel_mesh.c19 int handle_ingress(struct __sk_buff *skb) { in handle_ingress()
42 int handle_egress(struct __sk_buff *skb) { in handle_egress()

123