Home
last modified time | relevance | path

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

12345678910>>...118

/openbmc/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 …]
H A Dllc_s_ev.c23 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_activation_req()
31 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_ui()
41 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_unitdata_req()
51 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_xid_req()
60 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_xid_c()
70 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_xid_r()
80 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_test_req()
89 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_test_c()
99 int llc_sap_ev_rx_test_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_test_r()
109 int llc_sap_ev_deactivation_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_deactivation_req()
/openbmc/linux/include/linux/
H A Dskbuff.h1093 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc()
1111 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
1130 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
1146 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
1157 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
1166 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
1184 static inline unsigned int skb_napi_id(const struct sk_buff *skb) in skb_napi_id()
1193 static inline bool skb_wifi_acked_valid(const struct sk_buff *skb) in skb_wifi_acked_valid()
1208 static inline bool skb_unref(struct sk_buff *skb) in skb_unref()
1227 static inline void kfree_skb(struct sk_buff *skb) in kfree_skb()
[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()
/openbmc/linux/include/net/
H A Dgro.h100 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb) argument
103 static inline int gro_recursion_inc_test(struct sk_buff *skb) in gro_recursion_inc_test()
141 static inline unsigned int skb_gro_len(const struct sk_buff *skb) in skb_gro_len()
146 static inline void skb_gro_pull(struct sk_buff *skb, unsigned int len) in skb_gro_pull()
151 static inline void *skb_gro_header_fast(struct sk_buff *skb, in skb_gro_header_fast()
157 static inline int skb_gro_header_hard(struct sk_buff *skb, unsigned int hlen) in skb_gro_header_hard()
162 static inline void skb_gro_frag0_invalidate(struct sk_buff *skb) in skb_gro_frag0_invalidate()
168 static inline void *skb_gro_header_slow(struct sk_buff *skb, unsigned int hlen, in skb_gro_header_slow()
178 static inline void *skb_gro_header(struct sk_buff *skb, in skb_gro_header()
189 static inline void *skb_gro_network_header(struct sk_buff *skb) in skb_gro_network_header()
[all …]
/openbmc/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 …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c91 static __always_inline int __encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv4()
253 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4()
259 static __always_inline int __encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv6()
370 static int encap_ipv6_ipip6(struct __sk_buff *skb) in encap_ipv6_ipip6()
425 static __always_inline int encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv6()
432 int __encap_ipip_none(struct __sk_buff *skb) in __encap_ipip_none()
441 int __encap_gre_none(struct __sk_buff *skb) in __encap_gre_none()
450 int __encap_gre_mpls(struct __sk_buff *skb) in __encap_gre_mpls()
459 int __encap_gre_eth(struct __sk_buff *skb) in __encap_gre_eth()
468 int __encap_udp_none(struct __sk_buff *skb) in __encap_udp_none()
[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_tunnel_kern.c78 int gre_set_tunnel(struct __sk_buff *skb) in gre_set_tunnel()
100 int gre_set_tunnel_no_key(struct __sk_buff *skb) in gre_set_tunnel_no_key()
121 int gre_get_tunnel(struct __sk_buff *skb) in gre_get_tunnel()
137 int ip6gretap_set_tunnel(struct __sk_buff *skb) in ip6gretap_set_tunnel()
161 int ip6gretap_get_tunnel(struct __sk_buff *skb) in ip6gretap_get_tunnel()
180 int erspan_set_tunnel(struct __sk_buff *skb) in erspan_set_tunnel()
223 int erspan_get_tunnel(struct __sk_buff *skb) in erspan_get_tunnel()
258 int ip4ip6erspan_set_tunnel(struct __sk_buff *skb) in ip4ip6erspan_set_tunnel()
302 int ip4ip6erspan_get_tunnel(struct __sk_buff *skb) in ip4ip6erspan_get_tunnel()
338 int vxlan_set_tunnel_dst(struct __sk_buff *skb) in vxlan_set_tunnel_dst()
[all …]
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()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h235 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx()
267 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan()
277 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_compl()
287 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_bundle_compl()
297 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx()
307 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info()
317 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start()
327 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick()
337 ath10k_wmi_pull_swba(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_swba()
347 ath10k_wmi_pull_phyerr_hdr(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_phyerr_hdr()
[all …]
/openbmc/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 …]
/openbmc/linux/net/bridge/
H A Dbr_netfilter_hooks.c71 #define IS_IP(skb) \ argument
74 #define IS_IPV6(skb) \ argument
77 #define IS_ARP(skb) \ argument
80 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto() argument
90 is_vlan_ip(const struct sk_buff * skb,const struct net * net) is_vlan_ip() argument
97 is_vlan_ipv6(const struct sk_buff * skb,const struct net * net) is_vlan_ipv6() argument
106 is_vlan_arp(const struct sk_buff * skb,const struct net * net) is_vlan_arp() argument
113 pppoe_proto(const struct sk_buff * skb) pppoe_proto() argument
119 is_pppoe_ip(const struct sk_buff * skb,const struct net * net) is_pppoe_ip() argument
127 is_pppoe_ipv6(const struct sk_buff * skb,const struct net * net) is_pppoe_ipv6() argument
150 nf_bridge_info_free(struct sk_buff * skb) nf_bridge_info_free() argument
163 nf_bridge_unshare(struct sk_buff * skb) nf_bridge_unshare() argument
168 nf_bridge_encap_header_len(const struct sk_buff * skb) nf_bridge_encap_header_len() argument
180 nf_bridge_pull_encap_header(struct sk_buff * skb) nf_bridge_pull_encap_header() argument
188 nf_bridge_pull_encap_header_rcsum(struct sk_buff * skb) nf_bridge_pull_encap_header_rcsum() argument
201 br_validate_ipv4(struct net * net,struct sk_buff * skb) br_validate_ipv4() argument
250 nf_bridge_update_protocol(struct sk_buff * skb) nf_bridge_update_protocol() argument
271 br_nf_pre_routing_finish_bridge(struct net * net,struct sock * sk,struct sk_buff * skb) br_nf_pre_routing_finish_bridge() argument
322 br_nf_ipv4_daddr_was_changed(const struct sk_buff * skb,const struct nf_bridge_info * nf_bridge) br_nf_ipv4_daddr_was_changed() argument
367 br_nf_pre_routing_finish(struct net * net,struct sock * sk,struct sk_buff * skb) br_nf_pre_routing_finish() argument
450 brnf_get_logical_dev(struct sk_buff * skb,const struct net_device * dev,const struct net * net) brnf_get_logical_dev() argument
469 setup_pre_routing(struct sk_buff * skb,const struct net * net) setup_pre_routing() argument
499 br_nf_pre_routing(void * priv,struct sk_buff * skb,const struct nf_hook_state * state) br_nf_pre_routing() argument
601 br_nf_local_in(void * priv,struct sk_buff * skb,const struct nf_hook_state * state) br_nf_local_in() argument
657 br_nf_forward_finish(struct net * net,struct sock * sk,struct sk_buff * skb) br_nf_forward_finish() argument
697 br_nf_forward_ip(void * priv,struct sk_buff * skb,const struct nf_hook_state * state) br_nf_forward_ip() argument
763 br_nf_forward_arp(void * priv,struct sk_buff * skb,const struct nf_hook_state * state) br_nf_forward_arp() argument
801 br_nf_push_frag_xmit(struct net * net,struct sock * sk,struct sk_buff * skb) br_nf_push_frag_xmit() argument
825 br_nf_ip_fragment(struct net * net,struct sock * sk,struct sk_buff * skb,int (* output)(struct net *,struct sock *,struct sk_buff *)) br_nf_ip_fragment() argument
842 nf_bridge_mtu_reduction(const struct sk_buff * skb) nf_bridge_mtu_reduction() argument
851 br_nf_dev_queue_xmit(struct net * net,struct sock * sk,struct sk_buff * skb) br_nf_dev_queue_xmit() argument
940 br_nf_post_routing(void * priv,struct sk_buff * skb,const struct nf_hook_state * state) br_nf_post_routing() argument
989 ip_sabotage_in(void * priv,struct sk_buff * skb,const struct nf_hook_state * state) ip_sabotage_in() argument
1019 br_nf_pre_routing_finish_bridge_slow(struct sk_buff * skb) br_nf_pre_routing_finish_bridge_slow() argument
1044 br_nf_dev_xmit(struct sk_buff * skb) br_nf_dev_xmit() argument
1144 br_nf_hook_thresh(unsigned int hook,struct net * net,struct sock * sk,struct sk_buff * skb,struct net_device * indev,struct net_device * outdev,int (* okfn)(struct net *,struct sock *,struct sk_buff *)) br_nf_hook_thresh() argument
[all...]
/openbmc/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 …]
/openbmc/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 …]
H A Dtcbpf1_kern.c16 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()
/openbmc/linux/net/core/
H A Dskbuff.c185 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic() argument
195 skb_over_panic(struct sk_buff * skb,unsigned int sz,void * addr) skb_over_panic() argument
200 skb_under_panic(struct sk_buff * skb,unsigned int sz,void * addr) skb_under_panic() argument
284 struct sk_buff *skb; napi_get_frags_check() local
327 struct sk_buff *skb; napi_skb_cache_get() local
344 __finalize_skb_around(struct sk_buff * skb,void * data,unsigned int size) __finalize_skb_around() argument
369 __slab_build_skb(struct sk_buff * skb,void * data,unsigned int * size) __slab_build_skb() argument
394 struct sk_buff *skb; slab_build_skb() local
410 __build_skb_around(struct sk_buff * skb,void * data,unsigned int frag_size) __build_skb_around() argument
446 struct sk_buff *skb; __build_skb() local
463 struct sk_buff *skb = __build_skb(data, frag_size); build_skb() local
479 build_skb_around(struct sk_buff * skb,void * data,unsigned int frag_size) build_skb_around() argument
507 struct sk_buff *skb; __napi_build_skb() local
531 struct sk_buff *skb = __napi_build_skb(data, frag_size); napi_build_skb() local
625 struct sk_buff *skb; __alloc_skb() local
702 struct sk_buff *skb; __netdev_alloc_skb() local
776 struct sk_buff *skb; __napi_alloc_skb() local
847 skb_add_rx_frag(struct sk_buff * skb,int i,struct page * page,int off,int size,unsigned int truesize) skb_add_rx_frag() argument
857 skb_coalesce_rx_frag(struct sk_buff * skb,int i,int size,unsigned int truesize) skb_coalesce_rx_frag() argument
875 skb_drop_fraglist(struct sk_buff * skb) skb_drop_fraglist() argument
880 skb_clone_fraglist(struct sk_buff * skb) skb_clone_fraglist() argument
933 skb_pp_recycle(struct sk_buff * skb,void * data,bool napi_safe) skb_pp_recycle() argument
948 skb_free_head(struct sk_buff * skb,bool napi_safe) skb_free_head() argument
961 skb_release_data(struct sk_buff * skb,enum skb_drop_reason reason,bool napi_safe) skb_release_data() argument
1004 kfree_skbmem(struct sk_buff * skb) kfree_skbmem() argument
1034 skb_release_head_state(struct sk_buff * skb) skb_release_head_state() argument
1048 skb_release_all(struct sk_buff * skb,enum skb_drop_reason reason,bool napi_safe) skb_release_all() argument
1065 __kfree_skb(struct sk_buff * skb) __kfree_skb() argument
1073 __kfree_skb_reason(struct sk_buff * skb,enum skb_drop_reason reason) __kfree_skb_reason() argument
1100 kfree_skb_reason(struct sk_buff * skb,enum skb_drop_reason reason) kfree_skb_reason() argument
1114 kfree_skb_add_bulk(struct sk_buff * skb,struct skb_free_array * sa,enum skb_drop_reason reason) kfree_skb_add_bulk() argument
1163 skb_dump(const char * level,const struct sk_buff * skb,bool full_pkt) skb_dump() argument
1259 skb_tx_error(struct sk_buff * skb) skb_tx_error() argument
1277 consume_skb(struct sk_buff * skb) consume_skb() argument
1295 __consume_stateless_skb(struct sk_buff * skb) __consume_stateless_skb() argument
1302 napi_skb_cache_put(struct sk_buff * skb) napi_skb_cache_put() argument
1321 __napi_kfree_skb(struct sk_buff * skb,enum skb_drop_reason reason) __napi_kfree_skb() argument
1327 napi_skb_free_stolen_head(struct sk_buff * skb) napi_skb_free_stolen_head() argument
1339 napi_consume_skb(struct sk_buff * skb,int budget) napi_consume_skb() argument
1422 __skb_clone(struct sk_buff * n,struct sk_buff * skb) __skb_clone() argument
1543 struct sk_buff *skb; msg_zerocopy_alloc() local
1627 skb_zerocopy_notify_extend(struct sk_buff * skb,u32 lo,u16 len) skb_zerocopy_notify_extend() argument
1649 struct sk_buff *tail, *skb = skb_from_uarg(uarg); __msg_zerocopy_callback() local
1697 msg_zerocopy_callback(struct sk_buff * skb,struct ubuf_info * uarg,bool success) msg_zerocopy_callback() argument
1721 skb_zerocopy_iter_stream(struct sock * sk,struct sk_buff * skb,struct msghdr * msg,int len,struct ubuf_info * uarg) skb_zerocopy_iter_stream() argument
1751 __skb_zcopy_downgrade_managed(struct sk_buff * skb) __skb_zcopy_downgrade_managed() argument
1796 skb_copy_ubufs(struct sk_buff * skb,gfp_t gfp_mask) skb_copy_ubufs() argument
1892 skb_clone(struct sk_buff * skb,gfp_t gfp_mask) skb_clone() argument
1922 skb_headers_offset_update(struct sk_buff * skb,int off) skb_headers_offset_update() argument
1948 skb_alloc_rx_flag(const struct sk_buff * skb) skb_alloc_rx_flag() argument
1972 skb_copy(const struct sk_buff * skb,gfp_t gfp_mask) skb_copy() argument
2017 __pskb_copy_fclone(struct sk_buff * skb,int headroom,gfp_t gfp_mask,bool fclone) __pskb_copy_fclone() argument
2081 pskb_expand_head(struct sk_buff * skb,int nhead,int ntail,gfp_t gfp_mask) pskb_expand_head() argument
2170 skb_realloc_headroom(struct sk_buff * skb,unsigned int headroom) skb_realloc_headroom() argument
2190 __skb_unclone_keeptruesize(struct sk_buff * skb,gfp_t pri) __skb_unclone_keeptruesize() argument
2248 skb_expand_head(struct sk_buff * skb,unsigned int headroom) skb_expand_head() argument
2305 skb_copy_expand(const struct sk_buff * skb,int newheadroom,int newtailroom,gfp_t gfp_mask) skb_copy_expand() argument
2364 __skb_pad(struct sk_buff * skb,int pad,bool free_on_error) __skb_pad() argument
2412 pskb_put(struct sk_buff * skb,struct sk_buff * tail,int len) pskb_put() argument
2431 skb_put(struct sk_buff * skb,unsigned int len) skb_put() argument
2452 skb_push(struct sk_buff * skb,unsigned int len) skb_push() argument
2472 skb_pull(struct sk_buff * skb,unsigned int len) skb_pull() argument
2489 skb_pull_data(struct sk_buff * skb,size_t len) skb_pull_data() argument
2511 skb_trim(struct sk_buff * skb,unsigned int len) skb_trim() argument
2521 ___pskb_trim(struct sk_buff * skb,unsigned int len) ___pskb_trim() argument
2608 pskb_trim_rcsum_slow(struct sk_buff * skb,unsigned int len) pskb_trim_rcsum_slow() argument
2652 __pskb_pull_tail(struct sk_buff * skb,int delta) __pskb_pull_tail() argument
2793 skb_copy_bits(const struct sk_buff * skb,int offset,void * to,int len) skb_copy_bits() argument
2978 __skb_splice_bits(struct sk_buff * skb,struct pipe_inode_info * pipe,unsigned int * offset,unsigned int * len,struct splice_pipe_desc * spd,struct sock * sk) __skb_splice_bits() argument
3030 skb_splice_bits(struct sk_buff * skb,struct sock * sk,unsigned int offset,struct pipe_inode_info * pipe,unsigned int tlen,unsigned int flags) skb_splice_bits() argument
3078 __skb_send_sock(struct sock * sk,struct sk_buff * skb,int offset,int len,sendmsg_func sendmsg) __skb_send_sock() argument
3177 skb_send_sock_locked(struct sock * sk,struct sk_buff * skb,int offset,int len) skb_send_sock_locked() argument
3185 skb_send_sock(struct sock * sk,struct sk_buff * skb,int offset,int len) skb_send_sock() argument
3202 skb_store_bits(struct sk_buff * skb,int offset,const void * from,int len) skb_store_bits() argument
3280 __skb_checksum(const struct sk_buff * skb,int offset,int len,__wsum csum,const struct skb_checksum_ops * ops) __skb_checksum() argument
3364 skb_checksum(const struct sk_buff * skb,int offset,int len,__wsum csum) skb_checksum() argument
3378 skb_copy_and_csum_bits(const struct sk_buff * skb,int offset,u8 * to,int len) skb_copy_and_csum_bits() argument
3463 __skb_checksum_complete_head(struct sk_buff * skb,int len) __skb_checksum_complete_head() argument
3489 __skb_checksum_complete(struct sk_buff * skb) __skb_checksum_complete() argument
3652 skb_copy_and_csum_dev(const struct sk_buff * skb,u8 * to) skb_copy_and_csum_dev() argument
3732 struct sk_buff *skb; skb_queue_purge_reason() local
3755 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); skb_rbtree_purge() local
3767 struct sk_buff *skb, *next; skb_errqueue_purge() local
3838 skb_unlink(struct sk_buff * skb,struct sk_buff_head * list) skb_unlink() argument
3868 skb_split_inside_header(struct sk_buff * skb,struct sk_buff * skb1,const u32 len,const int pos) skb_split_inside_header() argument
3889 skb_split_no_header(struct sk_buff * skb,struct sk_buff * skb1,const u32 len,int pos) skb_split_no_header() argument
3936 skb_split(struct sk_buff * skb,struct sk_buff * skb1,const u32 len) skb_split() argument
3956 skb_prepare_for_shift(struct sk_buff * skb) skb_prepare_for_shift() argument
3979 skb_shift(struct sk_buff * tgt,struct sk_buff * skb,int shiftlen) skb_shift() argument
4104 skb_prepare_seq_read(struct sk_buff * skb,unsigned int from,unsigned int to,struct skb_seq_state * st) skb_prepare_seq_read() argument
4265 skb_find_text(struct sk_buff * skb,unsigned int from,unsigned int to,struct ts_config * config) skb_find_text() argument
4284 skb_append_pagefrags(struct sk_buff * skb,struct page * page,int offset,size_t size,size_t max_frags) skb_append_pagefrags() argument
4314 skb_pull_rcsum(struct sk_buff * skb,unsigned int len) skb_pull_rcsum() argument
4337 skb_segment_list(struct sk_buff * skb,netdev_features_t features,unsigned int offset) skb_segment_list() argument
4879 __skb_to_sgvec(struct sk_buff * skb,struct scatterlist * sg,int offset,int len,unsigned int recursion_level) __skb_to_sgvec() argument
4962 skb_to_sgvec(struct sk_buff * skb,struct scatterlist * sg,int offset,int len) skb_to_sgvec() argument
4994 skb_to_sgvec_nomark(struct sk_buff * skb,struct scatterlist * sg,int offset,int len) skb_to_sgvec_nomark() argument
5020 skb_cow_data(struct sk_buff * skb,int tailbits,struct sk_buff ** trailer) skb_cow_data() argument
5113 sock_rmem_free(struct sk_buff * skb) sock_rmem_free() argument
5120 skb_set_err_queue(struct sk_buff * skb) skb_set_err_queue() argument
5132 sock_queue_err_skb(struct sock * sk,struct sk_buff * skb) sock_queue_err_skb() argument
5154 is_icmp_err_skb(const struct sk_buff * skb) is_icmp_err_skb() argument
5163 struct sk_buff *skb, *skb_next = NULL; sock_dequeue_err_skb() local
5199 skb_clone_sk(struct sk_buff * skb) skb_clone_sk() argument
5220 __skb_complete_tx_timestamp(struct sk_buff * skb,struct sock * sk,int tstype,bool opt_stats) __skb_complete_tx_timestamp() argument
5263 skb_complete_tx_timestamp(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps) skb_complete_tx_timestamp() argument
5291 struct sk_buff *skb; __skb_tstamp_tx() local
5352 skb_complete_wifi_ack(struct sk_buff * skb,bool acked) skb_complete_wifi_ack() argument
5391 skb_partial_csum_set(struct sk_buff * skb,u16 start,u16 off) skb_partial_csum_set() argument
5409 skb_maybe_pull_tail(struct sk_buff * skb,unsigned int len,unsigned int max) skb_maybe_pull_tail() argument
5432 skb_checksum_setup_ip(struct sk_buff * skb,typeof (IPPROTO_IP)proto,unsigned int off) skb_checksum_setup_ip() argument
5466 skb_checksum_setup_ipv4(struct sk_buff * skb,bool recalculate) skb_checksum_setup_ipv4() argument
5511 OPT_HDR(type,skb,off) global() argument
5514 skb_checksum_setup_ipv6(struct sk_buff * skb,bool recalculate) skb_checksum_setup_ipv6() argument
5619 skb_checksum_setup(struct sk_buff * skb,bool recalculate) skb_checksum_setup() argument
5654 skb_checksum_maybe_trim(struct sk_buff * skb,unsigned int transport_len) skb_checksum_maybe_trim() argument
5694 skb_checksum_trimmed(struct sk_buff * skb,unsigned int transport_len,__sum16 (* skb_chkf)(struct sk_buff * skb)) skb_checksum_trimmed() argument
5696 skb_checksum_trimmed(struct sk_buff * skb,unsigned int transport_len,__sum16 (* skb_chkf)(struct sk_buff * skb)) skb_checksum_trimmed() argument
5727 __skb_warn_lro_forwarding(const struct sk_buff * skb) __skb_warn_lro_forwarding() argument
5734 kfree_skb_partial(struct sk_buff * skb,bool head_stolen) kfree_skb_partial() argument
5856 skb_scrub_packet(struct sk_buff * skb,bool xnet) skb_scrub_packet() argument
5880 skb_reorder_vlan_header(struct sk_buff * skb) skb_reorder_vlan_header() argument
5906 skb_vlan_untag(struct sk_buff * skb) skb_vlan_untag() argument
5947 skb_ensure_writable(struct sk_buff * skb,unsigned int write_len) skb_ensure_writable() argument
5962 __skb_vlan_pop(struct sk_buff * skb,u16 * vlan_tci) __skb_vlan_pop() argument
5995 skb_vlan_pop(struct sk_buff * skb) skb_vlan_pop() argument
6028 skb_vlan_push(struct sk_buff * skb,__be16 vlan_proto,u16 vlan_tci) skb_vlan_push() argument
6067 skb_eth_pop(struct sk_buff * skb) skb_eth_pop() argument
6094 skb_eth_push(struct sk_buff * skb,const unsigned char * dst,const unsigned char * src) skb_eth_push() argument
6123 skb_mod_eth_type(struct sk_buff * skb,struct ethhdr * hdr,__be16 ethertype) skb_mod_eth_type() argument
6150 skb_mpls_push(struct sk_buff * skb,__be32 mpls_lse,__be16 mpls_proto,int mac_len,bool ethernet) skb_mpls_push() argument
6203 skb_mpls_pop(struct sk_buff * skb,__be16 next_proto,int mac_len,bool ethernet) skb_mpls_pop() argument
6246 skb_mpls_update_lse(struct sk_buff * skb,__be32 mpls_lse) skb_mpls_update_lse() argument
6278 skb_mpls_dec_ttl(struct sk_buff * skb) skb_mpls_dec_ttl() argument
6319 struct sk_buff *skb; alloc_skb_with_frags() local
6368 pskb_carve_inside_header(struct sk_buff * skb,const u32 off,const int headlen,gfp_t gfp_mask) pskb_carve_inside_header() argument
6429 pskb_carve_frag_list(struct sk_buff * skb,struct skb_shared_info * shinfo,int eat,gfp_t gfp_mask) pskb_carve_frag_list() argument
6483 pskb_carve_inside_nonlinear(struct sk_buff * skb,const u32 off,int pos,gfp_t gfp_mask) pskb_carve_inside_nonlinear() argument
6560 pskb_carve(struct sk_buff * skb,const u32 len,gfp_t gfp) pskb_carve() argument
6573 pskb_extract(struct sk_buff * skb,int off,int to_copy,gfp_t gfp) pskb_extract() argument
6602 skb_condense(struct sk_buff * skb) skb_condense() argument
6696 __skb_ext_set(struct sk_buff * skb,enum skb_ext_id id,struct skb_ext * ext) __skb_ext_set() argument
6724 skb_ext_add(struct sk_buff * skb,enum skb_ext_id id) skb_ext_add() argument
6777 __skb_ext_del(struct sk_buff * skb,enum skb_ext_id id) __skb_ext_del() argument
6830 skb_attempt_defer_free(struct sk_buff * skb) skb_attempt_defer_free() argument
6870 skb_splice_csum_page(struct sk_buff * skb,struct page * page,size_t offset,size_t len) skb_splice_csum_page() argument
6897 skb_splice_from_iter(struct sk_buff * skb,struct iov_iter * iter,ssize_t maxsize,gfp_t gfp) skb_splice_from_iter() argument
[all...]
H A Dgso.c13 struct sk_buff *skb_eth_gso_segment(struct sk_buff *skb, in skb_eth_gso_segment()
37 struct sk_buff *skb_mac_gso_segment(struct sk_buff *skb, in skb_mac_gso_segment()
66 static bool skb_needs_check(const struct sk_buff *skb, bool tx_path) in skb_needs_check()
88 struct sk_buff *__skb_gso_segment(struct sk_buff *skb, in __skb_gso_segment()
143 static unsigned int skb_gso_transport_seglen(const struct sk_buff *skb) in skb_gso_transport_seglen()
178 static unsigned int skb_gso_network_seglen(const struct sk_buff *skb) in skb_gso_network_seglen()
195 static unsigned int skb_gso_mac_seglen(const struct sk_buff *skb) in skb_gso_mac_seglen()
223 static inline bool skb_gso_size_check(const struct sk_buff *skb, in skb_gso_size_check()
253 bool skb_gso_validate_network_len(const struct sk_buff *skb, unsigned int mtu) in skb_gso_validate_network_len()
268 bool skb_gso_validate_mac_len(const struct sk_buff *skb, unsigned int len) in skb_gso_validate_mac_len()
/openbmc/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 …]
/openbmc/linux/net/openvswitch/
H A Dflow.c62 const struct sk_buff *skb) in ovs_flow_stats_update()
179 static int check_header(struct sk_buff *skb, int len) in check_header()
188 static bool arphdr_ok(struct sk_buff *skb) in arphdr_ok()
194 static int check_iphdr(struct sk_buff *skb) in check_iphdr()
213 static bool tcphdr_ok(struct sk_buff *skb) in tcphdr_ok()
229 static bool udphdr_ok(struct sk_buff *skb) in udphdr_ok()
235 static bool sctphdr_ok(struct sk_buff *skb) in sctphdr_ok()
241 static bool icmphdr_ok(struct sk_buff *skb) in icmphdr_ok()
273 static void get_ipv6_ext_hdrs(struct sk_buff *skb, struct ipv6hdr *nh, in get_ipv6_ext_hdrs()
385 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr()
[all …]
/openbmc/linux/net/bluetooth/
H A Dhci_event.c50 static void *hci_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_ev_skb_pull()
62 static void *hci_cc_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_cc_skb_pull()
74 static void *hci_le_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_le_ev_skb_pull()
87 struct sk_buff *skb) in hci_cc_inquiry_cancel()
125 struct sk_buff *skb) in hci_cc_periodic_inq()
140 struct sk_buff *skb) in hci_cc_exit_periodic_inq()
155 struct sk_buff *skb) in hci_cc_remote_name_req_cancel()
165 struct sk_buff *skb) in hci_cc_role_discovery()
187 struct sk_buff *skb) in hci_cc_read_link_policy()
209 struct sk_buff *skb) in hci_cc_write_link_policy()
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_flow_table_ip.c23 struct sk_buff *skb, unsigned int thoff) in nf_flow_state_check()
39 static void nf_flow_nat_ip_tcp(struct sk_buff *skb, unsigned int thoff, in nf_flow_nat_ip_tcp()
48 static void nf_flow_nat_ip_udp(struct sk_buff *skb, unsigned int thoff, in nf_flow_nat_ip_udp()
62 static void nf_flow_nat_ip_l4proto(struct sk_buff *skb, struct iphdr *iph, in nf_flow_nat_ip_l4proto()
77 struct sk_buff *skb, struct iphdr *iph, in nf_flow_snat_ip()
100 struct sk_buff *skb, struct iphdr *iph, in nf_flow_dnat_ip()
122 static void nf_flow_nat_ip(const struct flow_offload *flow, struct sk_buff *skb, in nf_flow_nat_ip()
141 static void nf_flow_tuple_encap(struct sk_buff *skb, in nf_flow_tuple_encap()
173 static int nf_flow_tuple_ip(struct nf_flowtable_ctx *ctx, struct sk_buff *skb, in nf_flow_tuple_ip()
246 static bool nf_flow_exceeds_mtu(const struct sk_buff *skb, unsigned int mtu) in nf_flow_exceeds_mtu()
[all …]
/openbmc/linux/include/linux/can/
H A Dskb.h63 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) in can_skb_prv()
68 static inline void can_skb_reserve(struct sk_buff *skb) in can_skb_reserve()
73 static inline void can_skb_set_owner(struct sk_buff *skb, struct sock *sk) in can_skb_set_owner()
89 static inline struct sk_buff *can_create_echo_skb(struct sk_buff *skb) in can_create_echo_skb()
104 static inline bool can_is_can_skb(const struct sk_buff *skb) in can_is_can_skb()
112 static inline bool can_is_canfd_skb(const struct sk_buff *skb) in can_is_canfd_skb()
120 static inline bool can_is_canxl_skb(const struct sk_buff *skb) in can_is_canxl_skb()
135 static inline unsigned int can_skb_get_len_val(struct sk_buff *skb) in can_skb_get_len_val()
147 static inline unsigned int can_skb_get_data_len(struct sk_buff *skb) in can_skb_get_data_len()

12345678910>>...118