Home
last modified time | relevance | path

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

12345678910>>...89

/Linux-v4.19/include/net/
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 …]
Dllc_c_ac.h90 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb);
92 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb);
93 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
94 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb);
95 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb);
96 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb);
97 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb);
98 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb);
100 struct sk_buff *skb);
102 struct sk_buff *skb);
[all …]
Dl3mdev.h31 struct sk_buff * (*l3mdev_l3_rcv)(struct net_device *dev,
32 struct sk_buff *skb, u16 proto);
33 struct sk_buff * (*l3mdev_l3_out)(struct net_device *dev,
34 struct sock *sk, struct sk_buff *skb,
139 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv()
155 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
161 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
167 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
184 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
190 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
[all …]
Dudp.h107 struct sk_buff;
112 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
119 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
131 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
141 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
158 void udp_set_csum(bool nocheck, struct sk_buff *skb,
161 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
170 typedef struct sock *(*udp_lookup_t)(struct sk_buff *skb, __be16 sport,
173 struct sk_buff *udp_gro_receive(struct list_head *head, struct sk_buff *skb,
175 int udp_gro_complete(struct sk_buff *skb, int nhoff, udp_lookup_t lookup);
[all …]
Dllc_s_ev.h47 static __inline__ struct llc_sap_state_ev *llc_sap_ev(struct sk_buff *skb) in llc_sap_ev()
54 typedef int (*llc_sap_ev_t)(struct llc_sap *sap, struct sk_buff *skb);
56 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb);
57 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb);
58 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb);
59 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb);
60 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb);
61 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb);
62 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb);
63 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb);
[all …]
Dnetlink.h240 int netlink_rcv_skb(struct sk_buff *skb,
241 int (*cb)(struct sk_buff *, struct nlmsghdr *,
243 int nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid,
259 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
260 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype,
262 void *__nla_reserve_nohdr(struct sk_buff *skb, int attrlen);
263 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
264 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype,
266 void *nla_reserve_nohdr(struct sk_buff *skb, int attrlen);
267 void __nla_put(struct sk_buff *skb, int attrtype, int attrlen,
[all …]
Dllc_s_ac.h26 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
28 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb);
29 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
30 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
31 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
32 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
33 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
34 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb);
35 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
36 int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
Dsch_generic.h48 struct sk_buff *head;
49 struct sk_buff *tail;
55 int (*enqueue)(struct sk_buff *skb,
57 struct sk_buff **to_free);
58 struct sk_buff * (*dequeue)(struct Qdisc *sch);
189 struct sk_buff *skb, struct tcmsg*);
201 int (*enqueue)(struct sk_buff *skb,
203 struct sk_buff **to_free);
204 struct sk_buff * (*dequeue)(struct Qdisc *);
205 struct sk_buff * (*peek)(struct Qdisc *);
[all …]
Dxfrm.h288 struct sk_buff *skb,
291 struct sk_buff *skb,
294 int (*overflow)(struct xfrm_state *x, struct sk_buff *skb);
298 struct xfrm_if *(*decode_session)(struct sk_buff *skb);
318 void (*decode_session)(struct sk_buff *skb,
361 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
362 int (*output_finish)(struct sock *sk, struct sk_buff *skb);
364 struct sk_buff *skb);
366 struct sk_buff *skb);
367 int (*transport_finish)(struct sk_buff *skb,
[all …]
Dllc_pdu.h203 static inline struct llc_pdu_sn *llc_pdu_sn_hdr(struct sk_buff *skb) in llc_pdu_sn_hdr()
215 static inline struct llc_pdu_un *llc_pdu_un_hdr(struct sk_buff *skb) in llc_pdu_un_hdr()
230 static inline void llc_pdu_header_init(struct sk_buff *skb, u8 type, in llc_pdu_header_init()
251 static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) in llc_pdu_decode_sa()
264 static inline void llc_pdu_decode_da(struct sk_buff *skb, u8 *da) in llc_pdu_decode_da()
278 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap()
291 static inline void llc_pdu_decode_dsap(struct sk_buff *skb, u8 *dsap) in llc_pdu_decode_dsap()
302 static inline void llc_pdu_init_as_ui_cmd(struct sk_buff *skb) in llc_pdu_init_as_ui_cmd()
316 static inline void llc_pdu_init_as_test_cmd(struct sk_buff *skb) in llc_pdu_init_as_test_cmd()
332 static inline void llc_pdu_init_as_test_rsp(struct sk_buff *skb, in llc_pdu_init_as_test_rsp()
[all …]
/Linux-v4.19/include/linux/
Dskbuff.h238 SKB_DATA_ALIGN(sizeof(struct sk_buff)) + \
285 struct sk_buff *next;
286 struct sk_buff *prev;
292 struct sk_buff;
486 int skb_zerocopy_iter_stream(struct sock *sk, struct sk_buff *skb,
501 struct sk_buff *frag_list;
665 struct sk_buff { struct
669 struct sk_buff *next; argument
670 struct sk_buff *prev;
705 void (*destructor)(struct sk_buff *skb); argument
[all …]
Dnetfilter.h45 struct sk_buff;
58 int (*okfn)(struct net *, struct sock *, struct sk_buff *);
62 struct sk_buff *skb,
116 nf_hook_entry_hookfn(const struct nf_hook_entry *entry, struct sk_buff *skb, in nf_hook_entry_hookfn()
129 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
183 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state,
194 struct sock *sk, struct sk_buff *skb, in nf_hook() argument
196 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
270 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
271 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND() argument
[all …]
Dnetlink.h14 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr()
47 void (*input)(struct sk_buff *skb);
117 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err,
121 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
122 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
124 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
126 int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data),
134 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
136 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
137 int netlink_sendskb(struct sock *sk, struct sk_buff *skb);
[all …]
Dskb_array.h46 static inline int skb_array_produce(struct skb_array *a, struct sk_buff *skb) in skb_array_produce()
51 static inline int skb_array_produce_irq(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_irq()
56 static inline int skb_array_produce_bh(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_bh()
61 static inline int skb_array_produce_any(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_any()
75 static inline struct sk_buff *__skb_array_peek(struct skb_array *a) in __skb_array_peek()
100 static inline struct sk_buff *__skb_array_consume(struct skb_array *a) in __skb_array_consume()
105 static inline struct sk_buff *skb_array_consume(struct skb_array *a) in skb_array_consume()
111 struct sk_buff **array, int n) in skb_array_consume_batched()
116 static inline struct sk_buff *skb_array_consume_irq(struct skb_array *a) in skb_array_consume_irq()
122 struct sk_buff **array, int n) in skb_array_consume_batched_irq()
[all …]
/Linux-v4.19/net/ieee802154/
Dieee802154.h39 struct sk_buff *ieee802154_nl_create(int flags, u8 req);
40 int ieee802154_nl_mcast(struct sk_buff *msg, unsigned int group);
41 struct sk_buff *ieee802154_nl_new_reply(struct genl_info *info,
43 int ieee802154_nl_reply(struct sk_buff *msg, struct genl_info *info);
48 int ieee802154_list_phy(struct sk_buff *skb, struct genl_info *info);
49 int ieee802154_dump_phy(struct sk_buff *skb, struct netlink_callback *cb);
50 int ieee802154_add_iface(struct sk_buff *skb, struct genl_info *info);
51 int ieee802154_del_iface(struct sk_buff *skb, struct genl_info *info);
58 int ieee802154_associate_req(struct sk_buff *skb, struct genl_info *info);
59 int ieee802154_associate_resp(struct sk_buff *skb, struct genl_info *info);
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h23 struct sk_buff;
26 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
30 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb,
36 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
38 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
40 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
42 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
44 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb,
[all …]
/Linux-v4.19/net/llc/
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 …]
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-v4.19/net/nfc/
Ddigital.h54 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev,
58 struct sk_buff *skb, struct digital_tg_mdaa_params *params,
64 struct sk_buff *skb, u16 timeout, in digital_in_send_cmd()
80 struct sk_buff *skb);
82 struct sk_buff *skb);
87 int digital_in_recv_mifare_res(struct sk_buff *resp);
93 struct nfc_target *target, struct sk_buff *skb,
98 struct sk_buff *skb, u16 timeout, in digital_tg_send_cmd()
106 struct sk_buff *resp);
109 struct sk_buff *resp);
[all …]
/Linux-v4.19/include/net/netfilter/
Dbr_netfilter.h7 static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb) in nf_bridge_alloc()
17 void nf_bridge_update_protocol(struct sk_buff *skb);
20 struct sk_buff *skb, struct net_device *indev,
23 struct sk_buff *));
26 nf_bridge_info_get(const struct sk_buff *skb) in nf_bridge_info_get()
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);
51 struct net_device *setup_pre_routing(struct sk_buff *skb);
55 int br_validate_ipv6(struct net *net, struct sk_buff *skb);
[all …]
/Linux-v4.19/net/batman-adv/
Dbridge_loop_avoidance.h31 struct sk_buff;
50 bool batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb,
52 bool batadv_bla_tx(struct batadv_priv *bat_priv, struct sk_buff *skb,
54 bool batadv_bla_is_backbone_gw(struct sk_buff *skb,
58 int batadv_bla_claim_dump(struct sk_buff *msg, struct netlink_callback *cb);
61 int batadv_bla_backbone_dump(struct sk_buff *msg, struct netlink_callback *cb);
65 struct sk_buff *skb);
72 int batadv_bla_claim_dump(struct sk_buff *msg, struct netlink_callback *cb);
81 struct sk_buff *skb, unsigned short vid, in batadv_bla_rx()
88 struct sk_buff *skb, unsigned short vid) in batadv_bla_tx()
[all …]
Dsend.h29 struct sk_buff;
38 struct sk_buff *skb);
45 int batadv_send_skb_to_orig(struct sk_buff *skb,
48 int batadv_send_skb_packet(struct sk_buff *skb,
51 int batadv_send_broadcast_skb(struct sk_buff *skb,
53 int batadv_send_unicast_skb(struct sk_buff *skb,
56 const struct sk_buff *skb,
63 struct sk_buff *skb,
67 struct sk_buff *skb, int packet_type,
72 struct sk_buff *skb, int packet_type,
[all …]
Drouting.h26 struct sk_buff;
28 bool batadv_check_management_packet(struct sk_buff *skb,
35 int batadv_recv_icmp_packet(struct sk_buff *skb,
37 int batadv_recv_unicast_packet(struct sk_buff *skb,
39 int batadv_recv_frag_packet(struct sk_buff *skb,
41 int batadv_recv_bcast_packet(struct sk_buff *skb,
43 int batadv_recv_tt_query(struct sk_buff *skb,
45 int batadv_recv_roam_adv(struct sk_buff *skb,
47 int batadv_recv_unicast_tvlv(struct sk_buff *skb,
49 int batadv_recv_unhandled_unicast_packet(struct sk_buff *skb,
/Linux-v4.19/net/tipc/
Dbearer.h104 int (*send_msg)(struct net *net, struct sk_buff *buf,
179 void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b);
193 int tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info);
194 int __tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info);
195 int tipc_nl_bearer_enable(struct sk_buff *skb, struct genl_info *info);
196 int __tipc_nl_bearer_enable(struct sk_buff *skb, struct genl_info *info);
197 int tipc_nl_bearer_dump(struct sk_buff *skb, struct netlink_callback *cb);
198 int tipc_nl_bearer_get(struct sk_buff *skb, struct genl_info *info);
199 int tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
200 int __tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
[all …]
/Linux-v4.19/net/dccp/
Dqpolicy.c18 static void qpolicy_simple_push(struct sock *sk, struct sk_buff *skb) in qpolicy_simple_push()
29 static struct sk_buff *qpolicy_simple_top(struct sock *sk) in qpolicy_simple_top()
39 static struct sk_buff *qpolicy_prio_best_skb(struct sock *sk) in qpolicy_prio_best_skb()
41 struct sk_buff *skb, *best = NULL; in qpolicy_prio_best_skb()
49 static struct sk_buff *qpolicy_prio_worst_skb(struct sock *sk) in qpolicy_prio_worst_skb()
51 struct sk_buff *skb, *worst = NULL; in qpolicy_prio_worst_skb()
73 void (*push) (struct sock *sk, struct sk_buff *skb);
75 struct sk_buff* (*top) (struct sock *sk);
96 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_push()
106 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_drop()
[all …]

12345678910>>...89