Searched refs:skb (Results 126 - 150 of 242) sorted by relevance

12345678910

/include/scsi/
H A Dfc_frame.h59 /* Max number of skb frags allowed, reserving one for fcoe_crc_eof page */
62 #define fp_skb(fp) (&((fp)->skb))
63 #define fr_hdr(fp) ((fp)->skb.data)
64 #define fr_len(fp) ((fp)->skb.len)
65 #define fr_cb(fp) ((struct fcoe_rcv_info *)&((fp)->skb.cb[0]))
77 struct sk_buff skb; member in struct:fc_frame
95 * Get fc_frame pointer for an skb that's already been imported.
97 static inline struct fcoe_rcv_info *fcoe_dev_from_skb(const struct sk_buff *skb) argument
99 BUILD_BUG_ON(sizeof(struct fcoe_rcv_info) > sizeof(skb->cb));
100 return (struct fcoe_rcv_info *) skb
[all...]
/include/linux/
H A Dif_pppox.h24 static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb) argument
26 return (struct pppoe_hdr *)skb_network_header(skb);
51 int (*backlog_rcv)(struct sock *sk_udp, struct sk_buff *skb);
60 int (*backlog_rcv)(struct sock *sk_raw, struct sk_buff *skb);
H A Dinet_diag.h14 void (*dump)(struct sk_buff *skb,
31 struct sk_buff *skb, struct inet_diag_req_v2 *req,
35 void inet_diag_dump_icsk(struct inet_hashinfo *h, struct sk_buff *skb,
H A Dipv6.h71 static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb) argument
73 return (struct ipv6hdr *)skb_network_header(skb);
76 static inline struct ipv6hdr *inner_ipv6_hdr(const struct sk_buff *skb) argument
78 return (struct ipv6hdr *)skb_inner_network_header(skb);
81 static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb) argument
83 return (struct ipv6hdr *)skb_transport_header(skb);
88 as offsets from skb->nh.
113 #define IP6CB(skb) ((struct inet6_skb_parm*)((skb)->cb))
114 #define IP6CBMTU(skb) ((struc
116 inet6_iif(const struct sk_buff *skb) argument
[all...]
H A Datalk.h62 static __inline__ struct ddpehdr *ddp_hdr(struct sk_buff *skb) argument
64 return (struct ddpehdr *)skb_transport_header(skb);
90 static __inline__ struct elapaarp *aarp_hdr(struct sk_buff *skb) argument
92 return (struct elapaarp *)skb_transport_header(skb);
123 struct sk_buff *skb,
H A Dtcp.h27 static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb) argument
29 return (struct tcphdr *)skb_transport_header(skb);
32 static inline unsigned int tcp_hdrlen(const struct sk_buff *skb) argument
34 return tcp_hdr(skb)->doff * 4;
37 static inline struct tcphdr *inner_tcp_hdr(const struct sk_buff *skb) argument
39 return (struct tcphdr *)skb_inner_transport_header(skb);
42 static inline unsigned int inner_tcp_hdrlen(const struct sk_buff *skb) argument
44 return inner_tcp_hdr(skb)->doff * 4;
47 static inline unsigned int tcp_optlen(const struct sk_buff *skb) argument
49 return (tcp_hdr(skb)
[all...]
H A Digmp.h23 static inline struct igmphdr *igmp_hdr(const struct sk_buff *skb) argument
25 return (struct igmphdr *)skb_transport_header(skb);
29 igmpv3_report_hdr(const struct sk_buff *skb) argument
31 return (struct igmpv3_report *)skb_transport_header(skb);
35 igmpv3_query_hdr(const struct sk_buff *skb) argument
37 return (struct igmpv3_query *)skb_transport_header(skb);
H A Dnetpoll.h65 void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb,
67 static inline void netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) argument
71 netpoll_send_skb_on_dev(np, skb, np->dev);
H A Dmroute6.h27 extern int ip6_mr_input(struct sk_buff *skb);
117 extern int ip6mr_get_route(struct net *net, struct sk_buff *skb,
121 extern struct sock *mroute6_socket(struct net *net, struct sk_buff *skb);
124 static inline struct sock *mroute6_socket(struct net *net, struct sk_buff *skb) argument
/include/linux/netfilter/
H A Dnf_conntrack_ftp.h26 extern unsigned int (*nf_nat_ftp_hook)(struct sk_buff *skb,
/include/net/
H A Daf_unix.h41 #define UNIXCB(skb) (*(struct unix_skb_parms *)&((skb)->cb))
42 #define UNIXSID(skb) (&UNIXCB((skb)).secid)
H A Dip6_tunnel.h69 __u16 ip6_tnl_parse_tlv_enc_lim(struct sk_buff *skb, __u8 *raw);
73 static inline void ip6tunnel_xmit(struct sk_buff *skb, struct net_device *dev) argument
78 pkt_len = skb->len;
79 err = ip6_local_out(skb);
H A Dcipso_ipv4.h193 int cipso_v4_cache_add(const struct sk_buff *skb,
201 static inline int cipso_v4_cache_add(const struct sk_buff *skb, argument
213 void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway);
223 int cipso_v4_skbuff_setattr(struct sk_buff *skb,
226 int cipso_v4_skbuff_delattr(struct sk_buff *skb);
227 int cipso_v4_skbuff_getattr(const struct sk_buff *skb,
229 int cipso_v4_validate(const struct sk_buff *skb, unsigned char **option);
231 static inline void cipso_v4_error(struct sk_buff *skb, argument
267 static inline int cipso_v4_skbuff_setattr(struct sk_buff *skb, argument
274 static inline int cipso_v4_skbuff_delattr(struct sk_buff *skb) argument
279 cipso_v4_skbuff_getattr(const struct sk_buff *skb, struct netlbl_lsm_secattr *secattr) argument
285 cipso_v4_validate(const struct sk_buff *skb, unsigned char **option) argument
[all...]
H A Dgen_stats.h16 struct sk_buff * skb; member in struct:gnet_dump
27 int gnet_stats_start_copy(struct sk_buff *skb, int type, spinlock_t *lock,
30 int gnet_stats_start_copy_compat(struct sk_buff *skb, int type,
H A Dtransp_v6.h37 struct sk_buff *skb);
39 struct sk_buff *skb);
41 struct sk_buff *skb);
H A Dip_tunnels.h130 void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev,
133 int ip_tunnel_encap(struct sk_buff *skb, struct ip_tunnel *t,
144 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb,
157 const struct sk_buff *skb)
159 if (skb->protocol == htons(ETH_P_IP))
161 else if (skb->protocol == htons(ETH_P_IPV6))
169 const struct sk_buff *skb)
171 u8 inner = ip_tunnel_get_dsfield(iph, skb);
176 int iptunnel_pull_header(struct sk_buff *skb, int hdr_len, __be16 inner_proto);
177 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb,
156 ip_tunnel_get_dsfield(const struct iphdr *iph, const struct sk_buff *skb) argument
168 ip_tunnel_ecn_encap(u8 tos, const struct iphdr *iph, const struct sk_buff *skb) argument
[all...]
H A Dneighbour.h203 void (*proxy_redo)(struct sk_buff *skb);
257 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb);
262 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb);
263 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb);
264 int neigh_compat_output(struct neighbour *neigh, struct sk_buff *skb);
265 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb);
283 struct sk_buff *skb);
365 static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) argument
372 return __neigh_event_send(neigh, skb);
377 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) argument
390 neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) argument
[all...]
H A Dieee802154_netdev.h99 /* pushes hdr onto the skb. fields of hdr->fc that can be calculated from
104 int ieee802154_hdr_push(struct sk_buff *skb, const struct ieee802154_hdr *hdr);
106 /* pulls the entire 802.15.4 header off of the skb, including the security
109 int ieee802154_hdr_pull(struct sk_buff *skb, struct ieee802154_hdr *hdr);
111 /* parses the frame control, sequence number of address fields in a given skb
115 int ieee802154_hdr_peek_addrs(const struct sk_buff *skb,
118 /* parses the full 802.15.4 header a given skb and stores them into hdr,
122 int ieee802154_hdr_peek(const struct sk_buff *skb, struct ieee802154_hdr *hdr);
146 static inline int ieee802154_hdr_length(struct sk_buff *skb) argument
149 int len = ieee802154_hdr_pull(skb,
235 mac_cb(struct sk_buff *skb) argument
240 mac_cb_init(struct sk_buff *skb) argument
[all...]
H A Droute.h164 int ip_route_input_noref(struct sk_buff *skb, __be32 dst, __be32 src,
167 static inline int ip_route_input(struct sk_buff *skb, __be32 dst, __be32 src, argument
173 err = ip_route_input_noref(skb, dst, src, tos, devin);
175 skb_dst_force(skb);
181 void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, int oif,
183 void ipv4_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, u32 mtu);
184 void ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark,
186 void ipv4_sk_redirect(struct sk_buff *skb, struct sock *sk);
187 void ip_rt_send_redirect(struct sk_buff *skb);
194 void ip_rt_get_source(u8 *src, struct sk_buff *skb, struc
298 inet_iif(const struct sk_buff *skb) argument
[all...]
/include/net/netfilter/
H A Dnf_conntrack_helper.h40 int (*help)(struct sk_buff *skb,
48 int (*to_nlattr)(struct sk_buff *skb, const struct nf_conn *ct);
94 int nf_conntrack_broadcast_help(struct sk_buff *skb, unsigned int protoff,
106 void nf_ct_helper_log(struct sk_buff *skb, const struct nf_conn *ct,
H A Dnf_conntrack_l3proto.h30 bool (*pkt_to_tuple)(const struct sk_buff *skb, unsigned int nhoff,
46 * *dataoff: offset of protocol header (TCP, UDP,...) in skb
49 int (*get_l4proto)(const struct sk_buff *skb, unsigned int nhoff,
52 int (*tuple_to_nlattr)(struct sk_buff *skb,
H A Dnf_log.h39 const struct sk_buff *skb,
76 const struct sk_buff *skb,
89 int nf_log_dump_udp_header(struct nf_log_buf *m, const struct sk_buff *skb,
91 int nf_log_dump_tcp_header(struct nf_log_buf *m, const struct sk_buff *skb,
96 unsigned int hooknum, const struct sk_buff *skb,
/include/trace/events/
H A Dsock.h12 TP_PROTO(struct sock *sk, struct sk_buff *skb),
14 TP_ARGS(sk, skb),
24 __entry->truesize = skb->truesize;
/include/net/nfc/
H A 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);
79 typedef int (*xmit) (struct sk_buff *skb, void *cb_data);
227 struct sk_buff *skb);
229 struct sk_buff *skb);
231 struct sk_buff *skb);
232 void nfc_hci_recv_frame(struct nfc_hci_dev *hdev, struct sk_buff *skb);
240 struct sk_buff **skb);
[all...]
/include/linux/netfilter_bridge/
H A Debtables.h25 bool (*match)(const struct sk_buff *skb, const struct net_device *in,
42 unsigned int (*target)(struct sk_buff *skb,
60 unsigned int (*target)(struct sk_buff *skb,
113 extern unsigned int ebt_do_table(unsigned int hook, struct sk_buff *skb,

Completed in 278 milliseconds

12345678910