Home
last modified time | relevance | path

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

12345678910>>...91

/linux-6.6.21/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.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 …]
Dgro.h25 struct sk_buff *last;
94 static inline int gro_recursion_inc_test(struct sk_buff *skb) in gro_recursion_inc_test()
99 typedef struct sk_buff *(*gro_receive_t)(struct list_head *, struct sk_buff *);
100 static inline struct sk_buff *call_gro_receive(gro_receive_t cb, in call_gro_receive()
102 struct sk_buff *skb) in call_gro_receive()
112 typedef struct sk_buff *(*gro_receive_sk_t)(struct sock *, struct list_head *,
113 struct sk_buff *);
114 static inline struct sk_buff *call_gro_receive_sk(gro_receive_sk_t cb, in call_gro_receive_sk()
117 struct sk_buff *skb) in call_gro_receive_sk()
127 static inline unsigned int skb_gro_offset(const struct sk_buff *skb) in skb_gro_offset()
[all …]
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,
165 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv()
182 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
188 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
194 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
211 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
217 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
[all …]
Dudp.h106 struct sk_buff;
111 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
118 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
130 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
140 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
157 void udp_set_csum(bool nocheck, struct sk_buff *skb,
160 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
169 typedef struct sock *(*udp_lookup_t)(const struct sk_buff *skb, __be16 sport,
172 void udp_v6_early_demux(struct sk_buff *skb);
173 INDIRECT_CALLABLE_DECLARE(int udpv6_rcv(struct sk_buff *));
[all …]
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 …]
Dmptcp.h139 bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb,
143 bool mptcp_established_options(struct sock *sk, struct sk_buff *skb,
146 bool mptcp_incoming_options(struct sock *sk, struct sk_buff *skb);
156 static inline void mptcp_skb_ext_move(struct sk_buff *to, in mptcp_skb_ext_move()
157 struct sk_buff *from) in mptcp_skb_ext_move()
170 static inline void mptcp_skb_ext_copy(struct sk_buff *to, in mptcp_skb_ext_copy()
171 struct sk_buff *from) in mptcp_skb_ext_copy()
199 static inline bool mptcp_skb_can_collapse(const struct sk_buff *to, in mptcp_skb_can_collapse()
200 const struct sk_buff *from) in mptcp_skb_can_collapse()
209 struct sk_buff *skb);
[all …]
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 …]
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 …]
/linux-6.6.21/include/linux/
Dskbuff.h272 SKB_DATA_ALIGN(sizeof(struct sk_buff)) + \
339 struct sk_buff *next;
340 struct sk_buff *prev;
347 struct sk_buff;
534 void (*callback)(struct sk_buff *, struct ubuf_info *,
580 struct sk_buff *frag_list;
842 struct sk_buff { struct
846 struct sk_buff *next; argument
847 struct sk_buff *prev;
883 void (*destructor)(struct sk_buff *skb); argument
[all …]
Dnetfilter.h62 struct sk_buff;
75 int (*okfn)(struct net *, struct sock *, struct sk_buff *);
79 struct sk_buff *skb,
141 nf_hook_entry_hookfn(const struct nf_hook_entry *entry, struct sk_buff *skb, in nf_hook_entry_hookfn()
154 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
201 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state,
214 struct sock *sk, struct sk_buff *skb, in nf_hook() argument
216 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
285 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
286 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND() argument
[all …]
/linux-6.6.21/net/devlink/
Dnetlink_gen.h17 int devlink_nl_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
20 struct sk_buff *skb, struct genl_info *info);
22 struct sk_buff *skb,
25 devlink_nl_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
28 int devlink_nl_get_doit(struct sk_buff *skb, struct genl_info *info);
29 int devlink_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
30 int devlink_nl_port_get_doit(struct sk_buff *skb, struct genl_info *info);
31 int devlink_nl_port_get_dumpit(struct sk_buff *skb,
33 int devlink_nl_sb_get_doit(struct sk_buff *skb, struct genl_info *info);
34 int devlink_nl_sb_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
[all …]
Ddevl_internal.h119 typedef int devlink_nl_dump_one_func_t(struct sk_buff *msg,
127 int devlink_nl_dumpit(struct sk_buff *msg, struct netlink_callback *cb,
139 devlink_nl_put_handle(struct sk_buff *msg, struct devlink *devlink) in devlink_nl_put_handle()
148 int devlink_nl_msg_reply_and_new(struct sk_buff **msg, struct genl_info *info);
224 int devlink_nl_cmd_reload(struct sk_buff *skb, struct genl_info *info);
225 int devlink_nl_cmd_eswitch_get_doit(struct sk_buff *skb, struct genl_info *info);
226 int devlink_nl_cmd_eswitch_set_doit(struct sk_buff *skb, struct genl_info *info);
227 int devlink_nl_cmd_flash_update(struct sk_buff *skb, struct genl_info *info);
228 int devlink_nl_cmd_selftests_run(struct sk_buff *skb, struct genl_info *info);
229 int devlink_nl_cmd_port_set_doit(struct sk_buff *skb, struct genl_info *info);
[all …]
/linux-6.6.21/net/ieee802154/
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-6.6.21/drivers/net/wireless/ath/ath10k/
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-6.6.21/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-6.6.21/net/nfc/
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-6.6.21/include/linux/can/
Dskb.h20 int can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
22 struct sk_buff *__can_get_echo_skb(struct net_device *dev, unsigned int idx,
30 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf);
31 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
33 struct sk_buff *alloc_canxl_skb(struct net_device *dev,
36 struct sk_buff *alloc_can_err_skb(struct net_device *dev,
38 bool can_dropped_invalid_skb(struct net_device *dev, struct sk_buff *skb);
63 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()
[all …]
/linux-6.6.21/include/net/netfilter/ipv4/
Dnf_reject.h10 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
11 void nf_send_reset(struct net *net, struct sock *, struct sk_buff *oldskb,
13 const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb,
15 struct iphdr *nf_reject_iphdr_put(struct sk_buff *nskb,
16 const struct sk_buff *oldskb,
18 void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb,
21 struct sk_buff *nf_reject_skb_v4_unreach(struct net *net,
22 struct sk_buff *oldskb,
25 struct sk_buff *nf_reject_skb_v4_tcp_reset(struct net *net,
26 struct sk_buff *oldskb,
/linux-6.6.21/include/net/netfilter/ipv6/
Dnf_reject.h8 void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
10 void nf_send_reset6(struct net *net, struct sock *sk, struct sk_buff *oldskb,
12 const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb,
15 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb,
16 const struct sk_buff *oldskb,
18 void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb,
19 const struct sk_buff *oldskb,
22 struct sk_buff *nf_reject_skb_v6_tcp_reset(struct net *net,
23 struct sk_buff *oldskb,
26 struct sk_buff *nf_reject_skb_v6_unreach(struct net *net,
[all …]
/linux-6.6.21/include/net/netfilter/
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 …]
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 *skb,
[all …]
/linux-6.6.21/net/batman-adv/
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 …]
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>>...91