Home
last modified time | relevance | path

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

/samples/bpf/
Dtcbpf1_kern.c15 static inline void set_dst_mac(struct __sk_buff *skb, char *mac) in set_dst_mac()
23 static inline void set_ip_tos(struct __sk_buff *skb, __u8 new_tos) in set_ip_tos()
36 static inline void set_tcp_ip_src(struct __sk_buff *skb, __u32 new_ip) in set_tcp_ip_src()
46 static inline void set_tcp_dest_port(struct __sk_buff *skb, __u16 new_port) in set_tcp_dest_port()
55 int bpf_prog1(struct __sk_buff *skb) in bpf_prog1()
69 int _redirect_xmit(struct __sk_buff *skb) in _redirect_xmit()
74 int _redirect_recv(struct __sk_buff *skb) in _redirect_recv()
79 int _clone_redirect_xmit(struct __sk_buff *skb) in _clone_redirect_xmit()
85 int _clone_redirect_recv(struct __sk_buff *skb) in _clone_redirect_recv()
Dtest_lwt_bpf.c37 int do_nop(struct __sk_buff *skb) in do_nop()
44 int do_test_ctx(struct __sk_buff *skb) in do_test_ctx()
57 int do_test_cb(struct __sk_buff *skb) in do_test_cb()
68 int do_test_data(struct __sk_buff *skb) in do_test_data()
92 static inline int rewrite(struct __sk_buff *skb, uint32_t old_ip, in rewrite()
149 int do_test_rewrite(struct __sk_buff *skb) in do_test_rewrite()
168 static inline int __do_push_ll_and_redirect(struct __sk_buff *skb) in __do_push_ll_and_redirect()
193 int do_push_ll_and_redirect_silent(struct __sk_buff *skb) in do_push_ll_and_redirect_silent()
199 int do_push_ll_and_redirect(struct __sk_buff *skb) in do_push_ll_and_redirect()
210 static inline void __fill_garbage(struct __sk_buff *skb) in __fill_garbage()
[all …]
Dtcbpf2_kern.c47 int _gre_set_tunnel(struct __sk_buff *skb) in _gre_set_tunnel()
68 int _gre_get_tunnel(struct __sk_buff *skb) in _gre_get_tunnel()
85 int _erspan_set_tunnel(struct __sk_buff *skb) in _erspan_set_tunnel()
114 int _erspan_get_tunnel(struct __sk_buff *skb) in _erspan_get_tunnel()
142 int _vxlan_set_tunnel(struct __sk_buff *skb) in _vxlan_set_tunnel()
171 int _vxlan_get_tunnel(struct __sk_buff *skb) in _vxlan_get_tunnel()
197 int _geneve_set_tunnel(struct __sk_buff *skb) in _geneve_set_tunnel()
234 int _geneve_get_tunnel(struct __sk_buff *skb) in _geneve_get_tunnel()
259 int _ipip_set_tunnel(struct __sk_buff *skb) in _ipip_set_tunnel()
299 int _ipip_get_tunnel(struct __sk_buff *skb) in _ipip_get_tunnel()
[all …]
Dsockex1_kern.c15 int bpf_prog1(struct __sk_buff *skb) in bpf_prog1()
Dsockex2_kern.c61 static inline __u64 parse_ip(struct __sk_buff *skb, __u64 nhoff, __u64 *ip_proto, in parse_ip()
85 static inline __u64 parse_ipv6(struct __sk_buff *skb, __u64 nhoff, __u64 *ip_proto, in parse_ipv6()
99 static inline bool flow_dissector(struct __sk_buff *skb, in flow_dissector()
200 int bpf_prog2(struct __sk_buff *skb) in bpf_prog2()
Dtracex1_kern.c28 struct sk_buff *skb; in bpf_prog1() local
Dtc_l2_redirect_kern.c59 int _l2_to_iptun_ingress_forward(struct __sk_buff *skb) in _l2_to_iptun_ingress_forward()
110 int _l2_to_iptun_ingress_redirect(struct __sk_buff *skb) in _l2_to_iptun_ingress_redirect()
151 int _l2_to_ip6tun_ingress_redirect(struct __sk_buff *skb) in _l2_to_ip6tun_ingress_redirect()
206 int _drop_non_tun_vip(struct __sk_buff *skb) in _drop_non_tun_vip()
Dparse_ldabs.c27 int handle_ingress(struct __sk_buff *skb) in handle_ingress()
Dsockex3_kern.c39 static inline void parse_eth_proto(struct __sk_buff *skb, u32 proto) in parse_eth_proto()
122 static void update_stats(struct __sk_buff *skb, struct globals *g) in update_stats()
138 static __always_inline void parse_ip_proto(struct __sk_buff *skb, in parse_ip_proto()
280 int main_prog(struct __sk_buff *skb) in main_prog()
Dparse_simple.c27 int handle_ingress(struct __sk_buff *skb) in handle_ingress()
Dlwt_len_hist_kern.c67 int do_len_hist(struct __sk_buff *skb) in do_len_hist()
Dtest_cgrp2_tc_kern.c42 int handle_egress(struct __sk_buff *skb) in handle_egress()
Dparse_varlen.c113 int handle_ingress(struct __sk_buff *skb) in handle_ingress()
/samples/sockmap/
Dsockmap_kern.c47 int bpf_prog1(struct __sk_buff *skb) in bpf_prog1()
53 int bpf_prog2(struct __sk_buff *skb) in bpf_prog2()