Home
last modified time | relevance | path

Searched refs:sk_buff (Results 1 – 25 of 2434) sorted by relevance

12345678910>>...98

/linux/net/devlink/
H A Dnetlink_gen.h24 int devlink_nl_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
27 struct sk_buff *skb, struct genl_info *info);
29 struct sk_buff *skb,
32 struct sk_buff *skb, struct genl_info *info);
34 struct sk_buff *skb,
37 devlink_nl_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
41 struct sk_buff *skb, struct genl_info *info);
44 struct sk_buff *skb,
47 int devlink_nl_get_doit(struct sk_buff *skb, struct genl_info *info);
48 int devlink_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
[all …]
/linux/include/linux/
H A Dskbuff.h3 * Definitions for the 'struct sk_buff' memory handlers.
98 * Indication of checksum verification is set in &sk_buff.ip_summed.
112 * if their checksums are okay. &sk_buff.csum is still undefined in this case
126 * &sk_buff.csum_level indicates the number of consecutive checksums found in
130 * GRE (checksum flag is set) and TCP, &sk_buff.csum_level would be set to
139 * packet as seen by netif_rx() and fills in &sk_buff.csum. This means the
163 * The stack requests checksum offload in the &sk_buff.ip_summed for a packet.
169 * from &sk_buff.csum_start up to the end, and to record/write the checksum at
170 * offset &sk_buff.csum_start + &sk_buff
886 struct sk_buff { global() struct
890 __anon0bed353f0f0ask_buff global() argument
924 __anon0bed353f130ask_buff global() argument
951 queue_mappingsk_buff global() argument
954 __cloned_offsetsk_buff global() argument
956 clonedsk_buff global() argument
957 nohdrsk_buff global() argument
958 fclonesk_buff global() argument
959 peekedsk_buff global() argument
960 head_fragsk_buff global() argument
961 pfmemallocsk_buff global() argument
962 pp_recyclesk_buff global() argument
964 active_extensionssk_buff global() argument
1092 tailsk_buff global() argument
1093 endsk_buff global() argument
1111 extensionssk_buff global() argument
[all...]
H A Dnetfilter.h26 NF_DROP_REASON(struct sk_buff *skb, enum skb_drop_reason reason, u32 err) in NF_DROP_REASON()
72 struct sk_buff;
85 int (*okfn)(struct net *, struct sock *, struct sk_buff *);
89 struct sk_buff *skb,
162 nf_hook_entry_hookfn(const struct nf_hook_entry *entry, struct sk_buff *skb, in nf_hook_entry_hookfn()
175 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
222 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state,
235 struct sock *sk, struct sk_buff *skb, in nf_hook() argument
237 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
306 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
[all …]
H A Dif_vlan.h60 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr()
68 static inline struct vlan_ethhdr *skb_vlan_eth_hdr(const struct sk_buff *skb) in skb_vlan_eth_hdr()
234 extern bool vlan_do_receive(struct sk_buff **skb);
291 static inline bool vlan_do_receive(struct sk_buff **skb) in vlan_do_receive()
361 static inline int __vlan_insert_inner_tag(struct sk_buff *skb, in __vlan_insert_inner_tag()
414 static inline int __vlan_insert_tag(struct sk_buff *skb, in __vlan_insert_tag()
437 static inline struct sk_buff *vlan_insert_inner_tag(struct sk_buff *skb, in vlan_insert_inner_tag()
468 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag()
488 static inline struct sk_buff *vlan_insert_tag_set_proto(struct sk_buff *skb, in vlan_insert_tag_set_proto()
504 static inline void __vlan_hwaccel_clear_tag(struct sk_buff *skb) in __vlan_hwaccel_clear_tag()
[all …]
/linux/net/ieee802154/
H A Dieee802154.h45 struct sk_buff *ieee802154_nl_create(int flags, u8 req);
46 int ieee802154_nl_mcast(struct sk_buff *msg, unsigned int group);
47 struct sk_buff *ieee802154_nl_new_reply(struct genl_info *info,
49 int ieee802154_nl_reply(struct sk_buff *msg, struct genl_info *info);
54 int ieee802154_list_phy(struct sk_buff *skb, struct genl_info *info);
55 int ieee802154_dump_phy(struct sk_buff *skb, struct netlink_callback *cb);
56 int ieee802154_add_iface(struct sk_buff *skb, struct genl_info *info);
57 int ieee802154_del_iface(struct sk_buff *skb, struct genl_info *info);
64 int ieee802154_associate_req(struct sk_buff *skb, struct genl_info *info);
65 int ieee802154_associate_resp(struct sk_buff *skb, struct genl_info *info);
[all …]
/linux/fs/nfsd/
H A Dnetlink.h24 int nfsd_nl_rpc_status_get_dumpit(struct sk_buff *skb,
26 int nfsd_nl_threads_set_doit(struct sk_buff *skb, struct genl_info *info);
27 int nfsd_nl_threads_get_doit(struct sk_buff *skb, struct genl_info *info);
28 int nfsd_nl_version_set_doit(struct sk_buff *skb, struct genl_info *info);
29 int nfsd_nl_version_get_doit(struct sk_buff *skb, struct genl_info *info);
30 int nfsd_nl_listener_set_doit(struct sk_buff *skb, struct genl_info *info);
31 int nfsd_nl_listener_get_doit(struct sk_buff *skb, struct genl_info *info);
32 int nfsd_nl_pool_mode_set_doit(struct sk_buff *skb, struct genl_info *info);
33 int nfsd_nl_pool_mode_get_doit(struct sk_buff *skb, struct genl_info *info);
34 int nfsd_nl_svc_export_get_reqs_dumpit(struct sk_buff *skb,
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h12 struct sk_buff;
15 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb,
26 struct ath10k *ar, struct sk_buff *skb,
28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
[all …]
/linux/net/nfc/
H A Ddigital.h45 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev,
49 struct sk_buff *skb, struct digital_tg_mdaa_params *params,
55 struct sk_buff *skb, u16 timeout, in digital_in_send_cmd()
71 struct sk_buff *skb);
73 struct sk_buff *skb);
78 int digital_in_recv_mifare_res(struct sk_buff *resp);
84 struct nfc_target *target, struct sk_buff *skb,
89 struct sk_buff *skb, u16 timeout, in digital_tg_send_cmd()
97 struct sk_buff *resp);
100 struct sk_buff *resp);
[all …]
/linux/net/core/
H A Dnetdev-genl-gen.h22 int netdev_nl_dev_get_doit(struct sk_buff *skb, struct genl_info *info);
23 int netdev_nl_dev_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
24 int netdev_nl_page_pool_get_doit(struct sk_buff *skb, struct genl_info *info);
25 int netdev_nl_page_pool_get_dumpit(struct sk_buff *skb,
27 int netdev_nl_page_pool_stats_get_doit(struct sk_buff *skb,
29 int netdev_nl_page_pool_stats_get_dumpit(struct sk_buff *skb,
31 int netdev_nl_queue_get_doit(struct sk_buff *skb, struct genl_info *info);
32 int netdev_nl_queue_get_dumpit(struct sk_buff *skb,
34 int netdev_nl_napi_get_doit(struct sk_buff *skb, struct genl_info *info);
35 int netdev_nl_napi_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
[all …]
H A Dgso.c13 struct sk_buff *skb_eth_gso_segment(struct sk_buff *skb, in skb_eth_gso_segment()
16 struct sk_buff *segs = ERR_PTR(-EPROTONOSUPPORT); in skb_eth_gso_segment()
37 struct sk_buff *skb_mac_gso_segment(struct sk_buff *skb, in skb_mac_gso_segment()
40 struct sk_buff *segs = ERR_PTR(-EPROTONOSUPPORT); 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()
91 struct sk_buff *seg in __skb_gso_segment()
[all...]
/linux/net/llc/
H A Dllc_c_ac.c26 static int llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb);
27 static void llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb);
28 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *ev);
30 static int llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb);
33 struct sk_buff *skb);
35 static int llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb);
39 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_clear_remote_busy()
55 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_ind()
63 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_confirm()
71 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_confirm()
[all …]
/linux/net/shaper/
H A Dshaper_nl_gen.h22 struct sk_buff *skb, struct genl_info *info);
24 struct sk_buff *skb, struct genl_info *info);
26 struct sk_buff *skb, struct genl_info *info);
28 net_shaper_nl_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
32 struct sk_buff *skb, struct genl_info *info);
35 struct sk_buff *skb, struct genl_info *info);
41 int net_shaper_nl_get_doit(struct sk_buff *skb, struct genl_info *info);
42 int net_shaper_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
43 int net_shaper_nl_set_doit(struct sk_buff *skb, struct genl_info *info);
44 int net_shaper_nl_delete_doit(struct sk_buff *skb, struct genl_info *info);
[all …]
/linux/include/net/
H A Dgso.h28 static inline bool gso_recursion_inc_test(struct sk_buff *skb, in skb_tnl_header_len()
34 static inline int skb_tnl_header_len(const struct sk_buff *inner_skb) in gso_pskb_expand_head()
40 static inline int gso_pskb_expand_head(struct sk_buff *skb, int extra) in gso_pskb_expand_head()
55 static inline void gso_reset_checksum(struct sk_buff *skb, __wsum res) in gso_reset_checksum()
73 static inline __sum16 gso_make_checksum(struct sk_buff *skb, __wsum res) in gso_make_checksum()
85 struct sk_buff *__skb_gso_segment(struct sk_buff *skb,
88 static inline struct sk_buff *skb_gso_segment(struct sk_buff *skb,
94 struct sk_buff *skb_eth_gso_segmen
[all...]
H A Dsch_generic.h63 struct sk_buff *head;
64 struct sk_buff *tail;
70 int (*enqueue)(struct sk_buff *skb,
72 struct sk_buff **to_free);
73 struct sk_buff * (*dequeue)(struct Qdisc *sch);
129 struct sk_buff *to_free;
229 static inline struct sk_buff *qdisc_run_end(struct Qdisc *qdisc) in qdisc_run_end()
231 struct sk_buff *to_free = NULL; in qdisc_run_end()
296 struct sk_buff *skb, struct tcmsg*);
315 int (*enqueue)(struct sk_buff *sk
[all...]
H A Dudp.h212 struct sk_buff;
217 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
222 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
234 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
244 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
261 void udp_set_csum(bool nocheck, struct sk_buff *skb,
264 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
272 typedef struct sock *(*udp_lookup_t)(const struct sk_buff *skb, __be16 sport,
275 void udp_v6_early_demux(struct sk_buff *skb);
276 INDIRECT_CALLABLE_DECLARE(int udpv6_rcv(struct sk_buff *));
[all …]
H A Dmptcp.h148 bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb,
152 int mptcp_established_options(struct sock *sk, struct sk_buff *skb,
155 bool mptcp_incoming_options(struct sock *sk, struct sk_buff *skb);
165 static inline void mptcp_skb_ext_move(struct sk_buff *to, in mptcp_skb_ext_move()
166 struct sk_buff *from) in mptcp_skb_ext_move()
179 static inline void mptcp_skb_ext_copy(struct sk_buff *to, in mptcp_skb_ext_copy()
180 struct sk_buff *from) in mptcp_skb_ext_copy()
208 static inline bool mptcp_skb_can_collapse(const struct sk_buff *to, in mptcp_skb_can_collapse()
209 const struct sk_buff *from) in mptcp_skb_can_collapse()
218 struct sk_buff *skb);
[all …]
H A Dip.h72 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
77 static inline int ip_check_csum_start(const struct sk_buff *skb)
118 static inline int inet_sdif(const struct sk_buff *skb) in inet_sdif()
168 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
171 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
175 int ip_local_deliver(struct sk_buff *skb);
176 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto);
177 int ip_mr_input(struct sk_buff *skb);
178 int ip_mr_output(struct net *net, struct sock *sk, struct sk_buff *skb);
179 int ip_output(struct net *net, struct sock *sk, struct sk_buff *sk
[all...]
H A Dxfrm.h365 bool (*decode_session)(struct sk_buff *skb,
424 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
425 int (*transport_finish)(struct sk_buff *skb,
427 void (*local_error)(struct sk_buff *skb, u32 mtu);
438 int (*callback)(struct sk_buff *skb, u8 protocol,
459 int (*input)(struct xfrm_state *, struct sk_buff *skb);
460 int (*output)(struct xfrm_state *, struct sk_buff *pskb);
461 int (*reject)(struct xfrm_state *, struct sk_buff *,
471 void (*encap)(struct xfrm_state *, struct sk_buff *pskb);
472 int (*input_tail)(struct xfrm_state *x, struct sk_buff *skb);
[all …]
/linux/include/net/psp/
H A Dfunctions.h20 bool psp_dev_encapsulate(struct net *net, struct sk_buff *skb, __be32 spi,
22 int psp_dev_rcv(struct sk_buff *skb, u16 dev_id, u8 generation, bool strip_icv);
37 void psp_reply_set_decrypted(const struct sock *sk, struct sk_buff *skb);
45 psp_enqueue_set_decrypted(struct sock *sk, struct sk_buff *skb) in psp_enqueue_set_decrypted()
55 __psp_skb_coalesce_diff(const struct sk_buff *one, const struct sk_buff *two, in __psp_skb_coalesce_diff()
70 psp_is_allowed_nondata(struct sk_buff *skb, struct psp_assoc *pas) in psp_is_allowed_nondata()
92 __psp_sk_rx_policy_check(struct sk_buff *skb, struct psp_assoc *pas) in __psp_sk_rx_policy_check()
116 psp_sk_rx_policy_check(struct sock *sk, struct sk_buff *skb) in psp_sk_rx_policy_check()
122 psp_twsk_rx_policy_check(struct inet_timewait_sock *tw, struct sk_buff *skb) in psp_twsk_rx_policy_check()
142 static inline struct psp_assoc *psp_skb_get_assoc_rcu(struct sk_buff *skb) in psp_skb_get_assoc_rcu()
[all …]
/linux/net/batman-adv/
H A Dmulticast.h45 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb,
48 int batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb,
53 int batadv_mcast_mesh_info_put(struct sk_buff *msg,
56 int batadv_mcast_flags_dump(struct sk_buff *msg, struct netlink_callback *cb);
65 struct sk_buff *skb);
69 bool batadv_mcast_forw_push(struct batadv_priv *bat_priv, struct sk_buff *skb,
72 int batadv_mcast_forw_mcsend(struct batadv_priv *bat_priv, struct sk_buff *skb);
77 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_mode()
84 batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_send()
97 batadv_mcast_mesh_info_put(struct sk_buff *msg, struct batadv_priv *bat_priv) in batadv_mcast_mesh_info_put()
[all …]
H A Dsend.h25 struct sk_buff *skb);
32 int batadv_send_skb_to_orig(struct sk_buff *skb,
35 int batadv_send_skb_packet(struct sk_buff *skb,
38 int batadv_send_broadcast_skb(struct sk_buff *skb,
40 int batadv_send_unicast_skb(struct sk_buff *skb,
43 struct sk_buff *skb,
47 struct sk_buff *skb,
54 struct sk_buff *skb,
58 struct sk_buff *skb, int packet_type,
63 struct sk_buff *skb, int packet_type,
[all …]
H A Ddistributed-arp-table.h28 struct sk_buff *skb);
30 struct sk_buff *skb, int hdr_size);
32 struct sk_buff *skb);
34 struct sk_buff *skb, int hdr_size);
36 struct sk_buff *skb,
40 struct sk_buff *skb, int hdr_size);
76 int batadv_dat_cache_dump(struct sk_buff *msg, struct netlink_callback *cb);
108 struct sk_buff *skb) in batadv_dat_snoop_outgoing_arp_request()
115 struct sk_buff *skb, int hdr_size) in batadv_dat_snoop_incoming_arp_request()
122 struct sk_buff *skb) in batadv_dat_snoop_outgoing_arp_reply()
[all …]
/linux/include/net/netfilter/
H A Dbr_netfilter.h9 static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb) in nf_bridge_alloc()
23 void nf_bridge_update_protocol(struct sk_buff *skb);
26 struct sk_buff *skb, struct net_device *indev,
29 struct sk_buff *));
31 unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb);
33 static inline void nf_bridge_push_encap_header(struct sk_buff *skb) in nf_bridge_push_encap_header()
41 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb);
55 struct net_device *setup_pre_routing(struct sk_buff *skb,
59 int br_validate_ipv6(struct net *net, struct sk_buff *skb);
61 struct sk_buff *skb,
[all …]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00lib.h94 struct sk_buff *rt2x00queue_alloc_rxskb(struct queue_entry *entry, gfp_t gfp);
109 void rt2x00queue_align_frame(struct sk_buff *skb);
118 void rt2x00queue_insert_l2pad(struct sk_buff *skb, unsigned int header_length);
128 void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int header_length);
136 int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb,
201 struct sk_buff *skb,
317 struct sk_buff *skb,
320 struct sk_buff *skb);
321 void rt2x00crypto_tx_copy_iv(struct sk_buff *skb,
323 void rt2x00crypto_tx_remove_iv(struct sk_buff *skb,
[all …]
/linux/net/tipc/
H A Dbearer.h105 int (*send_msg)(struct net *net, struct sk_buff *buf,
188 void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b);
202 int tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info);
203 int __tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info);
204 int tipc_nl_bearer_enable(struct sk_buff *skb, struct genl_info *info);
205 int __tipc_nl_bearer_enable(struct sk_buff *skb, struct genl_info *info);
206 int tipc_nl_bearer_dump(struct sk_buff *skb, struct netlink_callback *cb);
207 int tipc_nl_bearer_get(struct sk_buff *skb, struct genl_info *info);
208 int tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
209 int __tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
[all …]

12345678910>>...98