Home
last modified time | relevance | path

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

12345678910>>...13

/linux-4.1.27/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);
Dip.h52 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
102 int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk,
105 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
107 int ip_local_deliver(struct sk_buff *skb);
108 int ip_mr_input(struct sk_buff *skb);
109 int ip_output(struct sock *sk, struct sk_buff *skb);
110 int ip_mc_output(struct sock *sk, struct sk_buff *skb);
111 int ip_fragment(struct sock *sk, struct sk_buff *skb,
112 int (*output)(struct sock *, struct sk_buff *));
113 int ip_do_nat(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 …]
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 …]
Dxfrm.h271 struct sk_buff *skb,
274 struct sk_buff *skb,
277 int (*overflow)(struct xfrm_state *x, struct sk_buff *skb);
291 void (*decode_session)(struct sk_buff *skb,
334 int (*output)(struct sock *sk, struct sk_buff *skb);
335 int (*output_finish)(struct sock *sk, struct sk_buff *skb);
337 struct sk_buff *skb);
339 struct sk_buff *skb);
340 int (*transport_finish)(struct sk_buff *skb,
342 void (*local_error)(struct sk_buff *skb, u32 mtu);
[all …]
Dtcp.h352 void tcp_v4_err(struct sk_buff *skb, u32);
356 void tcp_v4_early_demux(struct sk_buff *skb);
357 int tcp_v4_rcv(struct sk_buff *skb);
364 void tcp_wfree(struct sk_buff *skb);
368 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 …]
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);
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 …]
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,
187 struct sk_buff *skb, struct net *net, u32 portid,
190 struct sk_buff *genlmsg_new_unicast(size_t payload, struct genl_info *info,
192 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq,
254 static inline void *genlmsg_put_reply(struct sk_buff *skb, in genlmsg_put_reply()
268 static inline void genlmsg_end(struct sk_buff *skb, void *hdr) in genlmsg_end()
278 static inline void genlmsg_cancel(struct sk_buff *skb, void *hdr) in genlmsg_cancel()
[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 *);
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;
167 static inline bool ipv6_unicast_destination(const struct sk_buff *skb) in ipv6_unicast_destination()
174 static inline bool ipv6_anycast_destination(const struct sk_buff *skb) in ipv6_anycast_destination()
181 int ip6_fragment(struct sock *sk, struct sk_buff *skb,
[all …]
Ddst.h31 struct sk_buff;
47 int (*input)(struct sk_buff *);
48 int (*output)(struct sock *sk, struct sk_buff *skb);
285 static inline void skb_dst_drop(struct sk_buff *skb) in skb_dst_drop()
293 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy()
306 static inline void skb_dst_force(struct sk_buff *skb) in skb_dst_force()
336 static inline void skb_dst_force_safe(struct sk_buff *skb) in skb_dst_force_safe()
358 static inline void __skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev, in __skb_tunnel_rx()
382 static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev, in skb_tunnel_rx()
395 static inline struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop()
[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));
Dip_vs.h41 static inline struct net *skb_net(const struct sk_buff *skb) in skb_net()
69 static inline struct net *skb_sknet(const struct sk_buff *skb) in skb_sknet()
116 static inline void *frag_safe_skb_hp(const struct sk_buff *skb, int offset, in frag_safe_skb_hp()
140 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, struct ip_vs_iphdr *iphdr) in ip_vs_fill_iph_skb()
426 struct sk_buff;
444 int (*conn_schedule)(int af, struct sk_buff *skb,
451 const struct sk_buff *skb,
457 const struct sk_buff *skb,
461 int (*snat_handler)(struct sk_buff *skb, struct ip_vs_protocol *pp,
464 int (*dnat_handler)(struct sk_buff *skb, struct ip_vs_protocol *pp,
[all …]
Dax25.h265 static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev) in ax25_type_trans()
281 void ax25_send_to_raw(ax25_address *, struct sk_buff *, int);
319 int ax25_ds_frame_in(ax25_cb *, struct sk_buff *, int);
344 int (*func)(struct sk_buff *, ax25_cb *);
359 int(*ax25_protocol_function(unsigned int))(struct sk_buff *, ax25_cb *);
365 int ax25_rx_iframe(ax25_cb *, struct sk_buff *);
366 int ax25_kiss_rcv(struct sk_buff *, struct net_device *, struct packet_type *,
370 netdev_tx_t ax25_ip_xmit(struct sk_buff *skb);
374 ax25_cb *ax25_send_frame(struct sk_buff *, int, ax25_address *, ax25_address *,
376 void ax25_output(ax25_cb *, int, struct sk_buff *);
[all …]
Dgre.h13 int (*handler)(struct sk_buff *skb);
14 void (*err_handler)(struct sk_buff *skb, u32 info);
27 int (*handler)(struct sk_buff *skb, const struct tnl_ptk_info *tpi);
28 int (*err_handler)(struct sk_buff *skb, u32 info,
36 void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi,
39 static inline struct sk_buff *gre_handle_offloads(struct sk_buff *skb, in gre_handle_offloads()
Ddst_ops.h10 struct sk_buff;
26 void (*link_failure)(struct sk_buff *);
28 struct sk_buff *skb, u32 mtu);
30 struct sk_buff *skb);
31 int (*local_out)(struct sk_buff *skb);
33 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 …]
Dip_tunnels.h125 int (*build_header)(struct sk_buff *skb, struct ip_tunnel_encap *e,
151 void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev,
154 int ip_tunnel_encap(struct sk_buff *skb, struct ip_tunnel *t,
165 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb,
178 const struct sk_buff *skb) in ip_tunnel_get_dsfield()
190 const struct sk_buff *skb) in ip_tunnel_ecn_encap()
197 int iptunnel_pull_header(struct sk_buff *skb, int hdr_len, __be16 inner_proto);
198 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb,
202 struct sk_buff *iptunnel_handle_offloads(struct sk_buff *skb, bool gre_csum,
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,
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.h14 int tso_count_descs(struct sk_buff *skb);
15 void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso,
17 void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size);
18 void tso_start(struct sk_buff *skb, struct tso_t *tso);
Dact_api.h90 int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *);
91 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
97 int (*walk)(struct sk_buff *, struct netlink_callback *, int, struct tc_action *);
119 int tcf_action_exec(struct sk_buff *skb, const struct list_head *actions,
127 int tcf_action_dump(struct sk_buff *skb, struct list_head *, int, int);
128 int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
129 int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
130 int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
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()
Ddn_neigh.h21 int dn_neigh_router_hello(struct sock *sk, struct sk_buff *skb);
22 int dn_neigh_endnode_hello(struct sock *sk, struct sk_buff *skb);
23 void dn_neigh_pointopoint_hello(struct sk_buff *skb);
25 int dn_to_neigh_output(struct sock *sk, struct sk_buff *skb);
Dipv6.h289 void icmpv6_notify(struct sk_buff *skb, u8 type, u8 code, __be32 info);
296 int ipv6_parse_hopopts(struct sk_buff *skb);
308 bool ipv6_opt_accepted(const struct sock *sk, const struct sk_buff *skb,
694 void ipv6_proxy_select_ident(struct net *net, struct sk_buff *skb);
727 static inline __be32 ip6_make_flowlabel(struct net *net, struct sk_buff *skb, in ip6_make_flowlabel()
748 static inline __be32 ip6_make_flowlabel(struct net *net, struct sk_buff *skb, in ip6_make_flowlabel()
787 int ipv6_rcv(struct sk_buff *skb, struct net_device *dev,
790 int ip6_rcv_finish(struct sock *sk, struct sk_buff *skb);
795 int ip6_xmit(struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
798 int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr);
[all …]
Dudp_tunnel.h64 typedef int (*udp_tunnel_encap_rcv_t)(struct sock *sk, struct sk_buff *skb);
80 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb,
87 struct sk_buff *skb,
96 static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb, in udp_tunnel_handle_offloads()
104 static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff) in udp_tunnel_gro_complete()
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()
Dflow_keys.h30 bool __skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow,
32 static inline bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow) in skb_flow_dissect()
36 __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto,
38 static inline __be32 skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto) in skb_flow_get_ports()
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,
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 *);
Dneighbour.h152 int (*output)(struct neighbour *, struct sk_buff *);
161 void (*solicit)(struct neighbour *, struct sk_buff *);
162 void (*error_report)(struct neighbour *, struct sk_buff *);
163 int (*output)(struct neighbour *, struct sk_buff *);
164 int (*connected_output)(struct neighbour *, struct sk_buff *);
201 void (*proxy_redo)(struct sk_buff *skb);
315 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb);
320 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb);
321 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb);
322 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb);
[all …]
/linux-4.1.27/include/linux/
Dskbuff.h151 SKB_DATA_ALIGN(sizeof(struct sk_buff)) + \
185 struct sk_buff *next;
186 struct sk_buff *prev;
192 struct sk_buff;
323 struct sk_buff *frag_list;
520 struct sk_buff { struct
524 struct sk_buff *next; argument
525 struct sk_buff *prev;
546 void (*destructor)(struct sk_buff *skb); argument
588 #define PKT_TYPE_OFFSET() offsetof(struct sk_buff, __pkt_type_offset) argument
[all …]
Dnetlink.h13 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr()
47 void (*input)(struct sk_buff *skb);
67 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
69 extern struct sk_buff *netlink_alloc_skb(struct sock *ssk, unsigned int size,
71 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
72 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
74 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
76 int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data),
84 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
86 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
[all …]
Dnetfilter.h44 struct sk_buff;
57 int (*okfn)(struct sock *, struct sk_buff *);
66 int (*okfn)(struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
78 struct sk_buff *skb,
149 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state);
160 struct sk_buff *skb, in nf_hook_thresh()
163 int (*okfn)(struct sock *, struct sk_buff *), in nf_hook_thresh() argument
177 struct sk_buff *skb, struct net_device *indev, in nf_hook() argument
179 int (*okfn)(struct sock *, struct sk_buff *)) in nf_hook()
203 struct sk_buff *skb, struct net_device *in, in NF_HOOK_THRESH()
[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 …]
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 *);
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,
106 extern int ndo_dflt_fdb_dump(struct sk_buff *skb,
123 extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
Dsock_diag.h7 struct sk_buff;
13 int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh);
19 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
20 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
25 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attr);
27 struct sk_buff *skb, int attrtype);
Dnetfilter_bridge.h23 static inline unsigned int nf_bridge_mtu_reduction(const struct sk_buff *skb) in nf_bridge_mtu_reduction()
30 int br_handle_frame_finish(struct sock *sk, struct sk_buff *skb);
32 static inline void br_drop_fake_rtable(struct sk_buff *skb) in br_drop_fake_rtable()
40 static inline int nf_bridge_get_physinif(const struct sk_buff *skb) in nf_bridge_get_physinif()
51 static inline int nf_bridge_get_physoutif(const struct sk_buff *skb) in nf_bridge_get_physoutif()
63 nf_bridge_get_physindev(const struct sk_buff *skb) in nf_bridge_get_physindev()
69 nf_bridge_get_physoutdev(const struct sk_buff *skb) in nf_bridge_get_physoutdev()
Dinet_diag.h10 struct sk_buff;
14 void (*dump)(struct sk_buff *skb,
19 int (*dump_one)(struct sk_buff *in_skb,
31 struct sk_buff *skb, const struct inet_diag_req_v2 *req,
35 void inet_diag_dump_icsk(struct inet_hashinfo *h, struct sk_buff *skb,
40 struct sk_buff *in_skb, const struct nlmsghdr *nlh,
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);
317 struct sk_buff *gro_list;
318 struct sk_buff *skb;
389 typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **pskb);
770 struct sk_buff *skb);
1050 netdev_tx_t (*ndo_start_xmit) (struct sk_buff *skb,
1053 struct sk_buff *skb,
1107 int vf, struct sk_buff *skb);
[all …]
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()
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 */
Dti_wilink_st.h72 long (*recv) (void *, struct sk_buff *);
75 long (*write) (struct sk_buff *skb);
146 struct sk_buff *tx_skb;
154 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);
Detherdevice.h33 __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev);
36 int eth_header(struct sk_buff *skb, struct net_device *dev, unsigned short type,
38 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
54 struct sk_buff **eth_gro_receive(struct sk_buff **head,
55 struct sk_buff *skb);
56 int eth_gro_complete(struct sk_buff *skb, int nhoff);
405 static inline int eth_skb_pad(struct sk_buff *skb) in eth_skb_pad()
/linux-4.1.27/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 …]
Dnl802154.c29 static int nl802154_pre_doit(const struct genl_ops *ops, struct sk_buff *skb,
32 static void nl802154_post_doit(const struct genl_ops *ops, struct sk_buff *skb,
231 static inline void *nl802154hdr_put(struct sk_buff *skb, u32 portid, u32 seq, in nl802154hdr_put()
240 struct sk_buff *msg) in nl802154_send_wpan_phy_channels()
261 struct sk_buff *msg, u32 portid, u32 seq, in nl802154_send_wpan_phy()
323 static int nl802154_dump_wpan_phy_parse(struct sk_buff *skb, in nl802154_dump_wpan_phy_parse()
361 nl802154_dump_wpan_phy(struct sk_buff *skb, struct netlink_callback *cb) in nl802154_dump_wpan_phy()
422 static int nl802154_get_wpan_phy(struct sk_buff *skb, struct genl_info *info) in nl802154_get_wpan_phy()
424 struct sk_buff *msg; in nl802154_get_wpan_phy()
447 nl802154_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flags, in nl802154_send_iface()
[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()
Dnl-mac.c37 static int nla_put_hwaddr(struct sk_buff *msg, int type, __le64 hwaddr) in nla_put_hwaddr()
47 static int nla_put_shortaddr(struct sk_buff *msg, int type, __le16 addr) in nla_put_shortaddr()
59 struct sk_buff *msg; in ieee802154_nl_start_confirm()
80 static int ieee802154_nl_fill_iface(struct sk_buff *msg, u32 portid, in ieee802154_nl_fill_iface()
180 int ieee802154_associate_req(struct sk_buff *skb, struct genl_info *info) in ieee802154_associate_req()
227 int ieee802154_associate_resp(struct sk_buff *skb, struct genl_info *info) in ieee802154_associate_resp()
258 int ieee802154_disassociate_req(struct sk_buff *skb, struct genl_info *info) in ieee802154_disassociate_req()
298 int ieee802154_start_req(struct sk_buff *skb, struct genl_info *info) in ieee802154_start_req()
370 int ieee802154_scan_req(struct sk_buff *skb, struct genl_info *info) in ieee802154_scan_req()
407 int ieee802154_list_iface(struct sk_buff *skb, struct genl_info *info) in ieee802154_list_iface()
[all …]
/linux-4.1.27/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(const struct nf_hook_ops *ops, struct sk_buff *skb,
49 struct sk_buff *skb,
53 unsigned int nf_nat_ipv4_out(const struct nf_hook_ops *ops, struct sk_buff *skb,
56 struct sk_buff *skb,
61 struct sk_buff *skb,
[all …]
Dnfnetlink_queue.h9 struct nf_conn *nfqnl_ct_get(struct sk_buff *entskb, size_t *size,
11 struct nf_conn *nfqnl_ct_parse(const struct sk_buff *skb,
14 int nfqnl_ct_put(struct sk_buff *skb, struct nf_conn *ct,
16 void nfqnl_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct,
22 nfqnl_ct_get(struct sk_buff *entskb, size_t *size, enum ip_conntrack_info *ctinfo) in nfqnl_ct_get()
27 inline struct nf_conn *nfqnl_ct_parse(const struct sk_buff *skb, in nfqnl_ct_parse()
35 nfqnl_ct_put(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo) in nfqnl_ct_put()
40 inline void nfqnl_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct, in nfqnl_ct_seq_adjust()
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()
193 bool nf_ct_get_tuplepr(const struct sk_buff *skb, unsigned int nhoff,
199 const struct sk_buff *skb,
205 const struct sk_buff *skb, in nf_ct_refresh_acct()
213 const struct sk_buff *skb, in nf_ct_refresh()
220 const struct sk_buff *skb, int do_acct);
225 const struct sk_buff *skb) in nf_ct_kill_acct()
281 static inline bool nf_is_loopback_packet(const struct sk_buff *skb) in nf_is_loopback_packet()
/linux-4.1.27/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.1.27/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)(struct ath10k *ar, struct sk_buff *skb,
42 int (*pull_svc_rdy)(struct ath10k *ar, struct sk_buff *skb,
[all …]
Dwmi-tlv.c167 struct sk_buff *skb) in ath10k_wmi_tlv_event_bcn_tx_status()
209 struct sk_buff *skb) in ath10k_wmi_tlv_event_diag_data()
272 struct sk_buff *skb) in ath10k_wmi_tlv_event_diag()
303 static void ath10k_wmi_tlv_op_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_tlv_op_rx()
429 struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_scan_ev()
461 struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_mgmt_rx_ev()
510 struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_ch_info_ev()
542 ath10k_wmi_tlv_op_pull_vdev_start_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_vdev_start_ev()
573 struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_peer_kick_ev()
672 struct sk_buff *skb, in ath10k_wmi_tlv_op_pull_swba_ev()
[all …]
Dwmi.c903 struct sk_buff *ath10k_wmi_alloc_skb(struct ath10k *ar, u32 len) in ath10k_wmi_alloc_skb()
905 struct sk_buff *skb; in ath10k_wmi_alloc_skb()
922 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_htc_tx_complete()
927 int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_cmd_send_nowait()
961 struct sk_buff *bcn; in ath10k_wmi_tx_beacon_nowait()
1024 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id) in ath10k_wmi_cmd_send()
1054 static struct sk_buff *
1055 ath10k_wmi_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_op_gen_mgmt_tx()
1059 struct sk_buff *skb; in ath10k_wmi_op_gen_mgmt_tx()
1248 static int ath10k_wmi_op_pull_scan_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_op_pull_scan_ev()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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 …]
/linux-4.1.27/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.1.27/net/bridge/
Dbr_forward.c25 struct sk_buff *skb,
27 struct sk_buff *skb));
31 const struct sk_buff *skb) in should_deliver()
38 int br_dev_queue_push_xmit(struct sock *sk, struct sk_buff *skb) in br_dev_queue_push_xmit()
53 int br_forward_finish(struct sock *sk, struct sk_buff *skb) in br_forward_finish()
62 static void __br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) in __br_deliver()
85 static void __br_forward(const struct net_bridge_port *to, struct sk_buff *skb) in __br_forward()
108 void br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) in br_deliver()
120 void br_forward(const struct net_bridge_port *to, struct sk_buff *skb, struct sk_buff *skb0) in br_forward()
135 struct sk_buff *skb, in deliver_clone()
[all …]
Dbr_private.h347 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev);
350 struct sk_buff *skb) in br_netpoll_send_skb()
362 struct sk_buff *skb) in br_netpoll_send_skb()
402 int br_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb,
412 void br_deliver(const struct net_bridge_port *to, struct sk_buff *skb);
413 int br_dev_queue_push_xmit(struct sock *sk, struct sk_buff *skb);
415 struct sk_buff *skb, struct sk_buff *skb0);
416 int br_forward_finish(struct sock *sk, struct sk_buff *skb);
417 void br_flood_deliver(struct net_bridge *br, struct sk_buff *skb, bool unicast);
418 void br_flood_forward(struct net_bridge *br, struct sk_buff *skb,
[all …]
Dbr_netfilter.c72 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto()
94 static inline __be16 pppoe_proto(const struct sk_buff *skb) in pppoe_proto()
123 static struct nf_bridge_info *nf_bridge_info_get(const struct sk_buff *skb) in nf_bridge_info_get()
144 static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb) in nf_bridge_alloc()
153 static inline struct nf_bridge_info *nf_bridge_unshare(struct sk_buff *skb) in nf_bridge_unshare()
170 static unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb) in nf_bridge_encap_header_len()
182 static inline void nf_bridge_push_encap_header(struct sk_buff *skb) in nf_bridge_push_encap_header()
190 static inline void nf_bridge_pull_encap_header(struct sk_buff *skb) in nf_bridge_pull_encap_header()
198 static inline void nf_bridge_pull_encap_header_rcsum(struct sk_buff *skb) in nf_bridge_pull_encap_header_rcsum()
211 static int br_parse_ip_options(struct sk_buff *skb) in br_parse_ip_options()
[all …]
/linux-4.1.27/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(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.1.27/net/batman-adv/
Drouting.h21 bool batadv_check_management_packet(struct sk_buff *skb,
28 int batadv_recv_icmp_packet(struct sk_buff *skb,
30 int batadv_recv_unicast_packet(struct sk_buff *skb,
32 int batadv_recv_frag_packet(struct sk_buff *skb,
34 int batadv_recv_bcast_packet(struct sk_buff *skb,
36 int batadv_recv_tt_query(struct sk_buff *skb,
38 int batadv_recv_roam_adv(struct sk_buff *skb,
40 int batadv_recv_unicast_tvlv(struct sk_buff *skb,
42 int batadv_recv_unhandled_unicast_packet(struct sk_buff *skb,
Dsend.h21 int batadv_send_skb_packet(struct sk_buff *skb,
24 int batadv_send_skb_to_orig(struct sk_buff *skb,
29 const struct sk_buff *skb,
36 struct sk_buff *skb,
40 struct sk_buff *skb, int packet_type,
45 struct sk_buff *skb, int packet_type,
48 int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb,
65 struct sk_buff *skb, uint8_t *dst_hint, in batadv_send_skb_via_tt()
88 struct sk_buff *skb, in batadv_send_skb_via_tt_4addr()
Dbridge_loop_avoidance.h22 int batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb,
24 int batadv_bla_tx(struct batadv_priv *bat_priv, struct sk_buff *skb,
26 int batadv_bla_is_backbone_gw(struct sk_buff *skb,
34 struct sk_buff *skb);
45 struct sk_buff *skb, unsigned short vid, in batadv_bla_rx()
52 struct sk_buff *skb, unsigned short vid) in batadv_bla_tx()
57 static inline int batadv_bla_is_backbone_gw(struct sk_buff *skb, in batadv_bla_is_backbone_gw()
85 struct sk_buff *skb) in batadv_bla_check_bcast_duplist()
Ddistributed-arp-table.h33 struct sk_buff *skb);
35 struct sk_buff *skb, int hdr_size);
37 struct sk_buff *skb);
39 struct sk_buff *skb, int hdr_size);
107 struct sk_buff *skb) in batadv_dat_snoop_outgoing_arp_request()
114 struct sk_buff *skb, int hdr_size) in batadv_dat_snoop_incoming_arp_request()
121 struct sk_buff *skb) in batadv_dat_snoop_outgoing_arp_reply()
128 struct sk_buff *skb, int hdr_size) in batadv_dat_snoop_incoming_arp_reply()
Dnetwork-coding.h38 bool batadv_nc_skb_forward(struct sk_buff *skb,
41 struct sk_buff *skb);
43 struct sk_buff *skb);
92 static inline bool batadv_nc_skb_forward(struct sk_buff *skb, in batadv_nc_skb_forward()
100 struct sk_buff *skb) in batadv_nc_skb_store_for_decoding()
106 struct sk_buff *skb) in batadv_nc_skb_store_sniffed_unicast()
Dfragmentation.c125 struct sk_buff *skb, in batadv_frag_insert_packet()
230 static struct sk_buff *
231 batadv_frag_merge_packets(struct hlist_head *chain, struct sk_buff *skb) in batadv_frag_merge_packets()
235 struct sk_buff *skb_out = NULL; in batadv_frag_merge_packets()
292 bool batadv_frag_skb_buffer(struct sk_buff **skb, in batadv_frag_skb_buffer()
295 struct sk_buff *skb_out = NULL; in batadv_frag_skb_buffer()
330 bool batadv_frag_skb_fwd(struct sk_buff *skb, in batadv_frag_skb_fwd()
385 static struct sk_buff *batadv_frag_create(struct sk_buff *skb, in batadv_frag_create()
389 struct sk_buff *skb_fragment; in batadv_frag_create()
419 bool batadv_frag_send_packet(struct sk_buff *skb, in batadv_frag_send_packet()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 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.1.27/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.1.27/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 …]
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 …]
Dfilter.c61 int sk_filter(struct sock *sk, struct sk_buff *skb) in sk_filter()
93 return skb_get_poff((struct sk_buff *)(unsigned long) ctx); in __skb_get_pay_offset()
98 struct sk_buff *skb = (struct sk_buff *)(unsigned long) ctx; in __skb_get_nlattr()
119 struct sk_buff *skb = (struct sk_buff *)(unsigned long) ctx; in __skb_get_nlattr_nest()
160 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access()
163 offsetof(struct sk_buff, mark)); in convert_skb_access()
175 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
178 offsetof(struct sk_buff, queue_mapping)); in convert_skb_access()
183 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
188 offsetof(struct sk_buff, vlan_tci)); in convert_skb_access()
[all …]
/linux-4.1.27/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.1.27/net/tipc/
Dbearer.h105 int (*send_msg)(struct net *net, struct sk_buff *buf,
178 void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b_ptr);
192 int tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info);
193 int tipc_nl_bearer_enable(struct sk_buff *skb, struct genl_info *info);
194 int tipc_nl_bearer_dump(struct sk_buff *skb, struct netlink_callback *cb);
195 int tipc_nl_bearer_get(struct sk_buff *skb, struct genl_info *info);
196 int tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
198 int tipc_nl_media_dump(struct sk_buff *skb, struct netlink_callback *cb);
199 int tipc_nl_media_get(struct sk_buff *skb, struct genl_info *info);
200 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()
203 bool tipc_msg_validate(struct sk_buff *skb) in tipc_msg_validate()
255 struct sk_buff *skb; in tipc_msg_build()
[all …]
Dlink.h175 struct sk_buff *failover_skb;
204 struct sk_buff *reasm_buf;
227 int tipc_link_xmit_skb(struct net *net, struct sk_buff *skb, u32 dest,
236 u32 tipc_link_defer_pkt(struct sk_buff_head *list, struct sk_buff *buf);
239 struct sk_buff *start, u32 retransmits);
240 struct sk_buff *tipc_skb_queue_next(const struct sk_buff_head *list,
241 const struct sk_buff *skb);
243 int tipc_nl_link_dump(struct sk_buff *skb, struct netlink_callback *cb);
244 int tipc_nl_link_get(struct sk_buff *skb, struct genl_info *info);
245 int tipc_nl_link_set(struct sk_buff *skb, struct genl_info *info);
[all …]
Dmsg.h109 struct sk_buff *tail;
123 static inline struct tipc_msg *buf_msg(struct sk_buff *skb) in buf_msg()
765 struct sk_buff *tipc_buf_acquire(u32 size);
766 bool tipc_msg_validate(struct sk_buff *skb);
767 bool tipc_msg_reverse(u32 own_addr, struct sk_buff *buf, u32 *dnode,
771 struct sk_buff *tipc_msg_create(uint user, uint type, uint hdr_sz,
774 int tipc_buf_append(struct sk_buff **headbuf, struct sk_buff **buf);
775 bool tipc_msg_bundle(struct sk_buff *bskb, struct sk_buff *skb, u32 mtu);
777 bool tipc_msg_make_bundle(struct sk_buff **skb, u32 mtu, u32 dnode);
778 bool tipc_msg_extract(struct sk_buff *skb, struct sk_buff **iskb, int *pos);
[all …]
/linux-4.1.27/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.1.27/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 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.1.27/include/linux/usb/
Dcdc_ncm.h100 struct sk_buff *tx_curr_skb;
101 struct sk_buff *tx_rem_skb;
139 struct sk_buff *cdc_ncm_fill_tx_frame(struct usbnet *dev, struct sk_buff *skb, __le32 sign);
140 int cdc_ncm_rx_verify_nth16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb_in);
141 int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset);
142 struct sk_buff *
143 cdc_ncm_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags);
144 int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in);
/linux-4.1.27/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.1.27/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.1.27/include/net/nfc/
Dnci_core.h72 int (*send)(struct nci_dev *ndev, struct sk_buff *skb);
84 struct sk_buff *skb);
86 struct sk_buff *skb);
106 struct sk_buff *rx_skb;
248 struct sk_buff *rx_data_reassembly;
267 int nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
283 struct sk_buff **skb);
290 struct sk_buff **skb);
293 static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev, in nci_skb_alloc()
297 struct sk_buff *skb; in nci_skb_alloc()
[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);
254 struct sk_buff *skb);
256 struct sk_buff *skb);
258 struct sk_buff *skb);
259 void nfc_hci_recv_frame(struct nfc_hci_dev *hdev, 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.1.27/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.1.27/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.1.27/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()
44 int xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_extract_output()
57 int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_prepare_output()
72 int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb) in xfrm4_output_finish()
83 static int __xfrm4_output(struct sock *sk, struct sk_buff *skb) in __xfrm4_output()
97 int xfrm4_output(struct sock *sk, struct sk_buff *skb) in xfrm4_output()
104 void xfrm4_local_error(struct sk_buff *skb, u32 mtu) in xfrm4_local_error()
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()
95 static int gue_control_message(struct sk_buff *skb, struct guehdr *guehdr) in gue_control_message()
102 static int gue_udp_recv(struct sock *sk, struct sk_buff *skb) in gue_udp_recv()
176 static struct sk_buff **fou_gro_receive(struct sk_buff **head, in fou_gro_receive()
177 struct sk_buff *skb, in fou_gro_receive()
181 struct sk_buff **pp = NULL; in fou_gro_receive()
199 static int fou_gro_complete(struct sk_buff *skb, int nhoff, in fou_gro_complete()
223 static struct guehdr *gue_gro_remcsum(struct sk_buff *skb, unsigned int off, in gue_gro_remcsum()
[all …]
Dip_output.c94 int __ip_local_out_sk(struct sock *sk, struct sk_buff *skb) in __ip_local_out_sk()
104 int __ip_local_out(struct sk_buff *skb) in __ip_local_out()
109 int ip_local_out_sk(struct sock *sk, struct sk_buff *skb) in ip_local_out_sk()
134 int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk, in ip_build_and_send_pkt()
171 static inline int ip_finish_output2(struct sock *sk, struct sk_buff *skb) in ip_finish_output2()
187 struct sk_buff *skb2; in ip_finish_output2()
219 static int ip_finish_output_gso(struct sock *sk, struct sk_buff *skb) in ip_finish_output_gso()
222 struct sk_buff *segs; in ip_finish_output_gso()
248 struct sk_buff *nskb = segs->next; in ip_finish_output_gso()
262 static int ip_finish_output(struct sock *sk, struct sk_buff *skb) in ip_finish_output()
[all …]
/linux-4.1.27/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.h60 struct sk_buff **echo_skb;
84 struct sk_buff *skb) in can_dropped_invalid_skb()
107 static inline bool can_is_canfd_skb(const struct sk_buff *skb) in can_is_canfd_skb()
153 void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
158 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf);
159 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
161 struct sk_buff *alloc_can_err_skb(struct net_device *dev,
/linux-4.1.27/net/openvswitch/
Dvport.h53 int ovs_vport_get_options(const struct vport *, struct sk_buff *);
56 int ovs_vport_get_upcall_portids(const struct vport *, struct sk_buff *);
57 u32 ovs_vport_find_upcall_portid(const struct vport *, struct sk_buff *);
59 int ovs_vport_send(struct vport *, struct sk_buff *);
68 int ovs_vport_get_egress_tun_info(struct vport *vport, struct sk_buff *skb,
172 int (*get_options)(const struct vport *, struct sk_buff *);
177 int (*send)(struct vport *, struct sk_buff *);
178 int (*get_egress_tun_info)(struct vport *, struct sk_buff *,
228 void ovs_vport_receive(struct vport *, struct sk_buff *,
231 static inline void ovs_skb_postpush_rcsum(struct sk_buff *skb, in ovs_skb_postpush_rcsum()
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);
57 int ovs_nla_put_egress_tunnel_key(struct sk_buff *,
69 int len, struct sk_buff *skb);
Dactions.c43 static int do_execute_actions(struct datapath *dp, struct sk_buff *skb,
48 struct sk_buff *skb;
94 static struct deferred_action *add_deferred_actions(struct sk_buff *skb, in add_deferred_actions()
122 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
158 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
192 static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_mpls()
217 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
229 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
252 static int set_eth_addr(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_eth_addr()
276 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr()
[all …]
/linux-4.1.27/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.1.27/net/ipv6/
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()
95 int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_extract_output()
108 int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_prepare_output()
123 int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb) in xfrm6_output_finish()
134 static int __xfrm6_output(struct sock *sk, struct sk_buff *skb) in __xfrm6_output()
169 int xfrm6_output(struct sock *sk, struct sk_buff *skb) in xfrm6_output()
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()
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()
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()
/linux-4.1.27/net/xfrm/
Dxfrm_output.c22 static int xfrm_output2(struct sock *sk, struct sk_buff *skb);
24 static int xfrm_skb_check_space(struct sk_buff *skb) in xfrm_skb_check_space()
41 static int xfrm_output_one(struct sk_buff *skb, int err) in xfrm_output_one()
120 int xfrm_output_resume(struct sk_buff *skb, int err) in xfrm_output_resume()
147 static int xfrm_output2(struct sock *sk, struct sk_buff *skb) in xfrm_output2()
152 static int xfrm_output_gso(struct sock *sk, struct sk_buff *skb) in xfrm_output_gso()
154 struct sk_buff *segs; in xfrm_output_gso()
166 struct sk_buff *nskb = segs->next; in xfrm_output_gso()
183 int xfrm_output(struct sock *sk, struct sk_buff *skb) in xfrm_output()
204 int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm_inner_extract_output()
[all …]
/linux-4.1.27/net/sched/
Dsch_choke.c76 struct sk_buff **tab;
121 struct sk_buff *skb = q->tab[idx]; in choke_drop_by_idx()
148 static inline struct choke_skb_cb *choke_skb_cb(const struct sk_buff *skb) in choke_skb_cb()
154 static inline void choke_set_classid(struct sk_buff *skb, u16 classid) in choke_set_classid()
159 static u16 choke_get_classid(const struct sk_buff *skb) in choke_get_classid()
169 static bool choke_match_flow(struct sk_buff *skb1, in choke_match_flow()
170 struct sk_buff *skb2) in choke_match_flow()
200 static bool choke_classify(struct sk_buff *skb, in choke_classify()
234 static struct sk_buff *choke_peek_random(const struct choke_sched_data *q, in choke_peek_random()
237 struct sk_buff *skb; in choke_peek_random()
[all …]
Dcls_flow.c69 static u32 flow_get_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_src()
76 static u32 flow_get_dst(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_dst()
83 static u32 flow_get_proto(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_proto()
88 static u32 flow_get_proto_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_proto_src()
96 static u32 flow_get_proto_dst(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_proto_dst()
104 static u32 flow_get_iif(const struct sk_buff *skb) in flow_get_iif()
109 static u32 flow_get_priority(const struct sk_buff *skb) in flow_get_priority()
114 static u32 flow_get_mark(const struct sk_buff *skb) in flow_get_mark()
119 static u32 flow_get_nfct(const struct sk_buff *skb) in flow_get_nfct()
145 static u32 flow_get_nfct_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_nfct_src()
[all …]
Dsch_fq_codel.c46 struct sk_buff *head;
47 struct sk_buff *tail;
71 const struct sk_buff *skb) in fq_codel_hash()
84 static unsigned int fq_codel_classify(struct sk_buff *skb, struct Qdisc *sch, in fq_codel_classify()
122 static inline struct sk_buff *dequeue_head(struct fq_codel_flow *flow) in dequeue_head()
124 struct sk_buff *skb = flow->head; in dequeue_head()
133 struct sk_buff *skb) in flow_queue_add()
146 struct sk_buff *skb; in fq_codel_drop()
173 static int fq_codel_enqueue(struct sk_buff *skb, struct Qdisc *sch) in fq_codel_enqueue()
220 static struct sk_buff *dequeue(struct codel_vars *vars, struct Qdisc *sch) in dequeue()
[all …]
/linux-4.1.27/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.1.27/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;
275 struct sk_buff *wr_next;
308 static inline void cxgbi_skcb_set_flag(struct sk_buff *skb, in cxgbi_skcb_set_flag()
314 static inline void cxgbi_skcb_clear_flag(struct sk_buff *skb, in cxgbi_skcb_clear_flag()
320 static inline int cxgbi_skcb_test_flag(const struct sk_buff *skb, in cxgbi_skcb_test_flag()
[all …]
/linux-4.1.27/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.1.27/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 …]
Dspi.c41 static int __nci_spi_send(struct nci_spi *nspi, struct sk_buff *skb, in __nci_spi_send()
68 struct sk_buff *skb) in nci_spi_send()
156 struct sk_buff *skb; in send_acknowledge()
181 static struct sk_buff *__nci_spi_read(struct nci_spi *nspi) in __nci_spi_read()
183 struct sk_buff *skb; in __nci_spi_read()
246 static int nci_spi_check_crc(struct sk_buff *skb) in nci_spi_check_crc()
260 static u8 nci_spi_get_ack(struct sk_buff *skb) in nci_spi_get_ack()
283 struct sk_buff *nci_spi_read(struct nci_spi *nspi) in nci_spi_read()
285 struct sk_buff *skb; in nci_spi_read()
/linux-4.1.27/crypto/
Dcrypto_user.c41 struct sk_buff *in_skb;
42 struct sk_buff *out_skb;
80 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
99 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
114 struct crypto_user_alg *ualg, struct sk_buff *skb) in crypto_report_one()
169 struct sk_buff *in_skb = info->in_skb; in crypto_report_alg()
170 struct sk_buff *skb = info->out_skb; in crypto_report_alg()
196 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_report()
201 struct sk_buff *skb; in crypto_report()
233 static int crypto_dump_report(struct sk_buff *skb, struct netlink_callback *cb) in crypto_dump_report()
[all …]
/linux-4.1.27/drivers/bluetooth/
Dhci_uart.h66 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb);
67 struct sk_buff *(*dequeue)(struct hci_uart *hu);
82 struct sk_buff *tx_skb;
110 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb);
134 struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb,
Dbtbcm.c40 struct sk_buff *skb; in btbcm_check_bdaddr()
82 struct sk_buff *skb; in btbcm_set_bdaddr()
104 struct sk_buff *skb; in btbcm_patchram()
172 struct sk_buff *skb; in btbcm_reset()
185 static struct sk_buff *btbcm_read_local_version(struct hci_dev *hdev) in btbcm_read_local_version()
187 struct sk_buff *skb; in btbcm_read_local_version()
206 static struct sk_buff *btbcm_read_verbose_config(struct hci_dev *hdev) in btbcm_read_verbose_config()
208 struct sk_buff *skb; in btbcm_read_verbose_config()
226 static struct sk_buff *btbcm_read_usb_product(struct hci_dev *hdev) in btbcm_read_usb_product()
228 struct sk_buff *skb; in btbcm_read_usb_product()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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 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.1.27/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()
Dnf_reject_ipv6.c19 const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, in nf_reject_ip6_tcphdr_get()
67 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb, in nf_reject_ip6hdr_put()
68 const struct sk_buff *oldskb, in nf_reject_ip6hdr_put()
91 void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb, in nf_reject_ip6_tcphdr_put()
92 const struct sk_buff *oldskb, in nf_reject_ip6_tcphdr_put()
133 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset6()
135 struct sk_buff *nskb; in nf_send_reset6()
213 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok()
235 void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, in nf_send_unreach6()
/linux-4.1.27/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,
Dip_set.h152 int (*kadt)(struct ip_set *set, const struct sk_buff *skb,
175 int (*head)(struct ip_set *set, struct sk_buff *skb);
177 int (*list)(const struct ip_set *set, struct sk_buff *skb,
263 ip_set_put_flags(struct sk_buff *skb, struct ip_set *set) in ip_set_put_flags()
336 ip_set_put_skbinfo(struct sk_buff *skb, struct ip_set_skbinfo *skbinfo) in ip_set_put_skbinfo()
363 ip_set_put_counter(struct sk_buff *skb, struct ip_set_counter *counter) in ip_set_put_counter()
401 extern int ip_set_add(ip_set_id_t id, const struct sk_buff *skb,
404 extern int ip_set_del(ip_set_id_t id, const struct sk_buff *skb,
407 extern int ip_set_test(ip_set_id_t id, const struct sk_buff *skb,
479 static inline int nla_put_ipaddr4(struct sk_buff *skb, int type, __be32 ipaddr) in nla_put_ipaddr4()
[all …]
/linux-4.1.27/net/netfilter/
Dcore.c123 struct sk_buff *skb, in nf_iterate()
161 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state) in nf_hook_slow()
200 int skb_make_writable(struct sk_buff *skb, unsigned int writable_len) in skb_make_writable()
225 void (*ip_ct_attach)(struct sk_buff *, const struct sk_buff *)
229 void nf_ct_attach(struct sk_buff *new, const struct sk_buff *skb) in nf_ct_attach()
231 void (*attach)(struct sk_buff *, const struct sk_buff *); in nf_ct_attach()
267 void (*nf_nat_decode_session_hook)(struct sk_buff *, struct flowi *);
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/nfc/st21nfca/
Dst21nfca_dep.h24 struct sk_buff *tx_pending;
36 u8 event, struct sk_buff *skb);
37 int st21nfca_tm_send_dep_res(struct nfc_hci_dev *hdev, struct sk_buff *skb);
40 int st21nfca_im_send_dep_req(struct nfc_hci_dev *hdev, struct sk_buff *skb);
/linux-4.1.27/net/6lowpan/
Dnhc.h78 int (*uncompress)(struct sk_buff *skb, size_t needed);
79 int (*compress)(struct sk_buff *skb, u8 **hc_ptr);
101 int lowpan_nhc_check_compression(struct sk_buff *skb,
113 int lowpan_nhc_do_compression(struct sk_buff *skb, const struct ipv6hdr *hdr,
124 int lowpan_nhc_do_uncompression(struct sk_buff *skb, struct net_device *dev,
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.h65 struct sk_buff *arpq_head; /* queue of packets awaiting resolution */
66 struct sk_buff *arpq_tail;
76 typedef void (*arp_err_handler_t)(void *handle, struct sk_buff *skb);
88 static inline void t4_set_arp_err_handler(struct sk_buff *skb, void *handle, in t4_set_arp_err_handler()
96 int cxgb4_l2t_send(struct net_device *dev, struct sk_buff *skb,
/linux-4.1.27/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.1.27/drivers/net/wireless/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.1.27/net/ieee802154/6lowpan/
Dtx.c32 lowpan_addr_info *lowpan_skb_priv(const struct sk_buff *skb) in lowpan_skb_priv()
39 int lowpan_header_create(struct sk_buff *skb, struct net_device *dev, in lowpan_header_create()
72 static struct sk_buff*
73 lowpan_alloc_frag(struct sk_buff *skb, int size, in lowpan_alloc_frag()
77 struct sk_buff *frag; in lowpan_alloc_frag()
105 lowpan_xmit_fragment(struct sk_buff *skb, const struct ieee802154_hdr *wpan_hdr, in lowpan_xmit_fragment()
109 struct sk_buff *frag; in lowpan_xmit_fragment()
126 lowpan_xmit_fragmented(struct sk_buff *skb, struct net_device *dev, in lowpan_xmit_fragmented()
191 static int lowpan_header(struct sk_buff *skb, struct net_device *dev) in lowpan_header()
233 netdev_tx_t lowpan_xmit(struct sk_buff *skb, struct net_device *dev) in lowpan_xmit()
/linux-4.1.27/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);
234 struct sta_info *sta, struct sk_buff *skb);
261 struct sk_buff *skb);
263 struct sk_buff *skb);
317 struct sk_buff *skb);
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/wlan-ng/
Dp80211conv.h99 void p80211skb_free(struct wlandevice *wlandev, struct sk_buff *skb);
100 int p80211skb_rxmeta_attach(struct wlandevice *wlandev, struct sk_buff *skb);
101 void p80211skb_rxmeta_detach(struct sk_buff *skb);
156 struct sk_buff *skb);
158 struct sk_buff *skb, union p80211_hdr *p80211_hdr,
/linux-4.1.27/net/bluetooth/
Dhci_event.c44 static void hci_cc_inquiry_cancel(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_inquiry_cancel()
64 static void hci_cc_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_periodic_inq()
76 static void hci_cc_exit_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_exit_periodic_inq()
91 struct sk_buff *skb) in hci_cc_remote_name_req_cancel()
96 static void hci_cc_role_discovery(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_role_discovery()
115 static void hci_cc_read_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_read_link_policy()
134 static void hci_cc_write_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_write_link_policy()
159 struct sk_buff *skb) in hci_cc_read_def_link_policy()
172 struct sk_buff *skb) in hci_cc_write_def_link_policy()
189 static void hci_cc_reset(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_reset()
[all …]
/linux-4.1.27/net/wimax/
Dwimax-internal.h97 int wimax_gnl_doit_msg_from_user(struct sk_buff *skb, struct genl_info *info);
98 int wimax_gnl_doit_reset(struct sk_buff *skb, struct genl_info *info);
99 int wimax_gnl_doit_rfkill(struct sk_buff *skb, struct genl_info *info);
100 int wimax_gnl_doit_state_get(struct sk_buff *skb, struct genl_info *info);

12345678910>>...13