Home
last modified time | relevance | path

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

12345678910>>...100

/linux/net/devlink/
H A Dnetlink_gen.h23 int devlink_nl_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
26 struct sk_buff *skb, struct genl_info *info);
28 struct sk_buff *skb, struct genl_info *info);
30 struct sk_buff *skb,
33 devlink_nl_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
37 struct sk_buff *skb, struct genl_info *info);
39 int devlink_nl_get_doit(struct sk_buff *skb, struct genl_info *info);
40 int devlink_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
41 int devlink_nl_port_get_doit(struct sk_buff *skb, struct genl_info *info);
42 int devlink_nl_port_get_dumpit(struct sk_buff *sk
[all...]
/linux/include/net/
H A Dllc_c_ev.h123 static __inline__ struct llc_conn_state_ev *llc_conn_ev(struct sk_buff *skb) in llc_conn_ev()
128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb);
129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb);
131 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb);
132 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb);
133 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb);
134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb);
135 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb);
136 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb);
137 int llc_conn_ev_rx_bad_pdu(struct sock *sk, struct sk_buff *skb);
[all …]
H A Dllc_c_ac.h22 struct sk_buff;
97 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb);
99 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb);
100 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
101 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb);
102 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb);
103 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb);
104 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb);
105 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb);
107 struct sk_buff *skb);
[all …]
H A Dl3mdev.h37 struct sk_buff * (*l3mdev_l3_rcv)(struct net_device *dev,
38 struct sk_buff *skb, u16 proto);
39 struct sk_buff * (*l3mdev_l3_out)(struct net_device *dev,
40 struct sock *sk, struct sk_buff *skb,
179 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv()
196 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
202 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *sk
[all...]
H A Dsch_generic.h60 struct sk_buff *head;
61 struct sk_buff *tail;
67 int (*enqueue)(struct sk_buff *skb,
69 struct sk_buff **to_free);
70 struct sk_buff * (*dequeue)(struct Qdisc *sch);
125 struct sk_buff *to_free;
225 static inline struct sk_buff *qdisc_run_end(struct Qdisc *qdisc) in qdisc_run_end()
227 struct sk_buff *to_free = NULL; in qdisc_run_end()
292 struct sk_buff *skb, struct tcmsg*);
311 int (*enqueue)(struct sk_buff *skb,
[all …]
H A Dmptcp.h20 /* MPTCP sk_buff extension data */
148 bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb, in rsk_is_mptcp()
152 bool mptcp_established_options(struct sock *sk, struct sk_buff *skb, in rsk_drop_req()
155 bool mptcp_incoming_options(struct sock *sk, struct sk_buff *skb);
165 static inline void mptcp_skb_ext_move(struct sk_buff *to,
166 struct sk_buff *from)
179 static inline void mptcp_skb_ext_copy(struct sk_buff *to, in mptcp_skb_ext_move()
180 struct sk_buff *from) in mptcp_skb_ext_move()
208 static inline bool mptcp_skb_can_collapse(const struct sk_buff *to, in mptcp_ext_matches()
209 const struct sk_buff *fro in mptcp_ext_matches()
[all...]
H A Dgso.h26 static inline int skb_tnl_header_len(const struct sk_buff *inner_skb) in skb_tnl_header_len()
32 static inline int gso_pskb_expand_head(struct sk_buff *skb, int extra) in gso_pskb_expand_head()
47 static inline void gso_reset_checksum(struct sk_buff *skb, __wsum res) in gso_reset_checksum()
65 static inline __sum16 gso_make_checksum(struct sk_buff *skb, __wsum res) in gso_make_checksum()
77 struct sk_buff *__skb_gso_segment(struct sk_buff *skb,
80 static inline struct sk_buff *skb_gso_segment(struct sk_buff *skb, in skb_gso_segment()
86 struct sk_buff *skb_eth_gso_segment(struct sk_buff *skb,
89 struct sk_buff *skb_mac_gso_segment(struct sk_buff *skb,
92 bool skb_gso_validate_network_len(const struct sk_buff *skb, unsigned int mtu);
94 bool skb_gso_validate_mac_len(const struct sk_buff *skb, unsigned int len);
[all …]
H A Dip.h72 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
111 static inline int inet_sdif(const struct sk_buff *skb) in inet_sdif()
161 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
164 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
168 int ip_local_deliver(struct sk_buff *skb);
169 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto);
170 int ip_mr_input(struct sk_buff *skb);
171 int ip_mr_output(struct net *net, struct sock *sk, struct sk_buff *skb);
172 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb);
173 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb);
[all …]
H A Dllc_s_ac.h16 struct sk_buff;
30 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
32 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb);
33 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
34 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
35 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
36 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
37 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
38 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb);
39 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
[all …]
H A Dllc_pdu.h206 static inline struct llc_pdu_sn *llc_pdu_sn_hdr(struct sk_buff *skb) in llc_pdu_sn_hdr()
218 static inline struct llc_pdu_un *llc_pdu_un_hdr(struct sk_buff *skb) in llc_pdu_un_hdr()
233 static inline void llc_pdu_header_init(struct sk_buff *skb, u8 type, in llc_pdu_header_init()
263 static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) in llc_pdu_decode_sa()
275 static inline void llc_pdu_decode_da(struct sk_buff *skb, u8 *da) in llc_pdu_decode_da()
288 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap()
301 static inline void llc_pdu_decode_dsap(struct sk_buff *skb, u8 *dsap) in llc_pdu_decode_dsap()
312 static inline void llc_pdu_init_as_ui_cmd(struct sk_buff *skb) in llc_pdu_init_as_ui_cmd()
326 static inline void llc_pdu_init_as_test_cmd(struct sk_buff *skb) in llc_pdu_init_as_test_cmd()
342 static inline void llc_pdu_init_as_test_rsp(struct sk_buff *skb, in llc_pdu_init_as_test_rsp()
[all …]
H A Dllc_s_ev.h48 static __inline__ struct llc_sap_state_ev *llc_sap_ev(struct sk_buff *skb) in llc_sap_ev()
55 typedef int (*llc_sap_ev_t)(struct llc_sap *sap, struct sk_buff *skb);
57 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb);
58 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb);
59 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb);
60 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb);
61 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb);
62 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb);
63 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb);
64 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb);
[all …]
H A Dudp.h215 struct sk_buff;
220 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
227 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
239 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
249 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
266 void udp_set_csum(bool nocheck, struct sk_buff *skb,
269 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
278 typedef struct sock *(*udp_lookup_t)(const struct sk_buff *skb, __be16 sport,
281 void udp_v6_early_demux(struct sk_buff *skb);
282 INDIRECT_CALLABLE_DECLARE(int udpv6_rcv(struct sk_buff *));
[all …]
/linux/include/linux/
H A Dskbuff.h274 SKB_DATA_ALIGN(sizeof(struct sk_buff)) + \
340 struct sk_buff *next;
341 struct sk_buff *prev;
348 struct sk_buff;
532 void (*complete)(struct sk_buff *, struct ubuf_info *,
535 int (*link_skb)(struct sk_buff *skb, struct ubuf_info *uarg);
601 struct sk_buff *frag_list;
885 struct sk_buff { struct
889 struct sk_buff *next; argument
890 struct sk_buff *prev;
[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,
155 nf_hook_entry_hookfn(const struct nf_hook_entry *entry, struct sk_buff *skb, in nf_hook_entry_hookfn()
168 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
215 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state,
228 struct sock *sk, struct sk_buff *skb, in nf_hook() argument
230 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
299 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
[all …]
/linux/net/ieee802154/
H A Dieee802154.h28 struct sk_buff *ieee802154_nl_create(int flags, u8 req);
29 int ieee802154_nl_mcast(struct sk_buff *msg, unsigned int group);
30 struct sk_buff *ieee802154_nl_new_reply(struct genl_info *info,
32 int ieee802154_nl_reply(struct sk_buff *msg, struct genl_info *info);
37 int ieee802154_list_phy(struct sk_buff *skb, struct genl_info *info);
38 int ieee802154_dump_phy(struct sk_buff *skb, struct netlink_callback *cb);
39 int ieee802154_add_iface(struct sk_buff *skb, struct genl_info *info);
40 int ieee802154_del_iface(struct sk_buff *skb, struct genl_info *info);
47 int ieee802154_associate_req(struct sk_buff *skb, struct genl_info *info);
48 int ieee802154_associate_resp(struct sk_buff *skb, struct genl_info *info);
[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/llc/
H A Dllc_c_ev.c78 struct sk_buff *skb; in llc_util_nr_inside_tx_window()
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.c32 static int llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb);
33 static void llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb);
34 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *ev);
36 static int llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb);
39 struct sk_buff *skb);
41 static int llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb);
45 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()
[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.h20 int netdev_nl_dev_get_doit(struct sk_buff *skb, struct genl_info *info);
21 int netdev_nl_dev_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
22 int netdev_nl_page_pool_get_doit(struct sk_buff *skb, struct genl_info *info);
23 int netdev_nl_page_pool_get_dumpit(struct sk_buff *skb,
25 int netdev_nl_page_pool_stats_get_doit(struct sk_buff *skb,
27 int netdev_nl_page_pool_stats_get_dumpit(struct sk_buff *skb,
29 int netdev_nl_queue_get_doit(struct sk_buff *skb, struct genl_info *info);
30 int netdev_nl_queue_get_dumpit(struct sk_buff *skb,
32 int netdev_nl_napi_get_doit(struct sk_buff *skb, struct genl_info *info);
33 int netdev_nl_napi_get_dumpit(struct sk_buff *sk
[all...]
/linux/net/shaper/
H A Dshaper_nl_gen.h20 struct sk_buff *skb, struct genl_info *info);
22 struct sk_buff *skb, struct genl_info *info);
24 struct sk_buff *skb, struct genl_info *info);
26 net_shaper_nl_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
30 struct sk_buff *skb, struct genl_info *info);
33 struct sk_buff *skb, struct genl_info *info);
39 int net_shaper_nl_get_doit(struct sk_buff *skb, struct genl_info *info);
40 int net_shaper_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
41 int net_shaper_nl_set_doit(struct sk_buff *skb, struct genl_info *info);
42 int net_shaper_nl_delete_doit(struct sk_buff *skb, struct genl_info *info);
[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/include/net/netfilter/
H A Dnf_conntrack_l4proto.h34 int (*to_nlattr)(struct sk_buff *skb, struct nlattr *nla,
40 int (*tuple_to_nlattr)(struct sk_buff *skb,
52 int (*obj_to_nlattr)(struct sk_buff *skb, const void *data);
64 bool icmp_pkt_to_tuple(const struct sk_buff *skb,
69 bool icmpv6_pkt_to_tuple(const struct sk_buff *skb,
79 int nf_conntrack_inet_error(struct nf_conn *tmpl, struct sk_buff *skb,
86 struct sk_buff *skb,
91 struct sk_buff *skb,
96 struct sk_buff *skb,
101 struct sk_buff *sk
[all...]
/linux/net/mptcp/
H A Dmptcp_pm_gen.h43 int mptcp_pm_nl_add_addr_doit(struct sk_buff *skb, struct genl_info *info);
44 int mptcp_pm_nl_del_addr_doit(struct sk_buff *skb, struct genl_info *info);
45 int mptcp_pm_nl_get_addr_doit(struct sk_buff *skb, struct genl_info *info);
46 int mptcp_pm_nl_get_addr_dumpit(struct sk_buff *skb,
48 int mptcp_pm_nl_flush_addrs_doit(struct sk_buff *skb, struct genl_info *info);
49 int mptcp_pm_nl_set_limits_doit(struct sk_buff *skb, struct genl_info *info);
50 int mptcp_pm_nl_get_limits_doit(struct sk_buff *skb, struct genl_info *info);
51 int mptcp_pm_nl_set_flags_doit(struct sk_buff *skb, struct genl_info *info);
52 int mptcp_pm_nl_announce_doit(struct sk_buff *skb, struct genl_info *info);
53 int mptcp_pm_nl_remove_doit(struct sk_buff *sk
[all...]
/linux/net/batman-adv/
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 …]

12345678910>>...100