Searched defs:skb (Results  1 – 15 of 15) sorted by relevance
| /samples/bpf/ | 
| D | tcbpf1_kern.c | 16 static inline void set_dst_mac(struct __sk_buff *skb, char *mac)  in set_dst_mac() 24 static inline void set_ip_tos(struct __sk_buff *skb, __u8 new_tos)  in set_ip_tos() 37 static inline void set_tcp_ip_src(struct __sk_buff *skb, __u32 new_ip)  in set_tcp_ip_src() 47 static inline void set_tcp_dest_port(struct __sk_buff *skb, __u16 new_port)  in set_tcp_dest_port() 56 int bpf_prog1(struct __sk_buff *skb)  in bpf_prog1() 70 int _redirect_xmit(struct __sk_buff *skb)  in _redirect_xmit() 75 int _redirect_recv(struct __sk_buff *skb)  in _redirect_recv() 80 int _clone_redirect_xmit(struct __sk_buff *skb)  in _clone_redirect_xmit() 86 int _clone_redirect_recv(struct __sk_buff *skb)  in _clone_redirect_recv()
  | 
| D | test_lwt_bpf.c | 29 int do_nop(struct __sk_buff *skb)  in do_nop() 36 int do_test_ctx(struct __sk_buff *skb)  in do_test_ctx() 49 int do_test_cb(struct __sk_buff *skb)  in do_test_cb() 60 int do_test_data(struct __sk_buff *skb)  in do_test_data() 84 static inline int rewrite(struct __sk_buff *skb, uint32_t old_ip,  in rewrite() 141 int do_test_rewrite(struct __sk_buff *skb)  in do_test_rewrite() 160 static inline int __do_push_ll_and_redirect(struct __sk_buff *skb)  in __do_push_ll_and_redirect() 185 int do_push_ll_and_redirect_silent(struct __sk_buff *skb)  in do_push_ll_and_redirect_silent() 191 int do_push_ll_and_redirect(struct __sk_buff *skb)  in do_push_ll_and_redirect() 202 static inline void __fill_garbage(struct __sk_buff *skb)  in __fill_garbage() [all …] 
 | 
| D | sockex3_kern.c | 90 static void update_stats(struct __sk_buff *skb, struct globals *g)  in update_stats() 106 static __always_inline void parse_ip_proto(struct __sk_buff *skb,  in parse_ip_proto() 158 int bpf_func_ip(struct __sk_buff *skb)  in bpf_func_ip() 187 int bpf_func_ipv6(struct __sk_buff *skb)  in bpf_func_ipv6() 211 int bpf_func_vlan(struct __sk_buff *skb)  in bpf_func_vlan() 228 int bpf_func_mpls(struct __sk_buff *skb)  in bpf_func_mpls() 273 static inline void parse_eth_proto(struct __sk_buff *skb, u32 proto)  in parse_eth_proto() 294 int main_prog(struct __sk_buff *skb)  in main_prog()
  | 
| D | sockex1_kern.c | 16 int bpf_prog1(struct __sk_buff *skb)  in bpf_prog1()
  | 
| D | tracex1.bpf.c | 28 	struct sk_buff *skb;  in bpf_prog1()  local
  | 
| D | sockex2_kern.c | 62 static inline __u64 parse_ip(struct __sk_buff *skb, __u64 nhoff, __u64 *ip_proto,  in parse_ip() 86 static inline __u64 parse_ipv6(struct __sk_buff *skb, __u64 nhoff, __u64 *ip_proto,  in parse_ipv6() 100 static inline bool flow_dissector(struct __sk_buff *skb,  in flow_dissector() 201 int bpf_prog2(struct __sk_buff *skb)  in bpf_prog2()
  | 
| D | tc_l2_redirect_kern.c | 59 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()
  | 
| D | parse_ldabs.c | 28 int handle_ingress(struct __sk_buff *skb)  in handle_ingress()
  | 
| D | lwt_len_hist.bpf.c | 47 int do_len_hist(struct __sk_buff *skb)  in do_len_hist()
  | 
| D | parse_simple.c | 27 int handle_ingress(struct __sk_buff *skb)  in handle_ingress()
  | 
| D | hbm_edt_kern.c | 56 int _hbm_out_cg(struct __sk_buff *skb)  in _hbm_out_cg()
  | 
| D | hbm_out_kern.c | 58 int _hbm_out_cg(struct __sk_buff *skb)  in _hbm_out_cg()
  | 
| D | test_cgrp2_tc.bpf.c | 28 int handle_egress(struct __sk_buff *skb)  in handle_egress()
  | 
| D | hbm_kern.h | 82 static int get_tcp_info(struct __sk_buff *skb, struct hbm_pkt_info *pkti)  in get_tcp_info() 108 static void hbm_get_pkt_info(struct __sk_buff *skb,  in hbm_get_pkt_info()
  | 
| D | parse_varlen.c | 113 int handle_ingress(struct __sk_buff *skb)  in handle_ingress()
  |