Home
last modified time | relevance | path

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

12345678910>>...103

/linux/net/llc/
H A Dllc_c_ev.c78 struct sk_buff *skb; in llc_util_nr_inside_tx_window() local
99 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_conn_req()
107 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_data_req()
115 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_disc_req()
123 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rst_req()
131 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_local_busy_detected()
139 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_local_busy_cleared()
147 int llc_conn_ev_rx_bad_pdu(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_bad_pdu()
152 int llc_conn_ev_rx_disc_cmd_pbit_set_x(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_disc_cmd_pbit_set_x()
160 int llc_conn_ev_rx_dm_rsp_fbit_set_x(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_dm_rsp_fbit_set_x()
[all …]
H A Dllc_c_ac.c45 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_clear_remote_busy()
61 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_ind()
69 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_confirm()
77 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_confirm()
85 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_ind()
91 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_disc_ind()
119 int llc_conn_ac_disc_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_disc_confirm()
128 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_ind()
167 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_confirm()
177 struct sk_buff *skb) in llc_conn_ac_clear_remote_busy_if_f_eq_1()
[all …]
H A Dllc_pdu.c21 void llc_pdu_set_cmd_rsp(struct sk_buff *skb, u8 pdu_type) in llc_pdu_set_cmd_rsp()
35 void llc_pdu_set_pf_bit(struct sk_buff *skb, u8 bit_value) in llc_pdu_set_pf_bit()
63 void llc_pdu_decode_pf_bit(struct sk_buff *skb, u8 *pf_bit) in llc_pdu_decode_pf_bit()
89 void llc_pdu_init_as_disc_cmd(struct sk_buff *skb, u8 p_bit) in llc_pdu_init_as_disc_cmd()
107 void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr) in llc_pdu_init_as_i_cmd()
126 void llc_pdu_init_as_rej_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rej_cmd()
146 void llc_pdu_init_as_rnr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rnr_cmd()
166 void llc_pdu_init_as_rr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rr_cmd()
184 void llc_pdu_init_as_sabme_cmd(struct sk_buff *skb, u8 p_bit) in llc_pdu_init_as_sabme_cmd()
200 void llc_pdu_init_as_dm_rsp(struct sk_buff *skb, u8 f_bit) in llc_pdu_init_as_dm_rsp()
[all …]
/linux/include/linux/
H A Dskbuff.h1133 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc()
1151 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
1170 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
1186 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
1197 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
1215 static inline unsigned int skb_napi_id(const struct sk_buff *skb) in skb_napi_id()
1224 static inline bool skb_wifi_acked_valid(const struct sk_buff *skb) in skb_wifi_acked_valid()
1239 static inline bool skb_unref(struct sk_buff *skb) in skb_unref()
1251 static inline bool skb_data_unref(const struct sk_buff *skb, in skb_data_unref()
1273 kfree_skb_reason(struct sk_buff *skb, enum skb_drop_reason reason) in kfree_skb_reason()
[all …]
H A Dnetfilter_bridge.h19 static inline void br_drop_fake_rtable(struct sk_buff *skb) in br_drop_fake_rtable()
28 nf_bridge_info_get(const struct sk_buff *skb) in nf_bridge_info_get()
33 static inline bool nf_bridge_info_exists(const struct sk_buff *skb) in nf_bridge_info_exists()
38 static inline int nf_bridge_get_physinif(const struct sk_buff *skb) in nf_bridge_get_physinif()
48 static inline int nf_bridge_get_physoutif(const struct sk_buff *skb) in nf_bridge_get_physoutif()
59 nf_bridge_get_physindev(const struct sk_buff *skb, struct net *net) in nf_bridge_get_physindev()
67 nf_bridge_get_physoutdev(const struct sk_buff *skb) in nf_bridge_get_physoutdev()
74 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
81 #define br_drop_fake_rtable(skb) do { } while (0) argument
82 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
/linux/net/xfrm/
H A Dxfrm_output.c31 static int xfrm_skb_check_space(struct sk_buff *skb) in xfrm_skb_check_space()
52 static struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop()
65 static int xfrm4_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_transport_output()
82 static int mip6_rthdr_offset(struct sk_buff *skb, u8 **nexthdr, int type) in mip6_rthdr_offset()
142 static int xfrm6_hdr_offset(struct xfrm_state *x, struct sk_buff *skb, u8 **prevhdr) in xfrm6_hdr_offset()
163 static int xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_output()
194 static int xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_ro_output()
224 static int xfrm4_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_beet_encap_add()
273 static int xfrm4_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_tunnel_encap_add()
319 static int xfrm6_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_tunnel_encap_add()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c94 static __always_inline int __encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv4()
256 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4()
262 static __always_inline int __encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv6()
373 static int encap_ipv6_ipip6(struct __sk_buff *skb) in encap_ipv6_ipip6()
428 static __always_inline int encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv6()
435 int __encap_ipip_none(struct __sk_buff *skb) in __encap_ipip_none()
444 int __encap_gre_none(struct __sk_buff *skb) in __encap_gre_none()
453 int __encap_gre_mpls(struct __sk_buff *skb) in __encap_gre_mpls()
462 int __encap_gre_eth(struct __sk_buff *skb) in __encap_gre_eth()
471 int __encap_udp_none(struct __sk_buff *skb) in __encap_udp_none()
[all …]
H A Dtest_tunnel_kern.c58 int gre_set_tunnel(struct __sk_buff *skb) in gre_set_tunnel()
80 int gre_set_tunnel_no_key(struct __sk_buff *skb) in gre_set_tunnel_no_key()
101 int gre_get_tunnel(struct __sk_buff *skb) in gre_get_tunnel()
117 int ip6gretap_set_tunnel(struct __sk_buff *skb) in ip6gretap_set_tunnel()
141 int ip6gretap_get_tunnel(struct __sk_buff *skb) in ip6gretap_get_tunnel()
160 int erspan_set_tunnel(struct __sk_buff *skb) in erspan_set_tunnel()
203 int erspan_get_tunnel(struct __sk_buff *skb) in erspan_get_tunnel()
239 int ip4ip6erspan_set_tunnel(struct __sk_buff *skb) in ip4ip6erspan_set_tunnel()
283 int ip4ip6erspan_get_tunnel(struct __sk_buff *skb) in ip4ip6erspan_get_tunnel()
320 int vxlan_set_tunnel_dst(struct __sk_buff *skb) in vxlan_set_tunnel_dst()
[all …]
H A Dtest_global_func3.c9 int f1(struct __sk_buff *skb) in f1()
15 int f2(int val, struct __sk_buff *skb) in f2()
21 int f3(int val, struct __sk_buff *skb, int var) in f3()
27 int f4(struct __sk_buff *skb) in f4()
33 int f5(struct __sk_buff *skb) in f5()
39 int f6(struct __sk_buff *skb) in f6()
45 int f7(struct __sk_buff *skb) in f7()
51 int f8(struct __sk_buff *skb) in f8()
58 int global_func3(struct __sk_buff *skb) in global_func3()
H A Dtest_global_func4.c9 int f1(struct __sk_buff *skb) in f1()
15 int f2(int val, struct __sk_buff *skb) in f2()
21 int f3(int val, struct __sk_buff *skb, int var) in f3()
27 int f4(struct __sk_buff *skb) in f4()
33 int f5(struct __sk_buff *skb) in f5()
39 int f6(struct __sk_buff *skb) in f6()
45 int f7(struct __sk_buff *skb) in f7()
52 int global_func4(struct __sk_buff *skb) in global_func4()
/linux/include/net/
H A Dgro.h103 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb) argument
106 static inline int gro_recursion_inc_test(struct sk_buff *skb) in gro_recursion_inc_test()
114 struct sk_buff *skb) in call_gro_receive()
129 struct sk_buff *skb) in call_gro_receive_sk()
139 static inline unsigned int skb_gro_offset(const struct sk_buff *skb) in skb_gro_offset()
144 static inline unsigned int skb_gro_len(const struct sk_buff *skb) in skb_gro_len()
149 static inline void skb_gro_pull(struct sk_buff *skb, unsigned int len) in skb_gro_pull()
154 static inline void *skb_gro_header_fast(const struct sk_buff *skb, in skb_gro_header_fast()
160 static inline bool skb_gro_may_pull(const struct sk_buff *skb, in skb_gro_may_pull()
166 static inline void *skb_gro_header_slow(struct sk_buff *skb, unsigned int hlen, in skb_gro_header_slow()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h238 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx()
270 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan()
280 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_compl()
290 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_bundle_compl()
300 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx()
310 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info()
320 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start()
330 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick()
340 ath10k_wmi_pull_swba(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_swba()
350 ath10k_wmi_pull_phyerr_hdr(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_phyerr_hdr()
[all …]
H A Dwmi.c1809 struct sk_buff *skb; in ath10k_wmi_alloc_skb() local
1826 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_htc_tx_complete()
1831 int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_cmd_send_nowait()
1932 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id) in ath10k_wmi_cmd_send()
1980 struct sk_buff *skb; in ath10k_wmi_op_gen_mgmt_tx() local
2196 static int ath10k_wmi_op_pull_scan_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_op_pull_scan_ev()
2215 int ath10k_wmi_event_scan(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_event_scan()
2280 struct sk_buff *skb, in ath10k_wmi_handle_wep_reauth()
2310 static int ath10k_wmi_op_pull_mgmt_rx_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_op_pull_mgmt_rx_ev()
2362 struct sk_buff *skb, in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
[all …]
/linux/net/bluetooth/
H A Dhci_event.c47 static void *hci_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_ev_skb_pull()
59 static void *hci_cc_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_cc_skb_pull()
71 static void *hci_le_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_le_ev_skb_pull()
84 struct sk_buff *skb) in hci_cc_inquiry_cancel()
122 struct sk_buff *skb) in hci_cc_periodic_inq()
137 struct sk_buff *skb) in hci_cc_exit_periodic_inq()
152 struct sk_buff *skb) in hci_cc_remote_name_req_cancel()
162 struct sk_buff *skb) in hci_cc_role_discovery()
184 struct sk_buff *skb) in hci_cc_read_link_policy()
206 struct sk_buff *skb) in hci_cc_write_link_policy()
[all …]
/linux/net/nfc/nci/
H A Drsp.c29 const struct sk_buff *skb) in nci_core_reset_rsp_packet()
48 const struct sk_buff *skb) in nci_core_init_rsp_packet_v1()
87 const struct sk_buff *skb) in nci_core_init_rsp_packet_v2()
124 static void nci_core_init_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) in nci_core_init_rsp_packet()
166 const struct sk_buff *skb) in nci_core_set_config_rsp_packet()
176 const struct sk_buff *skb) in nci_rf_disc_map_rsp_packet()
186 const struct sk_buff *skb) in nci_rf_disc_rsp_packet()
217 const struct sk_buff *skb) in nci_rf_disc_select_rsp_packet()
229 const struct sk_buff *skb) in nci_rf_deactivate_rsp_packet()
245 const struct sk_buff *skb) in nci_nfcee_discover_rsp_packet()
[all …]
/linux/net/core/
H A Dskbuff.c204 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic()
214 static void skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_over_panic()
219 static void skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_under_panic()
279 struct sk_buff *skb; in napi_skb_cache_get() local
362 static inline void __finalize_skb_around(struct sk_buff *skb, void *data, in __finalize_skb_around()
411 struct sk_buff *skb; in slab_build_skb() local
428 static void __build_skb_around(struct sk_buff *skb, void *data, in __build_skb_around()
464 struct sk_buff *skb; in __build_skb() local
482 struct sk_buff *skb = __build_skb(data, frag_size); in build_skb() local
498 struct sk_buff *build_skb_around(struct sk_buff *skb, in build_skb_around()
[all …]
H A Dgro.c91 int skb_gro_receive(struct sk_buff *p, struct sk_buff *skb) in skb_gro_receive()
226 int skb_gro_receive_list(struct sk_buff *p, struct sk_buff *skb) in skb_gro_receive_list()
253 static void gro_complete(struct gro_node *gro, struct sk_buff *skb) in gro_complete()
292 struct sk_buff *skb, *p; in __gro_flush_chain() local
324 static unsigned long gro_list_prepare_tc_ext(const struct sk_buff *skb, in gro_list_prepare_tc_ext()
343 const struct sk_buff *skb) in gro_list_prepare()
385 static inline void skb_gro_reset_offset(struct sk_buff *skb, u32 nhoff) in skb_gro_reset_offset()
412 static void gro_pull_from_frag0(struct sk_buff *skb, int grow) in gro_pull_from_frag0()
433 static void gro_try_pull_from_frag0(struct sk_buff *skb) in gro_try_pull_from_frag0()
461 struct sk_buff *skb) in dev_gro_receive()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dccm_mbox.c62 nfp_ccm_mbox_msg_init(struct sk_buff *skb, unsigned int exp_reply, int max_len) in nfp_ccm_mbox_msg_init()
73 static int nfp_ccm_mbox_maxlen(const struct sk_buff *skb) in nfp_ccm_mbox_maxlen()
80 static bool nfp_ccm_mbox_done(struct sk_buff *skb) in nfp_ccm_mbox_done()
87 static bool nfp_ccm_mbox_in_progress(struct sk_buff *skb) in nfp_ccm_mbox_in_progress()
95 static void nfp_ccm_mbox_set_busy(struct sk_buff *skb) in nfp_ccm_mbox_set_busy()
102 static bool nfp_ccm_mbox_is_posted(struct sk_buff *skb) in nfp_ccm_mbox_is_posted()
109 static void nfp_ccm_mbox_mark_posted(struct sk_buff *skb) in nfp_ccm_mbox_mark_posted()
116 static bool nfp_ccm_mbox_is_first(struct nfp_net *nn, struct sk_buff *skb) in nfp_ccm_mbox_is_first()
121 static bool nfp_ccm_mbox_should_run(struct nfp_net *nn, struct sk_buff *skb) in nfp_ccm_mbox_should_run()
131 struct sk_buff *skb; in nfp_ccm_mbox_mark_next_runner() local
[all …]
/linux/net/ieee802154/6lowpan/
H A Drx.c21 static int lowpan_give_skb_to_device(struct sk_buff *skb) in lowpan_give_skb_to_device()
30 static int lowpan_rx_handlers_result(struct sk_buff *skb, lowpan_rx_result res) in lowpan_rx_handlers_result()
64 static lowpan_rx_result lowpan_rx_h_frag(struct sk_buff *skb) in lowpan_rx_h_frag()
83 int lowpan_iphc_decompress(struct sk_buff *skb) in lowpan_iphc_decompress()
93 static lowpan_rx_result lowpan_rx_h_iphc(struct sk_buff *skb) in lowpan_rx_h_iphc()
112 lowpan_rx_result lowpan_rx_h_ipv6(struct sk_buff *skb) in lowpan_rx_h_ipv6()
127 static lowpan_rx_result lowpan_rx_h_esc(struct sk_buff *skb) in lowpan_rx_h_esc()
143 static lowpan_rx_result lowpan_rx_h_hc1(struct sk_buff *skb) in lowpan_rx_h_hc1()
159 static lowpan_rx_result lowpan_rx_h_dff(struct sk_buff *skb) in lowpan_rx_h_dff()
175 static lowpan_rx_result lowpan_rx_h_bc0(struct sk_buff *skb) in lowpan_rx_h_bc0()
[all …]
/linux/net/openvswitch/
H A Dflow.c62 const struct sk_buff *skb) in ovs_flow_stats_update() argument
179 static int check_header(struct sk_buff *skb, int len) in check_header() argument
188 static bool arphdr_ok(struct sk_buff *skb) in arphdr_ok() argument
194 static int check_iphdr(struct sk_buff *skb) in check_iphdr() argument
213 tcphdr_ok(struct sk_buff * skb) tcphdr_ok() argument
229 udphdr_ok(struct sk_buff * skb) udphdr_ok() argument
235 sctphdr_ok(struct sk_buff * skb) sctphdr_ok() argument
241 icmphdr_ok(struct sk_buff * skb) icmphdr_ok() argument
273 get_ipv6_ext_hdrs(struct sk_buff * skb,struct ipv6hdr * nh,u16 * ext_hdrs) get_ipv6_ext_hdrs() argument
385 parse_ipv6hdr(struct sk_buff * skb,struct sw_flow_key * key) parse_ipv6hdr() argument
434 icmp6hdr_ok(struct sk_buff * skb) icmp6hdr_ok() argument
450 parse_vlan_tag(struct sk_buff * skb,struct vlan_head * key_vh,bool untag_vlan) parse_vlan_tag() argument
494 parse_vlan(struct sk_buff * skb,struct sw_flow_key * key) parse_vlan() argument
516 parse_ethertype(struct sk_buff * skb) parse_ethertype() argument
554 parse_icmpv6(struct sk_buff * skb,struct sw_flow_key * key,int nh_len) parse_icmpv6() argument
629 parse_nsh(struct sk_buff * skb,struct sw_flow_key * key) parse_nsh() argument
683 key_extract_l3l4(struct sk_buff * skb,struct sw_flow_key * key) key_extract_l3l4() argument
915 key_extract(struct sk_buff * skb,struct sw_flow_key * key) key_extract() argument
971 ovs_flow_key_update_l3l4(struct sk_buff * skb,struct sw_flow_key * key) ovs_flow_key_update_l3l4() argument
976 ovs_flow_key_update(struct sk_buff * skb,struct sw_flow_key * key) ovs_flow_key_update() argument
987 key_extract_mac_proto(struct sk_buff * skb) key_extract_mac_proto() argument
1002 ovs_flow_key_extract(const struct ip_tunnel_info * tun_info,struct sk_buff * skb,struct sw_flow_key * key) ovs_flow_key_extract() argument
1077 ovs_flow_key_extract_userspace(struct net * net,const struct nlattr * attr,struct sk_buff * skb,struct sw_flow_key * key,bool log) ovs_flow_key_extract_userspace() argument
[all...]
H A Dactions.c90 static struct deferred_action *add_deferred_actions(struct sk_buff *skb, in add_deferred_actions()
129 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
145 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
162 static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_mpls()
182 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
196 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
225 static int set_eth_addr(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_eth_addr()
252 static int pop_eth(struct sk_buff *skb, struct sw_flow_key *key) in pop_eth()
266 static int push_eth(struct sk_buff *skb, struct sw_flow_key *key, in push_eth()
282 static noinline_for_stack int push_nsh(struct sk_buff *skb, in push_nsh()
[all …]
/linux/samples/bpf/
H A Dtest_lwt_bpf.c29 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 …]
/linux/net/netfilter/
H A Dnf_flow_table_ip.c23 struct sk_buff *skb, unsigned int thoff) in nf_flow_state_check()
43 static void nf_flow_nat_ip_tcp(struct sk_buff *skb, unsigned int thoff, in nf_flow_nat_ip_tcp()
52 static void nf_flow_nat_ip_udp(struct sk_buff *skb, unsigned int thoff, in nf_flow_nat_ip_udp()
66 static void nf_flow_nat_ip_l4proto(struct sk_buff *skb, struct iphdr *iph, in nf_flow_nat_ip_l4proto()
81 struct sk_buff *skb, struct iphdr *iph, in nf_flow_snat_ip()
104 struct sk_buff *skb, struct iphdr *iph, in nf_flow_dnat_ip()
126 static void nf_flow_nat_ip(const struct flow_offload *flow, struct sk_buff *skb, in nf_flow_nat_ip()
145 static void nf_flow_tuple_encap(struct sk_buff *skb, in nf_flow_tuple_encap()
177 static int nf_flow_tuple_ip(struct nf_flowtable_ctx *ctx, struct sk_buff *skb, in nf_flow_tuple_ip()
250 static bool nf_flow_exceeds_mtu(const struct sk_buff *skb, unsigned int mtu) in nf_flow_exceeds_mtu()
[all …]
/linux/net/batman-adv/
H A Dmulticast_forw.c52 static void *batadv_mcast_forw_skb_push(struct sk_buff *skb, size_t size, in batadv_mcast_forw_skb_push()
70 batadv_mcast_forw_push_padding(struct sk_buff *skb, unsigned short *tvlv_len) in batadv_mcast_forw_push_padding()
97 batadv_mcast_forw_push_est_padding(struct sk_buff *skb, int count, in batadv_mcast_forw_push_est_padding()
150 struct sk_buff *skb, unsigned short vid, in batadv_mcast_forw_push_dest()
191 struct sk_buff *skb, in batadv_mcast_forw_push_dests_list()
230 batadv_mcast_forw_push_tt(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_push_tt()
277 struct sk_buff *skb, in batadv_mcast_forw_push_want_all()
323 struct sk_buff *skb, in batadv_mcast_forw_push_want_rtr()
367 static void batadv_mcast_forw_scrape(struct sk_buff *skb, in batadv_mcast_forw_scrape()
391 static void batadv_mcast_forw_push_scrape_padding(struct sk_buff *skb, in batadv_mcast_forw_push_scrape_padding()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dcmsg.c16 nfp_flower_cmsg_get_hdr(struct sk_buff *skb) in nfp_flower_cmsg_get_hdr()
26 struct sk_buff *skb; in nfp_flower_cmsg_alloc() local
47 struct sk_buff *skb; in nfp_flower_cmsg_mac_repr_start() local
62 nfp_flower_cmsg_mac_repr_add(struct sk_buff *skb, unsigned int idx, in nfp_flower_cmsg_mac_repr_add()
79 struct sk_buff *skb; in nfp_flower_cmsg_portmod() local
104 struct sk_buff *skb; in nfp_flower_cmsg_portreify() local
123 nfp_flower_process_mtu_ack(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_process_mtu_ack()
151 nfp_flower_cmsg_portmod_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_portmod_rx()
186 nfp_flower_cmsg_portreify_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_portreify_rx()
208 nfp_flower_cmsg_merge_hint_rx(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_cmsg_merge_hint_rx()
[all …]

12345678910>>...103