Home
last modified time | relevance | path

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

12345678910>>...13

/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 …]
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 …]
Dgro.h82 struct sk_buff *last;
88 static inline int gro_recursion_inc_test(struct sk_buff *skb) in gro_recursion_inc_test()
93 typedef struct sk_buff *(*gro_receive_t)(struct list_head *, struct sk_buff *);
94 static inline struct sk_buff *call_gro_receive(gro_receive_t cb, in call_gro_receive()
96 struct sk_buff *skb) in call_gro_receive()
106 typedef struct sk_buff *(*gro_receive_sk_t)(struct sock *, struct list_head *,
107 struct sk_buff *);
108 static inline struct sk_buff *call_gro_receive_sk(gro_receive_sk_t cb, in call_gro_receive_sk()
111 struct sk_buff *skb) in call_gro_receive_sk()
121 static inline unsigned int skb_gro_offset(const struct sk_buff *skb) in skb_gro_offset()
[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 …]
Dllc_sap.h19 struct sk_buff;
22 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
23 void llc_save_primitive(struct sock *sk, struct sk_buff *skb,
25 struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
28 void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb,
30 void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
Dmptcp.h118 bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb,
122 bool mptcp_established_options(struct sock *sk, struct sk_buff *skb,
125 bool mptcp_incoming_options(struct sock *sk, struct sk_buff *skb);
135 static inline void mptcp_skb_ext_move(struct sk_buff *to, in mptcp_skb_ext_move()
136 struct sk_buff *from) in mptcp_skb_ext_move()
149 static inline void mptcp_skb_ext_copy(struct sk_buff *to, in mptcp_skb_ext_copy()
150 struct sk_buff *from) in mptcp_skb_ext_copy()
178 static inline bool mptcp_skb_can_collapse(const struct sk_buff *to, in mptcp_skb_can_collapse()
179 const struct sk_buff *from) in mptcp_skb_can_collapse()
188 struct sk_buff *skb);
[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 …]
Dicmp.h36 struct sk_buff;
39 void __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info,
41 static inline void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) in icmp_send()
47 void icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info);
49 static inline void icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info) in icmp_ndo_send()
56 int icmp_rcv(struct sk_buff *skb);
57 int icmp_err(struct sk_buff *skb, u32 info);
60 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr);
Dudp.h105 struct sk_buff;
110 static inline __sum16 __udp_lib_checksum_complete(struct sk_buff *skb) in __udp_lib_checksum_complete()
117 static inline int udp_lib_checksum_complete(struct sk_buff *skb) in udp_lib_checksum_complete()
129 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
139 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum()
156 void udp_set_csum(bool nocheck, struct sk_buff *skb,
159 static inline void udp_csum_pull_header(struct sk_buff *skb) in udp_csum_pull_header()
168 typedef struct sock *(*udp_lookup_t)(const struct sk_buff *skb, __be16 sport,
171 void udp_v6_early_demux(struct sk_buff *skb);
172 INDIRECT_CALLABLE_DECLARE(int udpv6_rcv(struct sk_buff *));
[all …]
Desp.h10 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) in ip_esp_hdr()
44 int esp_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
45 int esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
46 int esp_input_done2(struct sk_buff *skb, int err);
47 int esp6_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
48 int esp6_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
49 int esp6_input_done2(struct sk_buff *skb, int err);
/include/linux/
Dskbuff.h281 SKB_DATA_ALIGN(sizeof(struct sk_buff)) + \
342 struct sk_buff *next;
343 struct sk_buff *prev;
350 struct sk_buff;
545 void (*callback)(struct sk_buff *, struct ubuf_info *,
591 struct sk_buff *frag_list;
856 struct sk_buff { struct
860 struct sk_buff *next; argument
861 struct sk_buff *prev;
897 void (*destructor)(struct sk_buff *skb); argument
[all …]
Dnetfilter_bridge.h17 int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb);
19 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()
82 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
Dicmpv6.h9 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) in icmp6_hdr()
18 typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info,
21 void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info,
25 static inline void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, in __icmpv6_send()
41 extern void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info,
47 static inline void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) in icmpv6_send()
52 int ip6_err_gen_icmpv6_unreach(struct sk_buff *skb, int nhs, int type,
56 void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info);
58 static inline void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info) in icmpv6_ndo_send()
67 static inline void icmpv6_send(struct sk_buff *skb, in icmpv6_send()
[all …]
Dskb_array.h42 static inline int skb_array_produce(struct skb_array *a, struct sk_buff *skb) in skb_array_produce()
47 static inline int skb_array_produce_irq(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_irq()
52 static inline int skb_array_produce_bh(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_bh()
57 static inline int skb_array_produce_any(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_any()
71 static inline struct sk_buff *__skb_array_peek(struct skb_array *a) in __skb_array_peek()
96 static inline struct sk_buff *__skb_array_consume(struct skb_array *a) in __skb_array_consume()
101 static inline struct sk_buff *skb_array_consume(struct skb_array *a) in skb_array_consume()
107 struct sk_buff **array, int n) in skb_array_consume_batched()
112 static inline struct sk_buff *skb_array_consume_irq(struct skb_array *a) in skb_array_consume_irq()
118 struct sk_buff **array, int n) in skb_array_consume_batched_irq()
[all …]
Dnetfilter.h62 struct sk_buff;
75 int (*okfn)(struct net *, struct sock *, struct sk_buff *);
79 struct sk_buff *skb,
140 nf_hook_entry_hookfn(const struct nf_hook_entry *entry, struct sk_buff *skb, in nf_hook_entry_hookfn()
153 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
202 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state,
215 struct sock *sk, struct sk_buff *skb, in nf_hook() argument
217 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
286 struct sk_buff *skb, struct net_device *in, struct net_device *out, in NF_HOOK_COND()
287 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND() argument
[all …]
Dip.h19 static inline struct iphdr *ip_hdr(const struct sk_buff *skb) in ip_hdr()
24 static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb) in inner_ip_hdr()
29 static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) in ipip_hdr()
34 static inline unsigned int ip_transport_len(const struct sk_buff *skb) in ip_transport_len()
39 static inline unsigned int iph_totlen(const struct sk_buff *skb, const struct iphdr *iph) in iph_totlen()
47 static inline unsigned int skb_ip_totlen(const struct sk_buff *skb) in skb_ip_totlen()
Dnetfilter_netdev.h9 static inline bool nf_hook_ingress_active(const struct sk_buff *skb) in nf_hook_ingress_active()
19 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
42 static inline int nf_hook_ingress_active(struct sk_buff *skb) in nf_hook_ingress_active()
47 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
85 static inline struct sk_buff *nf_hook_egress(struct sk_buff *skb, int *rc, in nf_hook_egress()
126 static inline struct sk_buff *nf_hook_egress(struct sk_buff *skb, int *rc, in nf_hook_egress()
133 static inline void nf_skip_egress(struct sk_buff *skb, bool skip) in nf_skip_egress()
/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,
/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 …]
/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 …]
/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 …]
/include/rdma/
Diw_portmap.h48 int iwpm_register_pid_cb(struct sk_buff *, struct netlink_callback *);
49 int iwpm_add_mapping_cb(struct sk_buff *, struct netlink_callback *);
50 int iwpm_add_and_query_mapping_cb(struct sk_buff *, struct netlink_callback *);
51 int iwpm_remote_info_cb(struct sk_buff *, struct netlink_callback *);
52 int iwpm_mapping_error_cb(struct sk_buff *, struct netlink_callback *);
53 int iwpm_mapping_info_cb(struct sk_buff *, struct netlink_callback *);
54 int iwpm_ack_mapping_info_cb(struct sk_buff *, struct netlink_callback *);
64 int iwpm_hello_cb(struct sk_buff *skb, struct netlink_callback *cb);
/include/linux/usb/
Dcdc_ncm.h111 struct sk_buff *tx_curr_skb;
112 struct sk_buff *tx_rem_skb;
159 struct sk_buff *cdc_ncm_fill_tx_frame(struct usbnet *dev, struct sk_buff *skb, __le32 sign);
160 int cdc_ncm_rx_verify_nth16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb_in);
161 int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset);
162 int cdc_ncm_rx_verify_nth32(struct cdc_ncm_ctx *ctx, struct sk_buff *skb_in);
163 int cdc_ncm_rx_verify_ndp32(struct sk_buff *skb_in, int ndpoffset);
164 struct sk_buff *
165 cdc_ncm_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags);
166 int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in);

12345678910>>...13