Home
last modified time | relevance | path

Searched refs:sk_buff (Results 1 – 200 of 2622) sorted by relevance

12345678910>>...14

/linux-4.4.14/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 …]
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.h231 int netlink_rcv_skb(struct sk_buff *skb,
232 int (*cb)(struct sk_buff *, struct nlmsghdr *));
233 int nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid,
246 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
247 void *__nla_reserve_nohdr(struct sk_buff *skb, int attrlen);
248 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
249 void *nla_reserve_nohdr(struct sk_buff *skb, int attrlen);
250 void __nla_put(struct sk_buff *skb, int attrtype, int attrlen,
252 void __nla_put_nohdr(struct sk_buff *skb, int attrlen, const void *data);
253 int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data);
[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);
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 …]
Dip.h53 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
103 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
106 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
108 int ip_local_deliver(struct sk_buff *skb);
109 int ip_mr_input(struct sk_buff *skb);
110 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb);
111 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb);
112 int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
113 int (*output)(struct net *, struct sock *, struct sk_buff *));
115 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
[all …]
Dsch_generic.h48 int (*enqueue)(struct sk_buff *skb, struct Qdisc *dev);
49 struct sk_buff * (*dequeue)(struct Qdisc *dev);
73 int (*reshape_fail)(struct sk_buff *skb,
89 struct sk_buff *gso_skb;
177 struct sk_buff *skb, struct tcmsg*);
188 int (*enqueue)(struct sk_buff *, struct Qdisc *);
189 struct sk_buff * (*dequeue)(struct Qdisc *);
190 struct sk_buff * (*peek)(struct Qdisc *);
199 int (*dump)(struct Qdisc *, struct sk_buff *);
215 int (*classify)(struct sk_buff *,
[all …]
Dxfrm.h272 struct sk_buff *skb,
275 struct sk_buff *skb,
278 int (*overflow)(struct xfrm_state *x, struct sk_buff *skb);
295 void (*decode_session)(struct sk_buff *skb,
336 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
337 int (*output_finish)(struct sock *sk, struct sk_buff *skb);
339 struct sk_buff *skb);
341 struct sk_buff *skb);
342 int (*transport_finish)(struct sk_buff *skb,
344 void (*local_error)(struct sk_buff *skb, u32 mtu);
[all …]
Dtcp.h353 void tcp_v4_err(struct sk_buff *skb, u32);
357 void tcp_v4_early_demux(struct sk_buff *skb);
358 int tcp_v4_rcv(struct sk_buff *skb);
365 void tcp_wfree(struct sk_buff *skb);
369 int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb);
370 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
408 struct sk_buff *skb,
410 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
413 struct sk_buff *skb);
441 void tcp_parse_options(const struct sk_buff *skb,
[all …]
Dlwtunnel.h21 int (*orig_output)(struct net *net, struct sock *sk, struct sk_buff *skb);
22 int (*orig_input)(struct sk_buff *);
31 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
32 int (*input)(struct sk_buff *skb);
33 int (*fill_encap)(struct sk_buff *skb,
86 int lwtunnel_fill_encap(struct sk_buff *skb,
91 int lwtunnel_output(struct net *net, struct sock *sk, struct sk_buff *skb);
92 int lwtunnel_input(struct sk_buff *skb);
141 static inline int lwtunnel_fill_encap(struct sk_buff *skb, in lwtunnel_fill_encap()
163 static inline int lwtunnel_output(struct net *net, struct sock *sk, struct sk_buff *skb) in lwtunnel_output()
[all …]
Dllc.h27 struct sk_buff;
59 int (*rcv_func)(struct sk_buff *skb,
97 int llc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
100 int llc_mac_hdr_init(struct sk_buff *skb, const unsigned char *sa,
104 void (*handler)(struct llc_sap *sap, struct sk_buff *skb));
107 void llc_set_station_handler(void (*handler)(struct sk_buff *skb));
110 int (*rcv)(struct sk_buff *skb,
129 int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb,
132 void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb);
133 void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb);
Dgenetlink.h59 struct sk_buff *skb,
62 struct sk_buff *skb,
123 int (*doit)(struct sk_buff *skb,
125 int (*dumpit)(struct sk_buff *skb,
186 void genl_notify(struct genl_family *family, struct sk_buff *skb,
189 struct sk_buff *genlmsg_new_unicast(size_t payload, struct genl_info *info,
191 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq,
253 static inline void *genlmsg_put_reply(struct sk_buff *skb, in genlmsg_put_reply()
267 static inline void genlmsg_end(struct sk_buff *skb, void *hdr) in genlmsg_end()
277 static inline void genlmsg_cancel(struct sk_buff *skb, void *hdr) in genlmsg_cancel()
[all …]
Dx25.h190 int x25_parse_address_block(struct sk_buff *skb,
198 int x25_rx_call_request(struct sk_buff *, struct x25_neigh *, unsigned int);
202 void x25_send_frame(struct sk_buff *, struct x25_neigh *);
203 int x25_lapb_receive_frame(struct sk_buff *, struct net_device *,
209 int x25_parse_facilities(struct sk_buff *, struct x25_facilities *,
213 int x25_negotiate_facilities(struct sk_buff *, struct sock *,
221 int x25_forward_data(int, struct x25_neigh *, struct sk_buff *);
222 int x25_forward_call(struct x25_address *, struct x25_neigh *, struct sk_buff *,
226 int x25_process_rx_frame(struct sock *, struct sk_buff *);
227 int x25_backlog_rcv(struct sock *, struct sk_buff *);
[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 struct sk_buff **udp_gro_receive(struct sk_buff **head, struct sk_buff *skb,
163 int udp_gro_complete(struct sk_buff *skb, int nhoff);
165 static inline struct udphdr *udp_gro_udphdr(struct sk_buff *skb) in udp_gro_udphdr()
199 static inline __be16 udp_flow_src_port(struct net *net, struct sk_buff *skb, in udp_flow_src_port()
[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,
Dcipso_ipv4.h206 void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway);
218 int cipso_v4_skbuff_setattr(struct sk_buff *skb,
221 int cipso_v4_skbuff_delattr(struct sk_buff *skb);
222 int cipso_v4_skbuff_getattr(const struct sk_buff *skb,
224 unsigned char *cipso_v4_optptr(const struct sk_buff *skb);
225 int cipso_v4_validate(const struct sk_buff *skb, unsigned char **option);
227 static inline void cipso_v4_error(struct sk_buff *skb, in cipso_v4_error()
269 static inline int cipso_v4_skbuff_setattr(struct sk_buff *skb, in cipso_v4_skbuff_setattr()
276 static inline int cipso_v4_skbuff_delattr(struct sk_buff *skb) in cipso_v4_skbuff_delattr()
281 static inline int cipso_v4_skbuff_getattr(const struct sk_buff *skb, in cipso_v4_skbuff_getattr()
[all …]
Daf_rxrpc.h33 struct sk_buff *);
43 bool rxrpc_kernel_is_data_last(struct sk_buff *);
44 u32 rxrpc_kernel_get_abort_code(struct sk_buff *);
45 int rxrpc_kernel_get_error_number(struct sk_buff *);
46 void rxrpc_kernel_data_delivered(struct sk_buff *);
47 void rxrpc_kernel_free_skb(struct sk_buff *);
Dip_vs.h68 static inline void *frag_safe_skb_hp(const struct sk_buff *skb, int offset, in frag_safe_skb_hp()
80 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off()
124 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_icmp()
136 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb()
419 struct sk_buff;
438 int af, struct sk_buff *skb,
446 const struct sk_buff *skb,
452 const struct sk_buff *skb,
455 int (*snat_handler)(struct sk_buff *skb, struct ip_vs_protocol *pp,
458 int (*dnat_handler)(struct sk_buff *skb, struct ip_vs_protocol *pp,
[all …]
Drawv6.h6 void raw6_icmp_error(struct sk_buff *, int nexthdr,
8 bool raw6_local_deliver(struct sk_buff *, int);
10 int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
14 struct sk_buff *skb));
16 struct sk_buff *skb));
Ddst.h31 struct sk_buff;
47 int (*input)(struct sk_buff *);
48 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
290 static inline void skb_dst_drop(struct sk_buff *skb) in skb_dst_drop()
298 static inline void __skb_dst_copy(struct sk_buff *nskb, unsigned long refdst) in __skb_dst_copy()
305 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy()
316 static inline void skb_dst_force(struct sk_buff *skb) in skb_dst_force()
346 static inline void skb_dst_force_safe(struct sk_buff *skb) in skb_dst_force_safe()
368 static inline void __skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev, in __skb_tunnel_rx()
392 static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev, in skb_tunnel_rx()
[all …]
Dip6_route.h65 void ip6_route_input(struct sk_buff *skb);
118 void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, int oif,
120 void ip6_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, __be32 mtu);
121 void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark);
122 void ip6_redirect_no_header(struct sk_buff *skb, struct net *net, int oif,
124 void ip6_sk_redirect(struct sk_buff *skb, struct sock *sk);
129 struct sk_buff *skb;
158 static inline bool ipv6_unicast_destination(const struct sk_buff *skb) in ipv6_unicast_destination()
175 int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
176 int (*output)(struct net *, struct sock *, struct sk_buff *));
[all …]
Dax25.h279 static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev) in ax25_type_trans()
295 void ax25_send_to_raw(ax25_address *, struct sk_buff *, int);
333 int ax25_ds_frame_in(ax25_cb *, struct sk_buff *, int);
358 int (*func)(struct sk_buff *, ax25_cb *);
373 int(*ax25_protocol_function(unsigned int))(struct sk_buff *, ax25_cb *);
379 int ax25_rx_iframe(ax25_cb *, struct sk_buff *);
380 int ax25_kiss_rcv(struct sk_buff *, struct net_device *, struct packet_type *,
384 netdev_tx_t ax25_ip_xmit(struct sk_buff *skb);
388 ax25_cb *ax25_send_frame(struct sk_buff *, int, ax25_address *, ax25_address *,
390 void ax25_output(ax25_cb *, int, struct sk_buff *);
[all …]
Ddst_ops.h10 struct sk_buff;
27 void (*link_failure)(struct sk_buff *);
29 struct sk_buff *skb, u32 mtu);
31 struct sk_buff *skb);
32 int (*local_out)(struct net *net, struct sock *sk, struct sk_buff *skb);
34 struct sk_buff *skb,
Dpkt_cls.h123 tcf_exts_exec(struct sk_buff *skb, struct tcf_exts *exts, in tcf_exts_exec()
139 int tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts);
140 int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts);
235 int (*match)(struct sk_buff *, struct tcf_ematch *,
238 int (*dump)(struct sk_buff *, struct tcf_ematch *);
248 int tcf_em_tree_dump(struct sk_buff *, struct tcf_ematch_tree *, int);
249 int __tcf_em_tree_match(struct sk_buff *, struct tcf_ematch_tree *,
286 static inline int tcf_em_tree_match(struct sk_buff *skb, in tcf_em_tree_match()
311 static inline unsigned char * tcf_get_base_ptr(struct sk_buff *skb, int layer) in tcf_get_base_ptr()
325 static inline int tcf_valid_offset(const struct sk_buff *skb, in tcf_valid_offset()
[all …]
Ddst_metadata.h15 static inline struct metadata_dst *skb_metadata_dst(struct sk_buff *skb) in skb_metadata_dst()
25 static inline struct ip_tunnel_info *skb_tunnel_info(struct sk_buff *skb) in skb_tunnel_info()
40 static inline bool skb_valid_dst(const struct sk_buff *skb) in skb_valid_dst()
47 static inline int skb_metadata_dst_cmp(const struct sk_buff *skb_a, in skb_metadata_dst_cmp()
48 const struct sk_buff *skb_b) in skb_metadata_dst_cmp()
81 static inline struct metadata_dst *tun_dst_unclone(struct sk_buff *skb) in tun_dst_unclone()
103 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
114 static inline struct metadata_dst *ip_tun_rx_dst(struct sk_buff *skb, in ip_tun_rx_dst()
132 static inline struct metadata_dst *ipv6_tun_rx_dst(struct sk_buff *skb, in ipv6_tun_rx_dst()
Dprotocol.h42 void (*early_demux)(struct sk_buff *skb);
43 int (*handler)(struct sk_buff *skb);
44 void (*err_handler)(struct sk_buff *skb, u32 info);
56 void (*early_demux)(struct sk_buff *skb);
58 int (*handler)(struct sk_buff *skb);
60 void (*err_handler)(struct sk_buff *skb,
Dudp_tunnel.h65 typedef int (*udp_tunnel_encap_rcv_t)(struct sock *sk, struct sk_buff *skb);
81 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb,
88 struct sk_buff *skb,
97 struct metadata_dst *udp_tun_rx_dst(struct sk_buff *skb, unsigned short family,
101 static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb, in udp_tunnel_handle_offloads()
109 static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff) in udp_tunnel_gro_complete()
Dping.h38 struct sk_buff *skb);
41 struct sk_buff *skb);
43 void (*ipv6_icmp_error)(struct sock *sk, struct sk_buff *skb, int err,
74 void ping_err(struct sk_buff *skb, int offset, u32 info);
76 struct sk_buff *);
83 int ping_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
84 bool ping_rcv(struct sk_buff *skb);
Drtnetlink.h7 typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *);
8 typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *);
9 typedef u16 (*rtnl_calcit_func)(struct sk_buff *, struct nlmsghdr *);
75 int (*fill_info)(struct sk_buff *skb,
79 int (*fill_xstats)(struct sk_buff *skb,
94 int (*fill_slave_info)(struct sk_buff *skb,
124 int (*fill_link_af)(struct sk_buff *skb,
Dwimax.h493 struct sk_buff *wimax_msg_alloc(struct wimax_dev *, const char *, const void *,
495 int wimax_msg_send(struct wimax_dev *, struct sk_buff *);
498 const void *wimax_msg_data_len(struct sk_buff *, size_t *);
499 const void *wimax_msg_data(struct sk_buff *);
500 ssize_t wimax_msg_len(struct sk_buff *);
Dtso.h15 int tso_count_descs(struct sk_buff *skb);
16 void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso,
18 void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size);
19 void tso_start(struct sk_buff *skb, struct tso_t *tso);
Dip6_checksum.h44 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) in ip6_compute_pseudo()
51 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) in ip6_gro_compute_pseudo()
67 static inline void __tcp_v6_send_check(struct sk_buff *skb, in __tcp_v6_send_check()
85 static inline void tcp_v6_send_check(struct sock *sk, struct sk_buff *skb) in tcp_v6_send_check()
101 void udp6_set_csum(bool nocheck, struct sk_buff *skb,
105 int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto);
Dipcomp.h16 struct sk_buff;
19 int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb);
20 int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb);
24 static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb) in ip_comp_hdr()
Dact_api.h103 int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *);
104 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
110 int (*walk)(struct sk_buff *, struct netlink_callback *, int, struct tc_action *);
131 int tcf_action_exec(struct sk_buff *skb, const struct list_head *actions,
139 int tcf_action_dump(struct sk_buff *skb, struct list_head *, int, int);
140 int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
141 int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
142 int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
Ddn_neigh.h21 int dn_neigh_router_hello(struct net *net, struct sock *sk, struct sk_buff *skb);
22 int dn_neigh_endnode_hello(struct net *net, struct sock *sk, struct sk_buff *skb);
23 void dn_neigh_pointopoint_hello(struct sk_buff *skb);
25 int dn_to_neigh_output(struct net *net, struct sock *sk, struct sk_buff *skb);
Dnetrom.h186 int nr_rx_frame(struct sk_buff *, struct net_device *);
190 int nr_rx_ip(struct sk_buff *, struct net_device *);
194 int nr_process_rx_frame(struct sock *, struct sk_buff *);
199 int nr_loopback_queue(struct sk_buff *);
202 void nr_output(struct sock *, struct sk_buff *);
205 void nr_transmit_buffer(struct sock *, struct sk_buff *);
216 int nr_route_frame(struct sk_buff *, ax25_cb *);
229 void __nr_transmit_reply(struct sk_buff *skb, int mine, unsigned char cmdflags);
Dicmp.h39 struct sk_buff;
42 void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info);
43 int icmp_rcv(struct sk_buff *skb);
44 void icmp_err(struct sk_buff *skb, u32 info);
Ddn_route.h18 struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri);
21 int dn_cache_dump(struct sk_buff *skb, struct netlink_callback *cb);
23 int dn_route_rcv(struct sk_buff *skb, struct net_device *dev,
104 static inline void dn_rt_send(struct sk_buff *skb) in dn_rt_send()
109 static inline void dn_rt_finish_output(struct sk_buff *skb, char *dst, char *src) in dn_rt_finish_output()
Ddn_nsp.h25 void dn_nsp_return_disc(struct sk_buff *skb, unsigned char type,
31 int dn_nsp_check_xmit_queue(struct sock *sk, struct sk_buff *skb,
33 void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, gfp_t gfp,
38 int dn_nsp_rx(struct sk_buff *);
39 int dn_nsp_backlog_rcv(struct sock *sk, struct sk_buff *skb);
41 struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri);
42 struct sk_buff *dn_alloc_send_skb(struct sock *sk, size_t *size, int noblock,
Dipv6.h291 void icmpv6_notify(struct sk_buff *skb, u8 type, u8 code, __be32 info);
298 int ipv6_parse_hopopts(struct sk_buff *skb);
310 bool ipv6_opt_accepted(const struct sock *sk, const struct sk_buff *skb,
697 void ipv6_proxy_select_ident(struct net *net, struct sk_buff *skb);
741 static inline __be32 ip6_make_flowlabel(struct net *net, struct sk_buff *skb, in ip6_make_flowlabel()
783 static inline __be32 ip6_make_flowlabel(struct net *net, struct sk_buff *skb, in ip6_make_flowlabel()
827 int ipv6_rcv(struct sk_buff *skb, struct net_device *dev,
830 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb);
835 int ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
838 int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr);
[all …]
Drose.h170 int rose_rx_call_request(struct sk_buff *, struct net_device *,
178 int rose_process_rx_frame(struct sock *, struct sk_buff *);
185 void rose_link_rx_restart(struct sk_buff *, struct rose_neigh *,
189 void rose_transmit_link(struct sk_buff *, struct rose_neigh *);
194 int rose_loopback_queue(struct sk_buff *, struct rose_neigh *);
218 int rose_route_frame(struct sk_buff *, ax25_cb *);
227 int rose_decode(struct sk_buff *, int *, int *, int *, int *, int *);
/linux-4.4.14/include/linux/
Dskbuff.h154 SKB_DATA_ALIGN(sizeof(struct sk_buff)) + \
201 struct sk_buff *next;
202 struct sk_buff *prev;
208 struct sk_buff;
339 struct sk_buff *frag_list;
546 struct sk_buff { struct
550 struct sk_buff *next; argument
551 struct sk_buff *prev;
572 void (*destructor)(struct sk_buff *skb); argument
614 #define PKT_TYPE_OFFSET() offsetof(struct sk_buff, __pkt_type_offset) argument
[all …]
Dnetfilter.h44 struct sk_buff;
59 int (*okfn)(struct net *, struct sock *, struct sk_buff *);
70 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
84 struct sk_buff *skb,
162 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state);
174 struct sk_buff *skb, in nf_hook_thresh()
177 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in nf_hook_thresh() argument
193 struct sock *sk, struct sk_buff *skb, in nf_hook() argument
195 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
219 struct sk_buff *skb, struct net_device *in, in NF_HOOK_THRESH()
[all …]
Dnetlink.h13 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr()
49 void (*input)(struct sk_buff *skb);
69 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
72 extern struct sk_buff *__netlink_alloc_skb(struct sock *ssk, unsigned int size,
75 static inline struct sk_buff *
82 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
83 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
85 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
87 int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data),
95 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
[all …]
Dif_vlan.h61 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr()
189 extern bool vlan_do_receive(struct sk_buff **skb);
238 static inline bool vlan_do_receive(struct sk_buff **skb) in vlan_do_receive()
295 static inline int __vlan_insert_tag(struct sk_buff *skb, in __vlan_insert_tag()
332 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag()
357 static inline struct sk_buff *vlan_insert_tag_set_proto(struct sk_buff *skb, in vlan_insert_tag_set_proto()
376 static inline struct sk_buff *__vlan_hwaccel_push_inside(struct sk_buff *skb) in __vlan_hwaccel_push_inside()
394 static inline struct sk_buff *vlan_hwaccel_push_inside(struct sk_buff *skb) in vlan_hwaccel_push_inside()
409 static inline void __vlan_hwaccel_put_tag(struct sk_buff *skb, in __vlan_hwaccel_put_tag()
423 static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) in __vlan_get_tag()
[all …]
Drtnetlink.h10 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo);
11 extern int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid);
12 extern void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid,
15 extern int rtnetlink_put_metrics(struct sk_buff *skb, u32 *metrics);
16 extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst,
20 struct sk_buff *rtmsg_ifinfo_build_skb(int type, struct net_device *dev,
22 void rtmsg_ifinfo_send(struct sk_buff *skb, struct net_device *dev,
98 extern int ndo_dflt_fdb_dump(struct sk_buff *skb,
115 extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
119 int (*vlan_fill)(struct sk_buff *skb,
Dnetfilter_bridge.h20 int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb);
22 static inline void br_drop_fake_rtable(struct sk_buff *skb) in br_drop_fake_rtable()
30 static inline int nf_bridge_get_physinif(const struct sk_buff *skb) in nf_bridge_get_physinif()
41 static inline int nf_bridge_get_physoutif(const struct sk_buff *skb) in nf_bridge_get_physoutif()
53 nf_bridge_get_physindev(const struct sk_buff *skb) in nf_bridge_get_physindev()
59 nf_bridge_get_physoutdev(const struct sk_buff *skb) in nf_bridge_get_physoutdev()
64 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
70 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
DmISDNhw.h98 struct sk_buff *rx_skb;
103 struct sk_buff *tx_skb;
160 struct sk_buff *rx_skb;
168 struct sk_buff *next_skb;
169 struct sk_buff *tx_skb;
189 int, struct sk_buff *);
190 extern int dchannel_senddata(struct dchannel *, struct sk_buff *);
191 extern int bchannel_senddata(struct bchannel *, struct sk_buff *);
196 extern void recv_Dchannel_skb(struct dchannel *, struct sk_buff *);
197 extern void recv_Bchannel_skb(struct bchannel *, struct sk_buff *);
Dsock_diag.h10 struct sk_buff;
16 int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh);
17 int (*get_info)(struct sk_buff *skb, struct sock *sk);
23 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
24 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
29 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attr);
31 struct sk_buff *skb, int attrtype);
Dinet_diag.h10 struct sk_buff;
14 void (*dump)(struct sk_buff *skb,
19 int (*dump_one)(struct sk_buff *in_skb,
32 struct sk_buff *skb, const struct inet_diag_req_v2 *req,
36 void inet_diag_dump_icsk(struct inet_hashinfo *h, struct sk_buff *skb,
41 struct sk_buff *in_skb, const struct nlmsghdr *nlh,
Dhdlc.h29 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
30 int (*netif_rx)(struct sk_buff *skb);
31 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
44 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
77 static __inline__ void debug_frame(const struct sk_buff *skb) in debug_frame()
99 netdev_tx_t hdlc_start_xmit(struct sk_buff *skb, struct net_device *dev);
106 static __inline__ __be16 hdlc_type_trans(struct sk_buff *skb, in hdlc_type_trans()
Dnetfilter_ipv6.h19 void (*route_input)(struct sk_buff *skb);
20 int (*fragment)(struct net *net, struct sock *sk, struct sk_buff *skb,
21 int (*output)(struct net *, struct sock *, struct sk_buff *));
25 int ip6_route_me_harder(struct net *net, struct sk_buff *skb);
26 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
Dnetdevice.h194 struct sk_buff;
260 int (*create) (struct sk_buff *skb, struct net_device *dev,
263 int (*parse)(const struct sk_buff *skb, unsigned char *haddr);
318 struct sk_buff *gro_list;
319 struct sk_buff *skb;
390 typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **pskb);
779 struct sk_buff *skb);
1070 netdev_tx_t (*ndo_start_xmit) (struct sk_buff *skb,
1073 struct sk_buff *skb,
1133 int vf, struct sk_buff *skb);
[all …]
Dicmpv6.h7 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) in icmp6_hdr()
15 extern void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info);
17 typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info);
23 static inline void icmpv6_send(struct sk_buff *skb, in icmpv6_send()
34 extern void icmpv6_param_prob(struct sk_buff *skb,
Ddccp.h65 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb) in dccp_hdr()
70 static inline struct dccp_hdr *dccp_zeroed_hdr(struct sk_buff *skb, int headlen) in dccp_zeroed_hdr()
87 static inline unsigned int dccp_basic_hdr_len(const struct sk_buff *skb) in dccp_basic_hdr_len()
105 static inline struct dccp_hdr_request *dccp_hdr_request(struct sk_buff *skb) in dccp_hdr_request()
111 static inline struct dccp_hdr_ack_bits *dccp_hdr_ack_bits(const struct sk_buff *skb) in dccp_hdr_ack_bits()
117 static inline u64 dccp_hdr_ack_seq(const struct sk_buff *skb) in dccp_hdr_ack_seq()
123 static inline struct dccp_hdr_response *dccp_hdr_response(struct sk_buff *skb) in dccp_hdr_response()
129 static inline struct dccp_hdr_reset *dccp_hdr_reset(struct sk_buff *skb) in dccp_hdr_reset()
141 static inline unsigned int dccp_hdr_len(const struct sk_buff *skb) in dccp_hdr_len()
179 struct sk_buff *skb);
Disdn_ppp.h83 int (*compress) (void *state, struct sk_buff *in,
84 struct sk_buff *skb_out, int proto);
86 int (*decompress) (void *state,struct sk_buff *in,
87 struct sk_buff *skb_out,
90 void (*incomp) (void *state, struct sk_buff *in,int proto);
108 struct sk_buff * frags; /* fragments sl list -- use skb->next */
Dnetfilter_ingress.h8 static inline bool nf_hook_ingress_active(const struct sk_buff *skb) in nf_hook_ingress_active()
17 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
32 static inline int nf_hook_ingress_active(struct sk_buff *skb) in nf_hook_ingress_active()
37 static inline int nf_hook_ingress(struct sk_buff *skb) in nf_hook_ingress()
Dti_wilink_st.h72 long (*recv) (void *, struct sk_buff *);
75 long (*write) (struct sk_buff *skb);
145 struct sk_buff *tx_skb;
153 struct sk_buff *rx_skb;
181 long st_write(struct sk_buff *);
184 void st_ll_send_frame(enum proto_type, struct sk_buff *);
268 struct sk_buff *rx_skb;
Dconcap.h52 int (*data_req)(struct concap_proto *, struct sk_buff *);
87 int (*encap_and_xmit)(struct concap_proto *cprot, struct sk_buff *skb);
90 int (*data_ind)(struct concap_proto *cprot, struct sk_buff *skb);
111 extern int concap_drop_skb(struct concap_proto *cprot, struct sk_buff *skb);
Digmp.h23 static inline struct igmphdr *igmp_hdr(const struct sk_buff *skb) in igmp_hdr()
29 igmpv3_report_hdr(const struct sk_buff *skb) in igmpv3_report_hdr()
35 igmpv3_query_hdr(const struct sk_buff *skb) in igmpv3_query_hdr()
114 extern int igmp_rcv(struct sk_buff *);
134 int ip_mc_check_igmp(struct sk_buff *skb, struct sk_buff **skb_trimmed);
/linux-4.4.14/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 …]
Dnetlink.c40 struct sk_buff *ieee802154_nl_create(int flags, u8 req) in ieee802154_nl_create()
43 struct sk_buff *msg = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_ATOMIC); in ieee802154_nl_create()
61 int ieee802154_nl_mcast(struct sk_buff *msg, unsigned int group) in ieee802154_nl_mcast()
71 struct sk_buff *ieee802154_nl_new_reply(struct genl_info *info, in ieee802154_nl_new_reply()
75 struct sk_buff *msg = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_ATOMIC); in ieee802154_nl_new_reply()
90 int ieee802154_nl_reply(struct sk_buff *msg, struct genl_info *info) in ieee802154_nl_reply()
/linux-4.4.14/include/net/netfilter/
Dnf_nat_l3proto.h13 bool (*manip_pkt)(struct sk_buff *skb,
19 void (*csum_update)(struct sk_buff *skb, unsigned int iphdroff,
24 void (*csum_recalc)(struct sk_buff *skb, u8 proto,
28 void (*decode_session)(struct sk_buff *skb,
42 int nf_nat_icmp_reply_translation(struct sk_buff *skb, struct nf_conn *ct,
46 unsigned int nf_nat_ipv4_in(void *priv, struct sk_buff *skb,
49 struct sk_buff *skb,
53 unsigned int nf_nat_ipv4_out(void *priv, struct sk_buff *skb,
56 struct sk_buff *skb,
61 struct sk_buff *skb,
[all …]
Dbr_netfilter.h6 static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb) in nf_bridge_alloc()
16 void nf_bridge_update_protocol(struct sk_buff *skb);
19 nf_bridge_info_get(const struct sk_buff *skb) in nf_bridge_info_get()
24 unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb);
26 static inline void nf_bridge_push_encap_header(struct sk_buff *skb) in nf_bridge_push_encap_header()
34 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb);
44 struct net_device *setup_pre_routing(struct sk_buff *skb);
48 int br_validate_ipv6(struct net *net, struct sk_buff *skb);
50 struct sk_buff *skb,
53 static inline int br_validate_ipv6(struct net *net, struct sk_buff *skb) in br_validate_ipv6()
[all …]
Dnf_conntrack_l4proto.h28 bool (*pkt_to_tuple)(const struct sk_buff *skb, unsigned int dataoff,
39 const struct sk_buff *skb,
48 bool (*new)(struct nf_conn *ct, const struct sk_buff *skb,
54 int (*error)(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb,
69 int (*to_nlattr)(struct sk_buff *skb, struct nlattr *nla,
77 int (*tuple_to_nlattr)(struct sk_buff *skb,
92 int (*obj_to_nlattr)(struct sk_buff *skb, const void *data);
143 int nf_ct_port_tuple_to_nlattr(struct sk_buff *skb,
Dnf_nat_helper.h7 struct sk_buff;
10 int __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct,
16 static inline int nf_nat_mangle_tcp_packet(struct sk_buff *skb, in nf_nat_mangle_tcp_packet()
30 int nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct,
Dnf_log.h39 const struct sk_buff *skb,
76 const struct sk_buff *skb,
86 const struct sk_buff *skb,
99 int nf_log_dump_udp_header(struct nf_log_buf *m, const struct sk_buff *skb,
101 int nf_log_dump_tcp_header(struct nf_log_buf *m, const struct sk_buff *skb,
106 unsigned int hooknum, const struct sk_buff *skb,
Dnf_conntrack.h161 nf_ct_get(const struct sk_buff *skb, enum ip_conntrack_info *ctinfo) in nf_ct_get()
189 bool nf_ct_get_tuplepr(const struct sk_buff *skb, unsigned int nhoff,
196 const struct sk_buff *skb,
202 const struct sk_buff *skb, in nf_ct_refresh_acct()
210 const struct sk_buff *skb, in nf_ct_refresh()
217 const struct sk_buff *skb, int do_acct);
222 const struct sk_buff *skb) in nf_ct_kill_acct()
282 static inline bool nf_is_loopback_packet(const struct sk_buff *skb) in nf_is_loopback_packet()
/linux-4.4.14/drivers/isdn/pcbit/
Dcapi.h23 extern int capi_conn_req(const char *calledPN, struct sk_buff **buf,
25 extern int capi_decode_conn_conf(struct pcbit_chan *chan, struct sk_buff *skb,
28 extern int capi_decode_conn_ind(struct pcbit_chan *chan, struct sk_buff *skb,
30 extern int capi_conn_resp(struct pcbit_chan *chan, struct sk_buff **skb);
32 extern int capi_conn_active_req(struct pcbit_chan *chan, struct sk_buff **skb);
34 struct sk_buff *skb);
37 struct sk_buff *skb);
39 struct sk_buff **skb);
42 extern int capi_select_proto_req(struct pcbit_chan *chan, struct sk_buff **skb,
45 struct sk_buff *skb);
[all …]
Dcapi.c54 int capi_conn_req(const char *calledPN, struct sk_buff **skb, int proto) in capi_conn_req()
134 int capi_conn_resp(struct pcbit_chan *chan, struct sk_buff **skb) in capi_conn_resp()
151 int capi_conn_active_req(struct pcbit_chan *chan, struct sk_buff **skb) in capi_conn_active_req()
179 int capi_conn_active_resp(struct pcbit_chan *chan, struct sk_buff **skb) in capi_conn_active_resp()
197 int capi_select_proto_req(struct pcbit_chan *chan, struct sk_buff **skb, in capi_select_proto_req()
263 int capi_activate_transp_req(struct pcbit_chan *chan, struct sk_buff **skb) in capi_activate_transp_req()
285 int capi_tdata_req(struct pcbit_chan *chan, struct sk_buff *skb) in capi_tdata_req()
321 int capi_tdata_resp(struct pcbit_chan *chan, struct sk_buff **skb) in capi_tdata_resp()
338 int capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause) in capi_disc_req()
362 int capi_disc_resp(struct pcbit_chan *chan, struct sk_buff **skb) in capi_disc_resp()
[all …]
/linux-4.4.14/net/irda/
Diriap_event.c35 struct sk_buff *skb);
37 struct sk_buff *skb);
39 struct sk_buff *skb);
42 struct sk_buff *skb);
44 struct sk_buff *skb);
46 struct sk_buff *skb);
48 struct sk_buff *skb);
50 struct sk_buff *skb);
52 struct sk_buff *skb);
55 struct sk_buff *skb);
[all …]
Dirlmp_event.c80 struct sk_buff *);
82 struct sk_buff *);
84 struct sk_buff *);
88 struct sk_buff *);
90 struct sk_buff *);
92 struct sk_buff *);
94 struct sk_buff *);
96 struct sk_buff *);
98 struct sk_buff *);
100 static void (*lap_state[]) (struct lap_cb *, IRLMP_EVENT, struct sk_buff *) =
[all …]
Dirlap_frame.c47 static void irlap_send_i_frame(struct irlap_cb *self, struct sk_buff *skb,
58 struct sk_buff *skb) in irlap_insert_info()
93 void irlap_queue_xmit(struct irlap_cb *self, struct sk_buff *skb) in irlap_queue_xmit()
122 struct sk_buff *tx_skb; in irlap_send_snrm_frame()
172 static void irlap_recv_snrm_cmd(struct irlap_cb *self, struct sk_buff *skb, in irlap_recv_snrm_cmd()
215 struct sk_buff *tx_skb; in irlap_send_ua_response_frame()
261 struct sk_buff *tx_skb = NULL; in irlap_send_dm_frame()
291 struct sk_buff *tx_skb = NULL; in irlap_send_disc_frame()
318 struct sk_buff *tx_skb = NULL; in irlap_send_discovery_xid_frame()
408 struct sk_buff *skb, in irlap_recv_discovery_xid_rsp()
[all …]
/linux-4.4.14/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 …]
Dllc_s_ev.c23 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_activation_req()
31 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_ui()
41 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_unitdata_req()
51 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_xid_req()
60 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_xid_c()
70 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_xid_r()
80 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_test_req()
89 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_test_c()
99 int llc_sap_ev_rx_test_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_test_r()
109 int llc_sap_ev_deactivation_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_deactivation_req()
Dllc_pdu.c18 static void llc_pdu_decode_pdu_type(struct sk_buff *skb, u8 *type);
21 void llc_pdu_set_cmd_rsp(struct sk_buff *skb, u8 pdu_type) in llc_pdu_set_cmd_rsp()
35 void llc_pdu_set_pf_bit(struct sk_buff *skb, u8 bit_value) in llc_pdu_set_pf_bit()
63 void llc_pdu_decode_pf_bit(struct sk_buff *skb, u8 *pf_bit) in llc_pdu_decode_pf_bit()
89 void llc_pdu_init_as_disc_cmd(struct sk_buff *skb, u8 p_bit) in llc_pdu_init_as_disc_cmd()
107 void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr) in llc_pdu_init_as_i_cmd()
126 void llc_pdu_init_as_rej_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rej_cmd()
146 void llc_pdu_init_as_rnr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rnr_cmd()
166 void llc_pdu_init_as_rr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rr_cmd()
184 void llc_pdu_init_as_sabme_cmd(struct sk_buff *skb, u8 p_bit) in llc_pdu_init_as_sabme_cmd()
[all …]
Dllc_input.c34 static void (*llc_station_handler)(struct sk_buff *skb);
40 struct sk_buff *skb);
43 struct sk_buff *skb)) in llc_add_pack()
57 void llc_set_station_handler(void (*handler)(struct sk_buff *skb)) in llc_set_station_handler()
75 static __inline__ int llc_pdu_type(struct sk_buff *skb) in llc_pdu_type()
111 static inline int llc_fixup_skb(struct sk_buff *skb) in llc_fixup_skb()
154 int llc_rcv(struct sk_buff *skb, struct net_device *dev, in llc_rcv()
160 int (*rcv)(struct sk_buff *, struct net_device *, in llc_rcv()
162 void (*sta_handler)(struct sk_buff *skb); in llc_rcv()
163 void (*sap_handler)(struct llc_sap *sap, struct sk_buff *skb); in llc_rcv()
[all …]
Dllc_s_ac.c37 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_unitdata_ind()
52 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_ui()
75 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_xid_c()
97 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_xid_r()
101 struct sk_buff *nskb; in llc_sap_action_send_xid_r()
129 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_test_c()
143 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_test_r()
146 struct sk_buff *nskb; in llc_sap_action_send_test_r()
177 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_report_status()
190 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_xid_ind()
[all …]
Dllc_sap.c47 struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev, in llc_alloc_frame()
51 struct sk_buff *skb; in llc_alloc_frame()
69 void llc_save_primitive(struct sock *sk, struct sk_buff *skb, u8 prim) in llc_save_primitive()
91 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_rtn_pdu()
117 struct sk_buff *skb) in llc_find_sap_trans()
146 struct sk_buff *skb) in llc_exec_sap_trans_actions()
166 static int llc_sap_next_state(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_next_state()
201 static void llc_sap_state_process(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_state_process()
238 struct sk_buff *skb, u8 *dmac, u8 dsap) in llc_build_and_send_test_pkt()
263 void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb, in llc_build_and_send_xid_pkt()
[all …]
Dllc_station.c28 static int llc_stat_ev_rx_null_dsap_xid_c(struct sk_buff *skb) in llc_stat_ev_rx_null_dsap_xid_c()
38 static int llc_stat_ev_rx_null_dsap_test_c(struct sk_buff *skb) in llc_stat_ev_rx_null_dsap_test_c()
48 static int llc_station_ac_send_xid_r(struct sk_buff *skb) in llc_station_ac_send_xid_r()
52 struct sk_buff *nskb = llc_alloc_frame(NULL, skb->dev, LLC_PDU_TYPE_U, in llc_station_ac_send_xid_r()
73 static int llc_station_ac_send_test_r(struct sk_buff *skb) in llc_station_ac_send_test_r()
78 struct sk_buff *nskb; in llc_station_ac_send_test_r()
108 static void llc_station_rcv(struct sk_buff *skb) in llc_station_rcv()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h22 struct sk_buff;
25 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
28 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
30 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
36 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
38 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
40 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb,
44 int (*pull_svc_rdy)(struct ath10k *ar, struct sk_buff *skb,
[all …]
Dwmi-tlv.c179 struct sk_buff *skb) in ath10k_wmi_tlv_event_bcn_tx_status()
226 struct sk_buff *skb) in ath10k_wmi_tlv_event_diag_data()
289 struct sk_buff *skb) in ath10k_wmi_tlv_event_diag()
317 struct sk_buff *skb) in ath10k_wmi_tlv_event_p2p_noa()
351 struct sk_buff *skb) in ath10k_wmi_tlv_event_tx_pause()
419 static void ath10k_wmi_tlv_op_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_tlv_op_rx()
565 struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_scan_ev()
597 struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_mgmt_rx_ev()
646 struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_ch_info_ev()
678 ath10k_wmi_tlv_op_pull_vdev_start_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_vdev_start_ev()
[all …]
/linux-4.4.14/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 …]
Ddigital_technology.c176 struct sk_buff *skb) in digital_in_iso_dep_pull_sod()
204 struct sk_buff *skb) in digital_in_iso_dep_push_sod()
224 struct sk_buff *resp) in digital_in_recv_ats()
263 struct sk_buff *skb; in digital_in_send_rats()
281 struct sk_buff *resp) in digital_in_recv_sel_res()
353 struct sk_buff *skb; in digital_in_send_sel_req()
396 struct sk_buff *resp) in digital_in_recv_sdd_res()
454 struct sk_buff *skb; in digital_in_send_sdd_req()
481 struct sk_buff *resp) in digital_in_recv_sens_res()
527 struct sk_buff *skb; in digital_in_send_sens_req()
[all …]
Dnetlink.c75 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, in nfc_genl_send_target()
146 static int nfc_genl_dump_targets(struct sk_buff *skb, in nfc_genl_dump_targets()
193 struct sk_buff *msg; in nfc_genl_targets_found()
223 struct sk_buff *msg; in nfc_genl_target_lost()
254 struct sk_buff *msg; in nfc_genl_tm_activated()
286 struct sk_buff *msg; in nfc_genl_tm_deactivated()
316 struct sk_buff *msg; in nfc_genl_device_added()
349 struct sk_buff *msg; in nfc_genl_device_removed()
379 struct sk_buff *msg; in nfc_genl_llc_send_sdres()
447 struct sk_buff *msg; in nfc_genl_se_added()
[all …]
/linux-4.4.14/include/net/irda/
Dircomm_core.h46 int (*data_request)(struct ircomm_cb *, struct sk_buff *, int clen);
47 int (*connect_request)(struct ircomm_cb *, struct sk_buff *,
49 int (*connect_response)(struct ircomm_cb *, struct sk_buff *);
50 int (*disconnect_request)(struct ircomm_cb *, struct sk_buff *,
87 int ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb);
88 void ircomm_data_indication(struct ircomm_cb *self, struct sk_buff *skb);
89 void ircomm_process_data(struct ircomm_cb *self, struct sk_buff *skb);
90 int ircomm_control_request(struct ircomm_cb *self, struct sk_buff *skb);
92 __u32 saddr, __u32 daddr, struct sk_buff *skb,
94 void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb,
[all …]
Dirlmp_frame.h43 int expedited, struct sk_buff *skb);
45 __u8 opcode, struct sk_buff *skb);
46 void irlmp_link_data_indication(struct lap_cb *, struct sk_buff *,
49 void irlmp_link_unitdata_indication(struct lap_cb *, struct sk_buff *);
53 struct qos_info *qos, struct sk_buff *skb);
56 struct sk_buff *skb);
58 LAP_REASON reason, struct sk_buff *);
Dirlmp.h110 struct sk_buff *conn_skb; /* Store skb here while connecting */
215 struct qos_info *, struct sk_buff *);
216 void irlmp_connect_indication(struct lsap_cb *self, struct sk_buff *skb);
217 int irlmp_connect_response(struct lsap_cb *, struct sk_buff *);
218 void irlmp_connect_confirm(struct lsap_cb *, struct sk_buff *);
222 struct sk_buff *userdata);
223 int irlmp_disconnect_request(struct lsap_cb *, struct sk_buff *userdata);
233 int irlmp_data_request(struct lsap_cb *, struct sk_buff *);
234 void irlmp_data_indication(struct lsap_cb *, struct sk_buff *);
236 int irlmp_udata_request(struct lsap_cb *, struct sk_buff *);
[all …]
Dirlap_frame.h141 void irlap_queue_xmit(struct irlap_cb *self, struct sk_buff *skb);
147 struct sk_buff *cmd);
154 void irlap_send_data_primary(struct irlap_cb *, struct sk_buff *);
155 void irlap_send_data_primary_poll(struct irlap_cb *, struct sk_buff *);
156 void irlap_send_data_secondary(struct irlap_cb *, struct sk_buff *);
157 void irlap_send_data_secondary_final(struct irlap_cb *, struct sk_buff *);
161 void irlap_send_ui_frame(struct irlap_cb *self, struct sk_buff *skb,
165 struct sk_buff *skb);
Dirmod.h72 int (*data_indication)(void *priv, void *sap, struct sk_buff *skb);
73 int (*udata_indication)(void *priv, void *sap, struct sk_buff *skb);
76 __u8 max_header_size, struct sk_buff *skb);
79 __u8 max_header_size, struct sk_buff *skb);
81 LM_REASON reason, struct sk_buff *);
Dirttp.h144 struct sk_buff *disconnect_skb;
158 int irttp_data_request(struct tsap_cb *self, struct sk_buff *skb);
159 int irttp_udata_request(struct tsap_cb *self, struct sk_buff *skb);
164 struct sk_buff *userdata);
166 struct sk_buff *userdata);
167 int irttp_disconnect_request(struct tsap_cb *self, struct sk_buff *skb,
Dirlap.h227 void irlap_connect_response(struct irlap_cb *self, struct sk_buff *skb);
228 void irlap_connect_indication(struct irlap_cb *self, struct sk_buff *skb);
229 void irlap_connect_confirm(struct irlap_cb *, struct sk_buff *skb);
231 void irlap_data_indication(struct irlap_cb *, struct sk_buff *, int unreliable);
232 void irlap_data_request(struct irlap_cb *, struct sk_buff *, int unreliable);
235 void irlap_unitdata_request(struct irlap_cb *, struct sk_buff *);
236 void irlap_unitdata_indication(struct irlap_cb *, struct sk_buff *);
Diriap_event.h75 struct sk_buff *skb);
77 struct sk_buff *skb);
80 struct sk_buff *skb);
82 struct sk_buff *skb);
Dircomm_tty_attach.h71 struct sk_buff *skb, struct ircomm_tty_info *info);
80 struct sk_buff *skb);
83 struct sk_buff *skb);
88 struct sk_buff *skb);
/linux-4.4.14/net/bridge/
Dbr_forward.c25 struct sk_buff *skb,
27 struct sk_buff *skb));
31 const struct sk_buff *skb) in should_deliver()
40 int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) in br_dev_queue_push_xmit()
70 int br_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_forward_finish()
79 static void __br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) in __br_deliver()
105 static void __br_forward(const struct net_bridge_port *to, struct sk_buff *skb) in __br_forward()
130 void br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) in br_deliver()
142 void br_forward(const struct net_bridge_port *to, struct sk_buff *skb, struct sk_buff *skb0) in br_forward()
157 struct sk_buff *skb, in deliver_clone()
[all …]
Dbr_private.h419 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev);
422 struct sk_buff *skb) in br_netpoll_send_skb()
434 struct sk_buff *skb) in br_netpoll_send_skb()
474 int br_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb,
484 void br_deliver(const struct net_bridge_port *to, struct sk_buff *skb);
485 int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb);
487 struct sk_buff *skb, struct sk_buff *skb0);
488 int br_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb);
489 void br_flood_deliver(struct net_bridge *br, struct sk_buff *skb, bool unicast);
490 void br_flood_forward(struct net_bridge *br, struct sk_buff *skb,
[all …]
Dbr_netfilter_hooks.c73 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto()
95 static inline __be16 pppoe_proto(const struct sk_buff *skb) in pppoe_proto()
124 static void nf_bridge_info_free(struct sk_buff *skb) in nf_bridge_info_free()
140 static inline struct nf_bridge_info *nf_bridge_unshare(struct sk_buff *skb) in nf_bridge_unshare()
157 unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb) in nf_bridge_encap_header_len()
169 static inline void nf_bridge_pull_encap_header(struct sk_buff *skb) in nf_bridge_pull_encap_header()
177 static inline void nf_bridge_pull_encap_header_rcsum(struct sk_buff *skb) in nf_bridge_pull_encap_header_rcsum()
190 static int br_validate_ipv4(struct net *net, struct sk_buff *skb) in br_validate_ipv4()
237 void nf_bridge_update_protocol(struct sk_buff *skb) in nf_bridge_update_protocol()
256 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_bridge()
[all …]
/linux-4.4.14/net/batman-adv/
Drouting.h25 struct sk_buff;
27 bool batadv_check_management_packet(struct sk_buff *skb,
34 int batadv_recv_icmp_packet(struct sk_buff *skb,
36 int batadv_recv_unicast_packet(struct sk_buff *skb,
38 int batadv_recv_frag_packet(struct sk_buff *skb,
40 int batadv_recv_bcast_packet(struct sk_buff *skb,
42 int batadv_recv_tt_query(struct sk_buff *skb,
44 int batadv_recv_roam_adv(struct sk_buff *skb,
46 int batadv_recv_unicast_tvlv(struct sk_buff *skb,
48 int batadv_recv_unhandled_unicast_packet(struct sk_buff *skb,
Dsend.h28 struct sk_buff;
31 int batadv_send_skb_packet(struct sk_buff *skb,
34 int batadv_send_skb_to_orig(struct sk_buff *skb,
39 const struct sk_buff *skb,
46 struct sk_buff *skb,
50 struct sk_buff *skb, int packet_type,
55 struct sk_buff *skb, int packet_type,
58 int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb,
75 struct sk_buff *skb, u8 *dst_hint, in batadv_send_skb_via_tt()
98 struct sk_buff *skb, in batadv_send_skb_via_tt_4addr()
Dbridge_loop_avoidance.h26 struct sk_buff;
29 int batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb,
31 int batadv_bla_tx(struct batadv_priv *bat_priv, struct sk_buff *skb,
33 int batadv_bla_is_backbone_gw(struct sk_buff *skb,
41 struct sk_buff *skb);
52 struct sk_buff *skb, unsigned short vid, in batadv_bla_rx()
59 struct sk_buff *skb, unsigned short vid) in batadv_bla_tx()
64 static inline int batadv_bla_is_backbone_gw(struct sk_buff *skb, in batadv_bla_is_backbone_gw()
91 struct sk_buff *skb) in batadv_bla_check_bcast_duplist()
Ddistributed-arp-table.h31 struct sk_buff;
40 struct sk_buff *skb);
42 struct sk_buff *skb, int hdr_size);
44 struct sk_buff *skb);
46 struct sk_buff *skb, int hdr_size);
114 struct sk_buff *skb) in batadv_dat_snoop_outgoing_arp_request()
121 struct sk_buff *skb, int hdr_size) in batadv_dat_snoop_incoming_arp_request()
128 struct sk_buff *skb) in batadv_dat_snoop_outgoing_arp_reply()
135 struct sk_buff *skb, int hdr_size) in batadv_dat_snoop_incoming_arp_reply()
Dnetwork-coding.h28 struct sk_buff;
47 bool batadv_nc_skb_forward(struct sk_buff *skb,
50 struct sk_buff *skb);
52 struct sk_buff *skb);
101 static inline bool batadv_nc_skb_forward(struct sk_buff *skb, in batadv_nc_skb_forward()
109 struct sk_buff *skb) in batadv_nc_skb_store_for_decoding()
115 struct sk_buff *skb) in batadv_nc_skb_store_sniffed_unicast()
Dfragmentation.h28 struct sk_buff;
32 bool batadv_frag_skb_fwd(struct sk_buff *skb,
35 bool batadv_frag_skb_buffer(struct sk_buff **skb,
37 bool batadv_frag_send_packet(struct sk_buff *skb,
/linux-4.4.14/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 …]
Ddccp.h208 static inline unsigned int dccp_csum_coverage(const struct sk_buff *skb) in dccp_csum_coverage()
217 static inline void dccp_csum_outgoing(struct sk_buff *skb) in dccp_csum_outgoing()
227 void dccp_v4_send_check(struct sock *sk, struct sk_buff *skb);
232 void dccp_reqsk_send_ack(const struct sock *sk, struct sk_buff *skb,
241 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb);
243 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb);
244 struct sk_buff *dccp_qpolicy_top(struct sock *sk);
245 struct sk_buff *dccp_qpolicy_pop(struct sock *sk);
269 struct sk_buff const *skb);
271 int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
[all …]
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00lib.h104 struct sk_buff *rt2x00queue_alloc_rxskb(struct queue_entry *entry, gfp_t gfp);
119 void rt2x00queue_align_frame(struct sk_buff *skb);
128 void rt2x00queue_insert_l2pad(struct sk_buff *skb, unsigned int header_length);
138 void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int header_length);
146 int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb,
211 struct sk_buff *skb,
351 struct sk_buff *skb,
354 struct sk_buff *skb);
355 void rt2x00crypto_tx_copy_iv(struct sk_buff *skb,
357 void rt2x00crypto_tx_remove_iv(struct sk_buff *skb,
[all …]
/linux-4.4.14/net/irda/irlan/
Dirlan_client_event.c40 struct sk_buff *skb);
42 struct sk_buff *skb);
44 struct sk_buff *skb);
46 struct sk_buff *skb);
48 struct sk_buff *skb);
50 struct sk_buff *skb);
52 struct sk_buff *skb);
54 struct sk_buff *skb);
56 struct sk_buff *skb);
58 struct sk_buff *skb);
[all …]
Dirlan_provider_event.c34 struct sk_buff *skb);
36 struct sk_buff *skb);
38 struct sk_buff *skb);
40 struct sk_buff *skb);
43 struct sk_buff *skb) =
59 struct sk_buff *skb) in irlan_do_provider_event()
73 struct sk_buff *skb) in irlan_provider_state_idle()
98 struct sk_buff *skb) in irlan_provider_state_info()
163 struct sk_buff *skb) in irlan_provider_state_open()
200 struct sk_buff *skb) in irlan_provider_state_data()
/linux-4.4.14/drivers/net/wireless/brcm80211/include/
Dbrcmu_utils.h107 static inline struct sk_buff *pktq_ppeek(struct pktq *pq, int prec) in pktq_ppeek()
112 static inline struct sk_buff *pktq_ppeek_tail(struct pktq *pq, int prec) in pktq_ppeek_tail()
117 struct sk_buff *brcmu_pktq_penq(struct pktq *pq, int prec, struct sk_buff *p);
118 struct sk_buff *brcmu_pktq_penq_head(struct pktq *pq, int prec,
119 struct sk_buff *p);
120 struct sk_buff *brcmu_pktq_pdeq(struct pktq *pq, int prec);
121 struct sk_buff *brcmu_pktq_pdeq_tail(struct pktq *pq, int prec);
122 struct sk_buff *brcmu_pktq_pdeq_match(struct pktq *pq, int prec,
123 bool (*match_fn)(struct sk_buff *p,
128 struct sk_buff *brcmu_pkt_buf_get_skb(uint len);
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmutil/
Dutils.c29 struct sk_buff *brcmu_pkt_buf_get_skb(uint len) in brcmu_pkt_buf_get_skb()
31 struct sk_buff *skb; in brcmu_pkt_buf_get_skb()
44 void brcmu_pkt_buf_free_skb(struct sk_buff *skb) in brcmu_pkt_buf_free_skb()
58 struct sk_buff *brcmu_pktq_penq(struct pktq *pq, int prec, in brcmu_pktq_penq()
59 struct sk_buff *p) in brcmu_pktq_penq()
77 struct sk_buff *brcmu_pktq_penq_head(struct pktq *pq, int prec, in brcmu_pktq_penq_head()
78 struct sk_buff *p) in brcmu_pktq_penq_head()
96 struct sk_buff *brcmu_pktq_pdeq(struct pktq *pq, int prec) in brcmu_pktq_pdeq()
99 struct sk_buff *p; in brcmu_pktq_pdeq()
117 struct sk_buff *brcmu_pktq_pdeq_match(struct pktq *pq, int prec, in brcmu_pktq_pdeq_match()
[all …]
/linux-4.4.14/include/net/nfc/
Dnci_core.h72 int (*rsp)(struct nci_dev *dev, struct sk_buff *skb);
73 int (*ntf)(struct nci_dev *dev, struct sk_buff *skb);
80 int (*send)(struct nci_dev *ndev, struct sk_buff *skb);
93 struct sk_buff *skb);
95 struct sk_buff *skb);
122 struct sk_buff *rx_skb;
266 struct sk_buff *rx_data_reassembly;
290 int nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
291 int nci_send_frame(struct nci_dev *ndev, struct sk_buff *skb);
307 struct sk_buff **skb);
[all …]
Dhci.h37 int (*xmit) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
49 struct nfc_target *target, struct sk_buff *skb,
51 int (*tm_send)(struct nfc_hci_dev *hdev, struct sk_buff *skb);
55 struct sk_buff *skb);
57 struct sk_buff *skb);
97 typedef int (*xmit) (struct sk_buff *skb, void *cb_data);
261 struct sk_buff *skb);
263 struct sk_buff *skb);
265 struct sk_buff *skb);
266 void nfc_hci_recv_frame(struct nfc_hci_dev *hdev, struct sk_buff *skb);
[all …]
Dnfc.h34 int (*write)(void *dev_id, struct sk_buff *skb);
52 typedef void (*data_exchange_cb_t)(void *context, struct sk_buff *skb,
73 struct sk_buff *skb, data_exchange_cb_t cb,
75 int (*tm_send)(struct nfc_dev *dev, struct sk_buff *skb);
274 struct sk_buff *nfc_alloc_send_skb(struct nfc_dev *dev, struct sock *sk,
277 struct sk_buff *nfc_alloc_recv_skb(unsigned int size, gfp_t gfp);
296 int nfc_tm_data_received(struct nfc_dev *dev, struct sk_buff *skb);
306 void nfc_send_to_raw_sock(struct nfc_dev *dev, struct sk_buff *skb,
322 struct sk_buff *__nfc_alloc_vendor_cmd_reply_skb(struct nfc_dev *dev,
326 int nfc_vendor_cmd_reply(struct sk_buff *skb);
[all …]
Ddigital.h97 void *arg, struct sk_buff *resp);
158 int (*in_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
164 int (*tg_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
233 struct sk_buff *chaining_skb;
239 struct sk_buff *saved_skb;
244 int (*skb_check_crc)(struct sk_buff *skb);
245 void (*skb_add_crc)(struct sk_buff *skb);
Dllc.h28 typedef void (*rcv_to_hci_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
29 typedef int (*xmit_to_drv_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
46 void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb);
47 int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb);
/linux-4.4.14/net/core/
Dskbuff.c97 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic()
107 static void skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_over_panic()
112 static void skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_under_panic()
160 struct sk_buff *__alloc_skb_head(gfp_t gfp_mask, int node) in __alloc_skb_head()
162 struct sk_buff *skb; in __alloc_skb_head()
175 memset(skb, 0, offsetof(struct sk_buff, tail)); in __alloc_skb_head()
177 skb->truesize = sizeof(struct sk_buff); in __alloc_skb_head()
202 struct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, in __alloc_skb()
207 struct sk_buff *skb; in __alloc_skb()
245 memset(skb, 0, offsetof(struct sk_buff, tail)); in __alloc_skb()
[all …]
Dfilter.c66 int sk_filter(struct sock *sk, struct sk_buff *skb) in sk_filter()
98 return skb_get_poff((struct sk_buff *)(unsigned long) ctx); in __skb_get_pay_offset()
103 struct sk_buff *skb = (struct sk_buff *)(unsigned long) ctx; in __skb_get_nlattr()
124 struct sk_buff *skb = (struct sk_buff *)(unsigned long) ctx; in __skb_get_nlattr_nest()
159 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access()
162 offsetof(struct sk_buff, mark)); in convert_skb_access()
174 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
177 offsetof(struct sk_buff, queue_mapping)); in convert_skb_access()
182 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
187 offsetof(struct sk_buff, vlan_tci)); in convert_skb_access()
[all …]
Ddatagram.c87 const struct sk_buff *skb) in wait_for_more_packets()
134 static struct sk_buff *skb_set_peeked(struct sk_buff *skb) in skb_set_peeked()
136 struct sk_buff *nskb; in skb_set_peeked()
194 struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned int flags, in __skb_recv_datagram()
198 struct sk_buff *skb, *last; in __skb_recv_datagram()
220 last = (struct sk_buff *)queue; in __skb_recv_datagram()
268 struct sk_buff *skb_recv_datagram(struct sock *sk, unsigned int flags, in skb_recv_datagram()
278 void skb_free_datagram(struct sock *sk, struct sk_buff *skb) in skb_free_datagram()
285 void skb_free_datagram_locked(struct sock *sk, struct sk_buff *skb) in skb_free_datagram_locked()
325 int skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags) in skb_kill_datagram()
[all …]
/linux-4.4.14/include/net/netfilter/ipv4/
Dnf_reject.h8 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
9 void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook);
11 const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb,
13 struct iphdr *nf_reject_iphdr_put(struct sk_buff *nskb,
14 const struct sk_buff *oldskb,
16 void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb,
/linux-4.4.14/include/net/netfilter/ipv6/
Dnf_reject.h6 void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
9 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook);
11 const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb,
14 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb,
15 const struct sk_buff *oldskb,
17 void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb,
18 const struct sk_buff *oldskb,
/linux-4.4.14/arch/um/include/shared/
Dnet_kern.h33 unsigned short (*protocol)(struct sk_buff *);
37 int (*read)(int, struct sk_buff *skb, struct uml_net_private *);
38 int (*write)(int, struct sk_buff *skb, struct uml_net_private *);
47 unsigned short (*protocol)(struct sk_buff *);
48 int (*read)(int, struct sk_buff *skb, struct uml_net_private *);
49 int (*write)(int, struct sk_buff *skb, struct uml_net_private *);
63 extern unsigned short ether_protocol(struct sk_buff *);
67 extern unsigned short eth_protocol(struct sk_buff *skb);
/linux-4.4.14/net/tipc/
Dbearer.h105 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_ptr);
193 int tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info);
194 int tipc_nl_bearer_enable(struct sk_buff *skb, struct genl_info *info);
195 int tipc_nl_bearer_dump(struct sk_buff *skb, struct netlink_callback *cb);
196 int tipc_nl_bearer_get(struct sk_buff *skb, struct genl_info *info);
197 int tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
199 int tipc_nl_media_dump(struct sk_buff *skb, struct netlink_callback *cb);
200 int tipc_nl_media_get(struct sk_buff *skb, struct genl_info *info);
201 int tipc_nl_media_set(struct sk_buff *skb, struct genl_info *info);
[all …]
Dmsg.c59 struct sk_buff *tipc_buf_acquire(u32 size) in tipc_buf_acquire()
61 struct sk_buff *skb; in tipc_buf_acquire()
89 struct sk_buff *tipc_msg_create(uint user, uint type, in tipc_msg_create()
94 struct sk_buff *buf; in tipc_msg_create()
120 int tipc_buf_append(struct sk_buff **headbuf, struct sk_buff **buf) in tipc_buf_append()
122 struct sk_buff *head = *headbuf; in tipc_buf_append()
123 struct sk_buff *frag = *buf; in tipc_buf_append()
124 struct sk_buff *tail = NULL; in tipc_buf_append()
202 bool tipc_msg_validate(struct sk_buff *skb) in tipc_msg_validate()
254 struct sk_buff *skb; in tipc_msg_build()
[all …]
Dmsg.h110 struct sk_buff *tail;
124 static inline struct tipc_msg *buf_msg(struct sk_buff *skb) in buf_msg()
782 struct sk_buff *tipc_buf_acquire(u32 size);
783 bool tipc_msg_validate(struct sk_buff *skb);
784 bool tipc_msg_reverse(u32 own_addr, struct sk_buff **skb, int err);
787 struct sk_buff *tipc_msg_create(uint user, uint type, uint hdr_sz,
790 int tipc_buf_append(struct sk_buff **headbuf, struct sk_buff **buf);
791 bool tipc_msg_bundle(struct sk_buff *skb, struct tipc_msg *msg, u32 mtu);
792 bool tipc_msg_make_bundle(struct sk_buff **skb, struct tipc_msg *msg,
794 bool tipc_msg_extract(struct sk_buff *skb, struct sk_buff **iskb, int *pos);
[all …]
Dlink.h180 struct sk_buff *failover_reasm_skb;
209 struct sk_buff *reasm_buf;
256 int tipc_nl_link_dump(struct sk_buff *skb, struct netlink_callback *cb);
257 int tipc_nl_link_get(struct sk_buff *skb, struct genl_info *info);
258 int tipc_nl_link_set(struct sk_buff *skb, struct genl_info *info);
259 int tipc_nl_link_reset_stats(struct sk_buff *skb, struct genl_info *info);
262 int tipc_link_rcv(struct tipc_link *l, struct sk_buff *skb,
281 int tipc_link_bc_nack_rcv(struct tipc_link *l, struct sk_buff *skb,
/linux-4.4.14/net/ipv6/
Dmcast_snoop.c26 static int ipv6_mc_check_ip6hdr(struct sk_buff *skb) in ipv6_mc_check_ip6hdr()
47 static int ipv6_mc_check_exthdrs(struct sk_buff *skb) in ipv6_mc_check_exthdrs()
74 static int ipv6_mc_check_mld_reportv2(struct sk_buff *skb) in ipv6_mc_check_mld_reportv2()
83 static int ipv6_mc_check_mld_query(struct sk_buff *skb) in ipv6_mc_check_mld_query()
116 static int ipv6_mc_check_mld_msg(struct sk_buff *skb) in ipv6_mc_check_mld_msg()
134 static inline __sum16 ipv6_mc_validate_checksum(struct sk_buff *skb) in ipv6_mc_validate_checksum()
139 static int __ipv6_mc_check_mld(struct sk_buff *skb, in __ipv6_mc_check_mld()
140 struct sk_buff **skb_trimmed) in __ipv6_mc_check_mld()
143 struct sk_buff *skb_chk = NULL; in __ipv6_mc_check_mld()
202 int ipv6_mc_check_mld(struct sk_buff *skb, struct sk_buff **skb_trimmed) in ipv6_mc_check_mld()
Dxfrm6_output.c23 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb, in xfrm6_find_1stfragopt()
30 static int xfrm6_local_dontfrag(struct sk_buff *skb) in xfrm6_local_dontfrag()
47 static void xfrm6_local_rxpmtu(struct sk_buff *skb, u32 mtu) in xfrm6_local_rxpmtu()
58 void xfrm6_local_error(struct sk_buff *skb, u32 mtu) in xfrm6_local_error()
71 static int xfrm6_tunnel_check_size(struct sk_buff *skb) in xfrm6_tunnel_check_size()
96 int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_extract_output()
109 int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_prepare_output()
124 int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb) in xfrm6_output_finish()
135 static int __xfrm6_output_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in __xfrm6_output_finish()
142 static int __xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __xfrm6_output()
[all …]
Dtcpv6_offload.c18 static struct sk_buff **tcp6_gro_receive(struct sk_buff **head, in tcp6_gro_receive()
19 struct sk_buff *skb) in tcp6_gro_receive()
32 static int tcp6_gro_complete(struct sk_buff *skb, int thoff) in tcp6_gro_complete()
44 static struct sk_buff *tcp6_gso_segment(struct sk_buff *skb, in tcp6_gso_segment()
Dip6_offload.c22 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs()
57 static struct sk_buff *ipv6_gso_segment(struct sk_buff *skb, in ipv6_gso_segment()
60 struct sk_buff *segs = ERR_PTR(-EINVAL); in ipv6_gso_segment()
166 static struct sk_buff **ipv6_gro_receive(struct sk_buff **head, in ipv6_gro_receive()
167 struct sk_buff *skb) in ipv6_gro_receive()
170 struct sk_buff **pp = NULL; in ipv6_gro_receive()
171 struct sk_buff *p; in ipv6_gro_receive()
261 static int ipv6_gro_complete(struct sk_buff *skb, int nhoff) in ipv6_gro_complete()
286 static int sit_gro_complete(struct sk_buff *skb, int nhoff) in sit_gro_complete()
Dudp_offload.c20 static struct sk_buff *udp6_ufo_fragment(struct sk_buff *skb, in udp6_ufo_fragment()
23 struct sk_buff *segs = ERR_PTR(-EINVAL); in udp6_ufo_fragment()
129 static struct sk_buff **udp6_gro_receive(struct sk_buff **head, in udp6_gro_receive()
130 struct sk_buff *skb) in udp6_gro_receive()
157 static int udp6_gro_complete(struct sk_buff *skb, int nhoff) in udp6_gro_complete()
/linux-4.4.14/net/irda/ircomm/
Dircomm_ttp.c41 struct sk_buff *skb);
46 struct sk_buff *skb);
51 struct sk_buff *skb);
56 struct sk_buff *skb);
58 struct sk_buff *skb,
61 struct sk_buff *userdata,
64 struct sk_buff *userdata);
66 struct sk_buff *userdata,
115 struct sk_buff *userdata, in ircomm_ttp_connect_request()
138 struct sk_buff *userdata) in ircomm_ttp_connect_response()
[all …]
Dircomm_event.c42 struct sk_buff *skb, struct ircomm_info *info);
44 struct sk_buff *skb, struct ircomm_info *info);
46 struct sk_buff *skb, struct ircomm_info *info);
48 struct sk_buff *skb, struct ircomm_info *info);
77 struct sk_buff *skb, struct ircomm_info *info) =
92 struct sk_buff *skb, struct ircomm_info *info) in ircomm_state_idle()
121 struct sk_buff *skb, struct ircomm_info *info) in ircomm_state_waiti()
151 struct sk_buff *skb, struct ircomm_info *info) in ircomm_state_waitr()
184 struct sk_buff *skb, struct ircomm_info *info) in ircomm_state_conn()
226 struct sk_buff *skb, struct ircomm_info *info) in ircomm_do_event()
Dircomm_lmp.c50 struct sk_buff *userdata, in ircomm_lmp_connect_request()
71 struct sk_buff *userdata) in ircomm_lmp_connect_response()
73 struct sk_buff *tx_skb; in ircomm_lmp_connect_response()
100 struct sk_buff *userdata, in ircomm_lmp_disconnect_request()
103 struct sk_buff *tx_skb; in ircomm_lmp_disconnect_request()
131 static void ircomm_lmp_flow_control(struct sk_buff *skb) in ircomm_lmp_flow_control()
170 struct sk_buff *skb, in ircomm_lmp_data_request()
213 struct sk_buff *skb) in ircomm_lmp_data_indication()
240 struct sk_buff *skb) in ircomm_lmp_connect_confirm()
271 struct sk_buff *skb) in ircomm_lmp_connect_indication()
[all …]
Dircomm_core.c51 struct sk_buff *skb, int clen);
207 __u32 saddr, __u32 daddr, struct sk_buff *skb, in ircomm_connect_request()
235 void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb, in ircomm_connect_indication()
258 int ircomm_connect_response(struct ircomm_cb *self, struct sk_buff *userdata) in ircomm_connect_response()
278 void ircomm_connect_confirm(struct ircomm_cb *self, struct sk_buff *skb, in ircomm_connect_confirm()
297 int ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb) in ircomm_data_request()
318 void ircomm_data_indication(struct ircomm_cb *self, struct sk_buff *skb) in ircomm_data_indication()
335 void ircomm_process_data(struct ircomm_cb *self, struct sk_buff *skb) in ircomm_process_data()
380 int ircomm_control_request(struct ircomm_cb *self, struct sk_buff *skb) in ircomm_control_request()
402 struct sk_buff *skb, int clen) in ircomm_control_indication()
[all …]
/linux-4.4.14/net/ieee802154/6lowpan/
Drx.c29 static int lowpan_give_skb_to_device(struct sk_buff *skb) in lowpan_give_skb_to_device()
38 static int lowpan_rx_handlers_result(struct sk_buff *skb, lowpan_rx_result res) in lowpan_rx_handlers_result()
72 static lowpan_rx_result lowpan_rx_h_frag(struct sk_buff *skb) in lowpan_rx_h_frag()
91 int lowpan_iphc_decompress(struct sk_buff *skb) in lowpan_iphc_decompress()
101 static lowpan_rx_result lowpan_rx_h_iphc(struct sk_buff *skb) in lowpan_rx_h_iphc()
120 lowpan_rx_result lowpan_rx_h_ipv6(struct sk_buff *skb) in lowpan_rx_h_ipv6()
135 static lowpan_rx_result lowpan_rx_h_esc(struct sk_buff *skb) in lowpan_rx_h_esc()
151 static lowpan_rx_result lowpan_rx_h_hc1(struct sk_buff *skb) in lowpan_rx_h_hc1()
167 static lowpan_rx_result lowpan_rx_h_dff(struct sk_buff *skb) in lowpan_rx_h_dff()
183 static lowpan_rx_result lowpan_rx_h_bc0(struct sk_buff *skb) in lowpan_rx_h_bc0()
[all …]
D6lowpan_i.h62 int lowpan_frag_rcv(struct sk_buff *skb, const u8 frag_type);
69 int lowpan_header_create(struct sk_buff *skb, struct net_device *dev,
72 netdev_tx_t lowpan_xmit(struct sk_buff *skb, struct net_device *dev);
74 int lowpan_iphc_decompress(struct sk_buff *skb);
75 lowpan_rx_result lowpan_rx_h_ipv6(struct sk_buff *skb);
/linux-4.4.14/net/openvswitch/
Dconntrack.h29 int ovs_ct_action_to_attr(const struct ovs_conntrack_info *, struct sk_buff *);
31 int ovs_ct_execute(struct net *, struct sk_buff *, struct sw_flow_key *,
34 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key);
35 int ovs_ct_put_key(const struct sw_flow_key *key, struct sk_buff *skb);
61 struct sk_buff *skb) in ovs_ct_action_to_attr()
66 static inline int ovs_ct_execute(struct net *net, struct sk_buff *skb, in ovs_ct_execute()
74 static inline void ovs_ct_fill_key(const struct sk_buff *skb, in ovs_ct_fill_key()
84 struct sk_buff *skb) in ovs_ct_put_key()
Dflow_netlink.h47 int attr, bool is_mask, struct sk_buff *);
51 int ovs_nla_put_identifier(const struct sw_flow *flow, struct sk_buff *skb);
52 int ovs_nla_put_masked_key(const struct sw_flow *flow, struct sk_buff *skb);
53 int ovs_nla_put_mask(const struct sw_flow *flow, struct sk_buff *skb);
59 int ovs_nla_put_tunnel_info(struct sk_buff *skb,
73 int len, struct sk_buff *skb);
Dvport.h49 int ovs_vport_get_options(const struct vport *, struct sk_buff *);
52 int ovs_vport_get_upcall_portids(const struct vport *, struct sk_buff *);
53 u32 ovs_vport_find_upcall_portid(const struct vport *, struct sk_buff *);
141 int (*get_options)(const struct vport *, struct sk_buff *);
143 netdev_tx_t (*send) (struct sk_buff *skb);
184 int ovs_vport_receive(struct vport *, struct sk_buff *,
220 void ovs_vport_send(struct vport *vport, struct sk_buff *skb);
Dactions.c47 static int do_execute_actions(struct datapath *dp, struct sk_buff *skb,
52 struct sk_buff *skb;
112 static struct deferred_action *add_deferred_actions(struct sk_buff *skb, in add_deferred_actions()
140 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
174 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
204 static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_mpls()
229 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
241 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
264 static int set_eth_addr(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_eth_addr()
288 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum()
[all …]
Ddatapath.c92 struct sk_buff *skb, struct genl_info *info) in ovs_notify()
138 static int queue_gso_packets(struct datapath *dp, struct sk_buff *,
141 static int queue_userspace_packet(struct datapath *dp, struct sk_buff *,
256 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key) in ovs_dp_process_packet()
301 int ovs_dp_upcall(struct datapath *dp, struct sk_buff *skb, in ovs_dp_upcall()
332 static int queue_gso_packets(struct datapath *dp, struct sk_buff *skb, in queue_gso_packets()
338 struct sk_buff *segs, *nskb; in queue_gso_packets()
407 static void pad_packet(struct datapath *dp, struct sk_buff *skb) in pad_packet()
417 static int queue_userspace_packet(struct datapath *dp, struct sk_buff *skb, in queue_userspace_packet()
422 struct sk_buff *nskb = NULL; in queue_userspace_packet()
[all …]
/linux-4.4.14/include/linux/netfilter/
Dnfnetlink.h11 int (*call)(struct sock *nl, struct sk_buff *skb,
14 int (*call_rcu)(struct sock *nl, struct sk_buff *skb,
17 int (*call_batch)(struct net *net, struct sock *nl, struct sk_buff *skb,
29 int (*commit)(struct sk_buff *skb);
30 int (*abort)(struct sk_buff *skb);
37 struct sk_buff *nfnetlink_alloc_skb(struct net *net, unsigned int size,
39 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid,
42 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid,
Dnf_conntrack_h323.h39 extern int (*set_h245_addr_hook) (struct sk_buff *skb, unsigned int protoff,
44 extern int (*set_h225_addr_hook) (struct sk_buff *skb, unsigned int protoff,
49 extern int (*set_sig_addr_hook) (struct sk_buff *skb,
54 extern int (*set_ras_addr_hook) (struct sk_buff *skb,
59 extern int (*nat_rtp_rtcp_hook) (struct sk_buff *skb,
68 extern int (*nat_t120_hook) (struct sk_buff *skb, struct nf_conn *ct,
74 extern int (*nat_h245_hook) (struct sk_buff *skb, struct nf_conn *ct,
80 extern int (*nat_callforwarding_hook) (struct sk_buff *skb,
88 extern int (*nat_q931_hook) (struct sk_buff *skb, struct nf_conn *ct,
Dnf_conntrack_sip.h43 int (*request)(struct sk_buff *skb, unsigned int protoff,
47 int (*response)(struct sk_buff *skb, unsigned int protoff,
111 unsigned int (*msg)(struct sk_buff *skb,
117 void (*seq_adjust)(struct sk_buff *skb,
120 unsigned int (*expect)(struct sk_buff *skb,
129 unsigned int (*sdp_addr)(struct sk_buff *skb,
139 unsigned int (*sdp_port)(struct sk_buff *skb,
148 unsigned int (*sdp_session)(struct sk_buff *skb,
156 unsigned int (*sdp_media)(struct sk_buff *skb,
/linux-4.4.14/net/caif/
Dcfpkt_skbuff.c37 struct sk_buff skb;
56 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb()
61 static inline struct cfpkt *skb_to_pkt(struct sk_buff *skb) in skb_to_pkt()
82 struct sk_buff *skb; in cfpkt_create_pfx()
103 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_destroy()
109 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_more()
115 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_peek_head()
126 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_extr_head()
152 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_extr_trail()
179 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_add_body()
[all …]
/linux-4.4.14/include/linux/usb/
Dcdc_ncm.h103 struct sk_buff *tx_curr_skb;
104 struct sk_buff *tx_rem_skb;
144 struct sk_buff *cdc_ncm_fill_tx_frame(struct usbnet *dev, struct sk_buff *skb, __le32 sign);
145 int cdc_ncm_rx_verify_nth16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb_in);
146 int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset);
147 struct sk_buff *
148 cdc_ncm_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags);
149 int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in);
/linux-4.4.14/net/hsr/
Dhsr_forward.c24 struct sk_buff *skb_std;
25 struct sk_buff *skb_hsr;
51 static bool is_supervision_frame(struct hsr_priv *hsr, struct sk_buff *skb) in is_supervision_frame()
74 static struct sk_buff *create_stripped_skb(struct sk_buff *skb_in, in create_stripped_skb()
77 struct sk_buff *skb; in create_stripped_skb()
103 static struct sk_buff *frame_get_stripped_skb(struct hsr_frame_info *frame, in frame_get_stripped_skb()
112 static void hsr_fill_tag(struct sk_buff *skb, struct hsr_frame_info *frame, in hsr_fill_tag()
137 static struct sk_buff *create_tagged_skb(struct sk_buff *skb_o, in create_tagged_skb()
143 struct sk_buff *skb; in create_tagged_skb()
171 static struct sk_buff *frame_get_tagged_skb(struct hsr_frame_info *frame, in frame_get_tagged_skb()
[all …]
Dhsr_framereg.h21 struct hsr_node *hsr_get_node(struct list_head *node_db, struct sk_buff *skb,
23 void hsr_handle_sup_frame(struct sk_buff *skb, struct hsr_node *node_curr,
27 void hsr_addr_subst_source(struct hsr_node *node, struct sk_buff *skb);
28 void hsr_addr_subst_dest(struct hsr_node *node_src, struct sk_buff *skb,
/linux-4.4.14/security/selinux/include/
Dxfrm.h38 int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb,
40 int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb,
42 int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall);
43 int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid);
62 static inline int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_sock_rcv_skb()
68 static inline int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_postroute_last()
75 static inline int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, in selinux_xfrm_decode_session()
86 static inline int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) in selinux_xfrm_skb_sid()
Dnetlabel.h43 void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway);
48 int selinux_netlbl_skbuff_getsid(struct sk_buff *skb,
52 int selinux_netlbl_skbuff_setsid(struct sk_buff *skb,
60 struct sk_buff *skb,
74 static inline void selinux_netlbl_err(struct sk_buff *skb, in selinux_netlbl_err()
93 static inline int selinux_netlbl_skbuff_getsid(struct sk_buff *skb, in selinux_netlbl_skbuff_getsid()
102 static inline int selinux_netlbl_skbuff_setsid(struct sk_buff *skb, in selinux_netlbl_skbuff_setsid()
130 struct sk_buff *skb, in selinux_netlbl_sock_rcv_skb()
/linux-4.4.14/include/rdma/
Diw_portmap.h132 int iwpm_register_pid_cb(struct sk_buff *, struct netlink_callback *);
140 int iwpm_add_mapping_cb(struct sk_buff *, struct netlink_callback *);
148 int iwpm_add_and_query_mapping_cb(struct sk_buff *, struct netlink_callback *);
158 int iwpm_remote_info_cb(struct sk_buff *, struct netlink_callback *);
166 int iwpm_mapping_error_cb(struct sk_buff *, struct netlink_callback *);
177 int iwpm_mapping_info_cb(struct sk_buff *, struct netlink_callback *);
185 int iwpm_ack_mapping_info_cb(struct sk_buff *, struct netlink_callback *);
Drdma_netlink.h9 int (*dump)(struct sk_buff *skb, struct netlink_callback *nlcb);
45 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq,
56 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh,
66 int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh,
77 int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh,
/linux-4.4.14/net/ipv4/
Dudp_offload.c28 static struct sk_buff *__skb_udp_tunnel_segment(struct sk_buff *skb, in __skb_udp_tunnel_segment()
30 struct sk_buff *(*gso_inner_segment)(struct sk_buff *skb, in __skb_udp_tunnel_segment()
34 struct sk_buff *segs = ERR_PTR(-EINVAL); in __skb_udp_tunnel_segment()
140 struct sk_buff *skb_udp_tunnel_segment(struct sk_buff *skb, in skb_udp_tunnel_segment()
147 struct sk_buff *segs = ERR_PTR(-EINVAL); in skb_udp_tunnel_segment()
148 struct sk_buff *(*gso_inner_segment)(struct sk_buff *skb, in skb_udp_tunnel_segment()
178 static struct sk_buff *udp4_ufo_fragment(struct sk_buff *skb, in udp4_ufo_fragment()
181 struct sk_buff *segs = ERR_PTR(-EINVAL); in udp4_ufo_fragment()
293 struct sk_buff **udp_gro_receive(struct sk_buff **head, struct sk_buff *skb, in udp_gro_receive()
297 struct sk_buff *p, **pp = NULL; in udp_gro_receive()
[all …]
Dtcp_offload.c17 static void tcp_gso_tstamp(struct sk_buff *skb, unsigned int ts_seq, in tcp_gso_tstamp()
32 static struct sk_buff *tcp4_gso_segment(struct sk_buff *skb, in tcp4_gso_segment()
54 struct sk_buff *tcp_gso_segment(struct sk_buff *skb, in tcp_gso_segment()
57 struct sk_buff *segs = ERR_PTR(-EINVAL); in tcp_gso_segment()
65 struct sk_buff *gso_skb = skb; in tcp_gso_segment()
178 struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb) in tcp_gro_receive()
180 struct sk_buff **pp = NULL; in tcp_gro_receive()
181 struct sk_buff *p; in tcp_gro_receive()
274 int tcp_gro_complete(struct sk_buff *skb) in tcp_gro_complete()
291 static struct sk_buff **tcp4_gro_receive(struct sk_buff **head, struct sk_buff *skb) in tcp4_gro_receive()
[all …]
Dxfrm4_output.c21 static int xfrm4_tunnel_check_size(struct sk_buff *skb) in xfrm4_tunnel_check_size()
46 int xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_extract_output()
59 int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_prepare_output()
74 int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb) in xfrm4_output_finish()
85 static int __xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __xfrm4_output()
99 int xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb) in xfrm4_output()
107 void xfrm4_local_error(struct sk_buff *skb, u32 mtu) in xfrm4_local_error()
Dip_output.c87 ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
89 int (*output)(struct net *, struct sock *, struct sk_buff *));
99 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip_local_out()
110 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_out()
135 int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk, in ip_build_and_send_pkt()
175 static int ip_finish_output2(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_finish_output2()
191 struct sk_buff *skb2; in ip_finish_output2()
224 struct sk_buff *skb, unsigned int mtu) in ip_finish_output_gso()
227 struct sk_buff *segs; in ip_finish_output_gso()
253 struct sk_buff *nskb = segs->next; in ip_finish_output_gso()
[all …]
Dgre_offload.c18 static struct sk_buff *gre_gso_segment(struct sk_buff *skb, in gre_gso_segment()
21 struct sk_buff *segs = ERR_PTR(-EINVAL); in gre_gso_segment()
119 static struct sk_buff **gre_gro_receive(struct sk_buff **head, in gre_gro_receive()
120 struct sk_buff *skb) in gre_gro_receive()
122 struct sk_buff **pp = NULL; in gre_gro_receive()
123 struct sk_buff *p; in gre_gro_receive()
227 static int gre_gro_complete(struct sk_buff *skb, int nhoff) in gre_gro_complete()
Dfou.c51 static void fou_recv_pull(struct sk_buff *skb, size_t len) in fou_recv_pull()
64 static int fou_udp_recv(struct sock *sk, struct sk_buff *skb) in fou_udp_recv()
76 static struct guehdr *gue_remcsum(struct sk_buff *skb, struct guehdr *guehdr, in gue_remcsum()
99 static int gue_control_message(struct sk_buff *skb, struct guehdr *guehdr) in gue_control_message()
106 static int gue_udp_recv(struct sock *sk, struct sk_buff *skb) in gue_udp_recv()
180 static struct sk_buff **fou_gro_receive(struct sk_buff **head, in fou_gro_receive()
181 struct sk_buff *skb, in fou_gro_receive()
185 struct sk_buff **pp = NULL; in fou_gro_receive()
203 static int fou_gro_complete(struct sk_buff *skb, int nhoff, in fou_gro_complete()
227 static struct guehdr *gue_gro_remcsum(struct sk_buff *skb, unsigned int off, in gue_gro_remcsum()
[all …]
/linux-4.4.14/include/linux/can/
Dskb.h39 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) in can_skb_prv()
44 static inline void can_skb_reserve(struct sk_buff *skb) in can_skb_reserve()
49 static inline void can_skb_set_owner(struct sk_buff *skb, struct sock *sk) in can_skb_set_owner()
61 static inline struct sk_buff *can_create_echo_skb(struct sk_buff *skb) in can_create_echo_skb()
64 struct sk_buff *nskb = skb_clone(skb, GFP_ATOMIC); in can_create_echo_skb()
Ddev.h61 struct sk_buff **echo_skb;
85 struct sk_buff *skb) in can_dropped_invalid_skb()
108 static inline bool can_is_canfd_skb(const struct sk_buff *skb) in can_is_canfd_skb()
154 void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
159 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf);
160 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
162 struct sk_buff *alloc_can_err_skb(struct net_device *dev,
/linux-4.4.14/net/sched/
Dsch_choke.c76 struct sk_buff **tab;
121 struct sk_buff *skb = q->tab[idx]; in choke_drop_by_idx()
142 static inline struct choke_skb_cb *choke_skb_cb(const struct sk_buff *skb) in choke_skb_cb()
148 static inline void choke_set_classid(struct sk_buff *skb, u16 classid) in choke_set_classid()
153 static u16 choke_get_classid(const struct sk_buff *skb) in choke_get_classid()
163 static bool choke_match_flow(struct sk_buff *skb1, in choke_match_flow()
164 struct sk_buff *skb2) in choke_match_flow()
194 static bool choke_classify(struct sk_buff *skb, in choke_classify()
228 static struct sk_buff *choke_peek_random(const struct choke_sched_data *q, in choke_peek_random()
231 struct sk_buff *skb; in choke_peek_random()
[all …]
Dcls_flow.c70 static u32 flow_get_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_src()
80 static u32 flow_get_dst(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_dst()
90 static u32 flow_get_proto(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_proto()
95 static u32 flow_get_proto_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_proto_src()
103 static u32 flow_get_proto_dst(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_proto_dst()
111 static u32 flow_get_iif(const struct sk_buff *skb) in flow_get_iif()
116 static u32 flow_get_priority(const struct sk_buff *skb) in flow_get_priority()
121 static u32 flow_get_mark(const struct sk_buff *skb) in flow_get_mark()
126 static u32 flow_get_nfct(const struct sk_buff *skb) in flow_get_nfct()
152 static u32 flow_get_nfct_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_nfct_src()
[all …]
/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap_80211.h81 int prism2_rx_80211(struct net_device *dev, struct sk_buff *skb,
83 void hostap_80211_rx(struct net_device *dev, struct sk_buff *skb,
85 void hostap_dump_rx_80211(const char *name, struct sk_buff *skb,
88 void hostap_dump_tx_80211(const char *name, struct sk_buff *skb);
89 netdev_tx_t hostap_data_start_xmit(struct sk_buff *skb,
91 netdev_tx_t hostap_mgmt_start_xmit(struct sk_buff *skb,
93 netdev_tx_t hostap_master_start_xmit(struct sk_buff *skb,
/linux-4.4.14/net/xfrm/
Dxfrm_output.c22 static int xfrm_output2(struct net *net, struct sock *sk, struct sk_buff *skb);
24 static int xfrm_skb_check_space(struct sk_buff *skb) in xfrm_skb_check_space()
45 static struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop()
53 static int xfrm_output_one(struct sk_buff *skb, int err) in xfrm_output_one()
132 int xfrm_output_resume(struct sk_buff *skb, int err) in xfrm_output_resume()
161 static int xfrm_output2(struct net *net, struct sock *sk, struct sk_buff *skb) in xfrm_output2()
166 static int xfrm_output_gso(struct net *net, struct sock *sk, struct sk_buff *skb) in xfrm_output_gso()
168 struct sk_buff *segs; in xfrm_output_gso()
180 struct sk_buff *nskb = segs->next; in xfrm_output_gso()
197 int xfrm_output(struct sock *sk, struct sk_buff *skb) in xfrm_output()
[all …]
/linux-4.4.14/drivers/nfc/st21nfca/
Dst21nfca.h123 struct sk_buff *rx_skb;
127 struct sk_buff *tx_pending;
184 u8 event, struct sk_buff *skb);
185 int st21nfca_tm_send_dep_res(struct nfc_hci_dev *hdev, struct sk_buff *skb);
188 int st21nfca_im_send_dep_req(struct nfc_hci_dev *hdev, struct sk_buff *skb);
193 u8 event, struct sk_buff *skb);
195 u8 event, struct sk_buff *skb);
208 struct sk_buff *skb);
/linux-4.4.14/crypto/
Dcrypto_user.c42 struct sk_buff *in_skb;
43 struct sk_buff *out_skb;
81 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
100 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
114 static int crypto_report_akcipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_akcipher()
130 struct crypto_user_alg *ualg, struct sk_buff *skb) in crypto_report_one()
191 struct sk_buff *in_skb = info->in_skb; in crypto_report_alg()
192 struct sk_buff *skb = info->out_skb; in crypto_report_alg()
218 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_report()
223 struct sk_buff *skb; in crypto_report()
[all …]
/linux-4.4.14/drivers/isdn/i4l/
Disdn_v110.h18 extern struct sk_buff *isdn_v110_encode(isdn_v110_stream *, struct sk_buff *);
24 extern struct sk_buff *isdn_v110_decode(isdn_v110_stream *, struct sk_buff *);
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.h205 struct sk_buff *wr_pending_head;
206 struct sk_buff *wr_pending_tail;
207 struct sk_buff *cpl_close;
208 struct sk_buff *cpl_abort_req;
209 struct sk_buff *cpl_abort_rpl;
210 struct sk_buff *skb_ulp_lhdr;
277 struct sk_buff *wr_next;
310 static inline void cxgbi_skcb_set_flag(struct sk_buff *skb, in cxgbi_skcb_set_flag()
316 static inline void cxgbi_skcb_clear_flag(struct sk_buff *skb, in cxgbi_skcb_clear_flag()
322 static inline int cxgbi_skcb_test_flag(const struct sk_buff *skb, in cxgbi_skcb_test_flag()
[all …]
/linux-4.4.14/net/dsa/
Ddsa_priv.h19 struct sk_buff *(*xmit)(struct sk_buff *skb, struct net_device *dev);
20 int (*rcv)(struct sk_buff *skb, struct net_device *dev,
30 struct sk_buff * (*xmit)(struct sk_buff *skb,
/linux-4.4.14/net/decnet/netfilter/
Ddn_rtmsg.c33 static struct sk_buff *dnrmg_build_message(struct sk_buff *rt_skb, int *errp) in dnrmg_build_message()
35 struct sk_buff *skb = NULL; in dnrmg_build_message()
64 static void dnrmg_send_peer(struct sk_buff *skb) in dnrmg_send_peer()
66 struct sk_buff *skb2; in dnrmg_send_peer()
91 struct sk_buff *skb, in dnrmg_hook()
101 static inline void dnrmg_receive_user_skb(struct sk_buff *skb) in dnrmg_receive_user_skb()
/linux-4.4.14/net/mac80211/
Dmesh.h219 struct sk_buff *skb);
221 struct sk_buff *skb);
223 struct sk_buff *skb);
225 struct sk_buff *skb);
227 struct sk_buff *skb);
229 struct sk_buff *skb);
231 struct sk_buff *skb);
233 struct sk_buff *skb);
238 struct sta_info *sta, struct sk_buff *skb);
265 struct sk_buff *skb);
[all …]
/linux-4.4.14/drivers/bluetooth/
Dbtbcm.c42 struct sk_buff *skb; in btbcm_check_bdaddr()
90 struct sk_buff *skb; in btbcm_set_bdaddr()
111 struct sk_buff *skb; in btbcm_patchram()
171 struct sk_buff *skb; in btbcm_reset()
184 static struct sk_buff *btbcm_read_local_name(struct hci_dev *hdev) in btbcm_read_local_name()
186 struct sk_buff *skb; in btbcm_read_local_name()
205 static struct sk_buff *btbcm_read_local_version(struct hci_dev *hdev) in btbcm_read_local_version()
207 struct sk_buff *skb; in btbcm_read_local_version()
226 static struct sk_buff *btbcm_read_verbose_config(struct hci_dev *hdev) in btbcm_read_verbose_config()
228 struct sk_buff *skb; in btbcm_read_verbose_config()
[all …]
Dhci_uart.h71 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb);
72 struct sk_buff *(*dequeue)(struct hci_uart *hu);
87 struct sk_buff *tx_skb;
122 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb);
146 struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb,
/linux-4.4.14/include/net/phonet/
Dphonet.h52 void pn_deliver_sock_broadcast(struct net *net, struct sk_buff *skb);
63 int pn_skb_send(struct sock *sk, struct sk_buff *skb,
66 static inline struct phonethdr *pn_hdr(struct sk_buff *skb) in pn_hdr()
71 static inline struct phonetmsg *pn_msg(struct sk_buff *skb) in pn_msg()
81 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_src_sockaddr()
93 void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_dst_sockaddr()
/linux-4.4.14/include/trace/events/
Dnet.h15 TP_PROTO(const struct sk_buff *skb, const struct net_device *dev),
72 TP_PROTO(struct sk_buff *skb,
99 TP_PROTO(struct sk_buff *skb),
121 TP_PROTO(struct sk_buff *skb),
128 TP_PROTO(struct sk_buff *skb),
135 TP_PROTO(struct sk_buff *skb),
142 TP_PROTO(const struct sk_buff *skb),
206 TP_PROTO(const struct sk_buff *skb),
213 TP_PROTO(const struct sk_buff *skb),
220 TP_PROTO(const struct sk_buff *skb),
[all …]
/linux-4.4.14/net/nfc/nci/
Drsp.c40 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_core_reset_rsp_packet()
55 static void nci_core_init_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_core_init_rsp_packet()
122 struct sk_buff *skb) in nci_core_set_config_rsp_packet()
132 struct sk_buff *skb) in nci_rf_disc_map_rsp_packet()
141 static void nci_rf_disc_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_rf_disc_rsp_packet()
172 struct sk_buff *skb) in nci_rf_disc_select_rsp_packet()
184 struct sk_buff *skb) in nci_rf_deactivate_rsp_packet()
200 struct sk_buff *skb) in nci_nfcee_discover_rsp_packet()
217 struct sk_buff *skb) in nci_nfcee_mode_set_rsp_packet()
226 struct sk_buff *skb) in nci_core_conn_create_rsp_packet()
[all …]
/linux-4.4.14/net/irda/irnet/
Dirnet_irda.h104 struct sk_buff *);
113 struct sk_buff *);
118 struct sk_buff *);
125 struct sk_buff *);
140 struct sk_buff *);
/linux-4.4.14/net/ipv4/netfilter/
Dnft_chain_nat_ipv4.c30 struct sk_buff *skb, in nft_nat_do_chain()
42 struct sk_buff *skb, in nft_nat_ipv4_fn()
49 struct sk_buff *skb, in nft_nat_ipv4_in()
56 struct sk_buff *skb, in nft_nat_ipv4_out()
63 struct sk_buff *skb, in nft_nat_ipv4_local_fn()
Dnf_reject_ipv4.c19 const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, in nf_reject_ip_tcphdr_get()
45 struct iphdr *nf_reject_iphdr_put(struct sk_buff *nskb, in nf_reject_iphdr_put()
46 const struct sk_buff *oldskb, in nf_reject_iphdr_put()
70 void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, in nf_reject_ip_tcphdr_put()
102 void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset()
104 struct sk_buff *nskb; in nf_send_reset()
169 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach()
/linux-4.4.14/net/ipv6/netfilter/
Dnft_chain_nat_ipv6.c28 struct sk_buff *skb, in nft_nat_do_chain()
40 struct sk_buff *skb, in nft_nat_ipv6_fn()
47 struct sk_buff *skb, in nft_nat_ipv6_in()
54 struct sk_buff *skb, in nft_nat_ipv6_out()
61 struct sk_buff *skb, in nft_nat_ipv6_local_fn()
/linux-4.4.14/include/linux/netfilter/ipset/
Dip_set_getport.h4 extern bool ip_set_get_ip4_port(const struct sk_buff *skb, bool src,
8 extern bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src,
11 static inline bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src, in ip_set_get_ip6_port()
18 extern bool ip_set_get_ip_port(const struct sk_buff *skb, u8 pf, bool src,
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h47 struct sk_buff;
83 struct sk_buff * skb);
94 static inline void set_arp_failure_handler(struct sk_buff *skb, in set_arp_failure_handler()
114 int t3_l2t_send_slow(struct t3cdev *dev, struct sk_buff *skb,
120 int cxgb3_ofld_send(struct t3cdev *dev, struct sk_buff *skb);
122 static inline int l2t_send(struct t3cdev *dev, struct sk_buff *skb, in l2t_send()
/linux-4.4.14/net/unix/
Ddiag.c11 static int sk_diag_dump_name(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_name()
22 static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_vfs()
38 static int sk_diag_dump_peer(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_peer()
56 static int sk_diag_dump_icons(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_icons()
58 struct sk_buff *skb; in sk_diag_dump_icons()
97 static int sk_diag_show_rqlen(struct sock *sk, struct sk_buff *nlskb) in sk_diag_show_rqlen()
112 static int sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, in sk_diag_fill()
166 static int sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, in sk_diag_dump()
181 static int unix_diag_dump(struct sk_buff *skb, struct netlink_callback *cb) in unix_diag_dump()
243 static int unix_diag_get_exact(struct sk_buff *in_skb, in unix_diag_get_exact()
[all …]
/linux-4.4.14/drivers/nfc/
Dport100.c103 struct sk_buff *resp);
453 struct sk_buff *req;
454 struct sk_buff *resp;
709 static int port100_send_frame_async(struct port100 *dev, struct sk_buff *out, in port100_send_frame_async()
710 struct sk_buff *in, int in_len) in port100_send_frame_async()
739 struct sk_buff *skb) in port100_build_cmd_frame()
757 struct sk_buff *req = cmd->req; in port100_send_async_complete()
758 struct sk_buff *resp = cmd->resp; in port100_send_async_complete()
782 struct sk_buff *req, in port100_send_cmd_async()
787 struct sk_buff *resp; in port100_send_cmd_async()
[all …]
/linux-4.4.14/net/6lowpan/
Dnhc.h76 int (*uncompress)(struct sk_buff *skb, size_t needed);
77 int (*compress)(struct sk_buff *skb, u8 **hc_ptr);
97 int lowpan_nhc_check_compression(struct sk_buff *skb,
108 int lowpan_nhc_do_compression(struct sk_buff *skb, const struct ipv6hdr *hdr,
119 int lowpan_nhc_do_uncompression(struct sk_buff *skb,
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dutil.h53 static inline struct mwifiex_rxinfo *MWIFIEX_SKB_RXCB(struct sk_buff *skb) in MWIFIEX_SKB_RXCB()
61 static inline struct mwifiex_txinfo *MWIFIEX_SKB_TXCB(struct sk_buff *skb) in MWIFIEX_SKB_TXCB()
68 static inline void mwifiex_store_mapping(struct sk_buff *skb, in mwifiex_store_mapping()
76 static inline void mwifiex_get_mapping(struct sk_buff *skb, in mwifiex_get_mapping()
84 static inline dma_addr_t MWIFIEX_SKB_DMA_ADDR(struct sk_buff *skb) in MWIFIEX_SKB_DMA_ADDR()
/linux-4.4.14/net/sctp/
Dulpevent.c67 struct sk_buff *skb; in sctp_ulpevent_new()
94 struct sk_buff *skb; in sctp_ulpevent_set_owner()
133 struct sk_buff *skb; in sctp_ulpevent_make_assoc_change()
262 struct sk_buff *skb; in sctp_ulpevent_make_peer_addr_change()
376 struct sk_buff *skb; in sctp_ulpevent_make_remote_error()
432 struct sk_buff *skb; in sctp_ulpevent_make_send_failed()
541 struct sk_buff *skb; in sctp_ulpevent_make_shutdown_event()
604 struct sk_buff *skb; in sctp_ulpevent_make_adaptation_indication()
640 struct sk_buff *skb; in sctp_ulpevent_make_rcvmsg()
700 sctp_ulpevent_init(event, 0, skb->len + sizeof(struct sk_buff)); in sctp_ulpevent_make_rcvmsg()
[all …]
/linux-4.4.14/net/decnet/
Ddn_nsp_out.c74 static void dn_nsp_send(struct sk_buff *skb) in dn_nsp_send()
118 struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri) in dn_alloc_skb()
120 struct sk_buff *skb; in dn_alloc_skb()
211 static inline unsigned int dn_nsp_clone_and_send(struct sk_buff *skb, in dn_nsp_clone_and_send()
215 struct sk_buff *skb2; in dn_nsp_clone_and_send()
241 struct sk_buff *skb; in dn_nsp_output()
287 static inline __le16 *dn_mk_common_header(struct dn_scp *scp, struct sk_buff *skb, unsigned char ms… in dn_mk_common_header()
301 static __le16 *dn_mk_ack_header(struct sock *sk, struct sk_buff *skb, unsigned char msgflag, int hl… in dn_mk_ack_header()
333 static __le16 *dn_nsp_mk_data_header(struct sock *sk, struct sk_buff *skb, int oth) in dn_nsp_mk_data_header()
351 void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, in dn_nsp_queue_xmit()
[all …]
Ddn_nsp_in.c81 static void dn_log_martian(struct sk_buff *skb, const char *msg) in dn_log_martian()
100 static void dn_ack(struct sock *sk, struct sk_buff *skb, unsigned short ack) in dn_ack()
136 static int dn_process_ack(struct sock *sk, struct sk_buff *skb, int oth) in dn_process_ack()
225 static struct sock *dn_find_listener(struct sk_buff *skb, unsigned short *reason) in dn_find_listener()
332 static void dn_nsp_conn_init(struct sock *sk, struct sk_buff *skb) in dn_nsp_conn_init()
344 static void dn_nsp_conn_conf(struct sock *sk, struct sk_buff *skb) in dn_nsp_conn_conf()
387 static void dn_nsp_conn_ack(struct sock *sk, struct sk_buff *skb) in dn_nsp_conn_ack()
399 static void dn_nsp_disc_init(struct sock *sk, struct sk_buff *skb) in dn_nsp_disc_init()
467 static void dn_nsp_disc_conf(struct sock *sk, struct sk_buff *skb) in dn_nsp_disc_conf()
511 static void dn_nsp_linkservice(struct sock *sk, struct sk_buff *skb) in dn_nsp_linkservice()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dusb.h76 struct sk_buff *skb, in _rtl_install_trx_info()
132 struct sk_buff *(*usb_tx_aggregate_hdl)(struct ieee80211_hw *,
135 struct urb *, struct sk_buff *);
136 void (*usb_tx_cleanup)(struct ieee80211_hw *, struct sk_buff *);
147 void (*usb_rx_segregate_hdl)(struct ieee80211_hw *, struct sk_buff *,
149 void (*usb_rx_hdl)(struct ieee80211_hw *, struct sk_buff *);
/linux-4.4.14/fs/dlm/
Dnetlink.c25 static int prepare_data(u8 cmd, struct sk_buff **skbp, size_t size) in prepare_data()
27 struct sk_buff *skb; in prepare_data()
45 static struct dlm_lock_data *mk_data(struct sk_buff *skb) in mk_data()
55 static int send_data(struct sk_buff *skb) in send_data()
65 static int user_cmd(struct sk_buff *skb, struct genl_info *info) in user_cmd()
114 struct sk_buff *uninitialized_var(send_skb); in dlm_timeout_warn()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.h79 struct sk_buff *arpq_head; /* queue of packets awaiting resolution */
80 struct sk_buff *arpq_tail;
90 typedef void (*arp_err_handler_t)(void *handle, struct sk_buff *skb);
102 static inline void t4_set_arp_err_handler(struct sk_buff *skb, void *handle, in t4_set_arp_err_handler()
110 int cxgb4_l2t_send(struct net_device *dev, struct sk_buff *skb,
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c121 static void *ipvlan_get_L3_hdr(struct sk_buff *skb, int *type) in ipvlan_get_L3_hdr()
195 struct sk_buff *skb, *nskb; in ipvlan_process_multicast()
257 static int ipvlan_rcv_frame(struct ipvl_addr *addr, struct sk_buff **pskb, in ipvlan_rcv_frame()
265 struct sk_buff *skb = *pskb; in ipvlan_rcv_frame()
345 static int ipvlan_process_v4_outbound(struct sk_buff *skb) in ipvlan_process_v4_outbound()
383 static int ipvlan_process_v6_outbound(struct sk_buff *skb) in ipvlan_process_v6_outbound()
421 static int ipvlan_process_outbound(struct sk_buff *skb, in ipvlan_process_outbound()
459 struct sk_buff *skb) in ipvlan_multicast_enqueue()
478 static int ipvlan_xmit_mode_l3(struct sk_buff *skb, struct net_device *dev) in ipvlan_xmit_mode_l3()
498 static int ipvlan_xmit_mode_l2(struct sk_buff *skb, struct net_device *dev) in ipvlan_xmit_mode_l2()
[all …]
/linux-4.4.14/drivers/staging/wlan-ng/
Dp80211conv.h96 void p80211skb_free(struct wlandevice *wlandev, struct sk_buff *skb);
97 int p80211skb_rxmeta_attach(struct wlandevice *wlandev, struct sk_buff *skb);
98 void p80211skb_rxmeta_detach(struct sk_buff *skb);
153 struct sk_buff *skb);
155 struct sk_buff *skb, union p80211_hdr *p80211_hdr,
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt.h45 int (*encrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv);
46 int (*decrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv);
50 int (*encrypt_msdu)(struct sk_buff *skb, int hdr_len, void *priv);
51 int (*decrypt_msdu)(struct sk_buff *skb, int keyidx, int hdr_len,
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Dxmit_osdep.h27 struct sk_buff *pkt;
43 int rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev);
53 void _rtw_open_pktfile(struct sk_buff *pkt, struct pkt_file *pfile);
57 void rtw_os_pkt_complete(struct adapter *padapter, struct sk_buff *pkt);
/linux-4.4.14/drivers/isdn/mISDN/
Dlayer2.c147 l2up(struct layer2 *l2, u_int prim, struct sk_buff *skb) in l2up()
166 struct sk_buff *skb; in l2up_create()
189 l2down_skb(struct layer2 *l2, struct sk_buff *skb) { in l2down_skb()
200 l2down_raw(struct layer2 *l2, struct sk_buff *skb) in l2down_raw()
215 l2down(struct layer2 *l2, u_int prim, u_int id, struct sk_buff *skb) in l2down()
227 struct sk_buff *skb; in l2down_create()
246 ph_data_confirm(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) { in ph_data_confirm()
247 struct sk_buff *nskb = skb; in ph_data_confirm()
290 struct sk_buff *skb; in l2_timeout()
423 enqueue_super(struct layer2 *l2, struct sk_buff *skb) in enqueue_super()
[all …]
/linux-4.4.14/net/bluetooth/
Dhci_event.c44 static void hci_cc_inquiry_cancel(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_inquiry_cancel()
69 static void hci_cc_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_periodic_inq()
81 static void hci_cc_exit_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_exit_periodic_inq()
96 struct sk_buff *skb) in hci_cc_remote_name_req_cancel()
101 static void hci_cc_role_discovery(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_role_discovery()
120 static void hci_cc_read_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_read_link_policy()
139 static void hci_cc_write_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_write_link_policy()
164 struct sk_buff *skb) in hci_cc_read_def_link_policy()
177 struct sk_buff *skb) in hci_cc_write_def_link_policy()
194 static void hci_cc_reset(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_reset()
[all …]

12345678910>>...14