Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/bpf/
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 …]
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_lwt_seg6local.c64 __attribute__((always_inline)) struct ip6_srh_t *get_srh(struct __sk_buff *skb) in get_srh()
99 int update_tlv_pad(struct __sk_buff *skb, uint32_t new_pad, in update_tlv_pad()
129 int is_valid_tlv_boundary(struct __sk_buff *skb, struct ip6_srh_t *srh, in is_valid_tlv_boundary()
188 int add_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh, uint32_t tlv_off, in add_tlv()
232 int delete_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh, in delete_tlv()
270 int has_egr_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh) in has_egr_tlv()
297 int __encap_srh(struct __sk_buff *skb) in __encap_srh()
333 int __add_egr_x(struct __sk_buff *skb) in __add_egr_x()
371 int __pop_egr(struct __sk_buff *skb) in __pop_egr()
410 int __inspect_t(struct __sk_buff *skb) in __inspect_t()
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.c67 static __always_inline void *bpf_flow_dissect_get_header(struct __sk_buff *skb, in bpf_flow_dissect_get_header()
91 static __always_inline int parse_eth_proto(struct __sk_buff *skb, __be16 proto) in parse_eth_proto()
120 int _dissect(struct __sk_buff *skb) in _dissect()
129 static __always_inline int parse_ip_proto(struct __sk_buff *skb, __u8 proto) in parse_ip_proto()
213 static __always_inline int parse_ipv6_proto(struct __sk_buff *skb, __u8 nexthdr) in parse_ipv6_proto()
Dtest_obj_id.c27 int test_obj_id(struct __sk_buff *skb) in test_obj_id()
Dtest_queue_stack_map.h30 int _test(struct __sk_buff *skb) in _test()
Dtest_pkt_access.c24 int process(struct __sk_buff *skb) in process()
Dnetcnt_prog.c26 int bpf_nextcnt(struct __sk_buff *skb) in bpf_nextcnt()
/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()
Dtest_brb2.c11 int pem(struct __sk_buff *skb) { in pem()
/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/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/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/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/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()
Dtunnel.c26 int handle_ingress(struct __sk_buff *skb) { in handle_ingress()
51 int handle_egress(struct __sk_buff *skb) { in handle_egress()
/external/bcc/examples/networking/vlan_learning/
Dvlan_learning.c20 int handle_phys2virt(struct __sk_buff *skb) { in handle_phys2virt()
48 int handle_virt2phys(struct __sk_buff *skb) { in handle_virt2phys()
/external/bcc/examples/networking/vlan_filter/
Ddata-plane-tracing.c21 int vlan_filter(struct __sk_buff *skb) { in vlan_filter()

12