/external/kernel-headers/original/linux/ |
H A D | netfilter_bridge.h | 51 int nf_bridge_maybe_copy_header(struct sk_buff *skb) argument 55 if (skb->nf_bridge) { 56 if (skb->protocol == __constant_htons(ETH_P_8021Q)) { 57 err = skb_cow(skb, 18); 60 memcpy(skb->data - 18, skb->nf_bridge->data, 18); 61 skb_push(skb, 4); 63 err = skb_cow(skb, 16); 66 memcpy(skb->data - 16, skb 75 nf_bridge_pad(struct sk_buff *skb) argument [all...] |
H A D | if_tr.h | 48 static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb) argument 50 return (struct trh_hdr *)skb->mac.raw;
|
H A D | if_ether.h | 127 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) argument 129 return (struct ethhdr *)skb_mac_header(skb); 132 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
|
H A D | icmpv6.h | 84 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) argument 86 return (struct icmp6hdr *)skb_transport_header(skb); 175 extern void icmpv6_send(struct sk_buff *skb, 183 extern void icmpv6_param_prob(struct sk_buff *skb,
|
H A D | if_arp.h | 159 static inline struct arphdr *arp_hdr(const struct sk_buff *skb) argument 161 return (struct arphdr *)skb_network_header(skb);
|
H A D | if_pppox.h | 154 static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb) argument 156 return (struct pppoe_hdr *)skb_network_header(skb); 181 int (*backlog_rcv)(struct sock *sk_udp, struct sk_buff *skb); 190 int (*backlog_rcv)(struct sock *sk_raw, struct sk_buff *skb);
|
H A D | if_vlan.h | 61 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) argument 63 return (struct vlan_ethhdr *)skb_mac_header(skb); 120 extern int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp, 122 extern int vlan_hwaccel_do_receive(struct sk_buff *skb); 125 unsigned int vlan_tci, struct sk_buff *skb); 143 static inline int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp, argument 150 static inline int vlan_hwaccel_do_receive(struct sk_buff *skb) argument 157 unsigned int vlan_tci, struct sk_buff *skb) 172 * @skb: buffer 176 static inline int vlan_hwaccel_rx(struct sk_buff *skb, argument 156 vlan_gro_receive(struct napi_struct *napi, struct vlan_group *grp, unsigned int vlan_tci, struct sk_buff *skb) argument 189 vlan_hwaccel_receive_skb(struct sk_buff *skb, struct vlan_group *grp, u16 vlan_tci) argument 207 __vlan_put_tag(struct sk_buff *skb, u16 vlan_tci) argument 239 __vlan_hwaccel_put_tag(struct sk_buff *skb, u16 vlan_tci) argument 256 vlan_put_tag(struct sk_buff *skb, u16 vlan_tci) argument 272 __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument 291 __vlan_hwaccel_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument 312 vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument [all...] |
H A D | netfilter.h | 91 struct sk_buff *skb, 151 int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb, 163 struct sk_buff *skb, 172 return nf_hook_slow(pf, hook, skb, indev, outdev, okfn, thresh); 175 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, argument 179 return nf_hook_thresh(pf, hook, skb, indev, outdev, okfn, INT_MIN); 200 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sk_buff *skb, argument 204 int ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, thresh); 206 ret = okfn(skb); 211 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct sk_buff *skb, argument 162 nf_hook_thresh(u_int8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *), int thresh) argument 224 NF_HOOK(uint8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct sk_buff *)) argument 275 nf_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, u_int8_t protocol, unsigned short family) argument 290 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, unsigned int len, u_int8_t protocol, unsigned short family) argument 313 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) argument 336 nf_hook_thresh(u_int8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *), int thresh) argument 344 nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *)) argument 352 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) argument 362 nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) argument [all...] |
H A D | netlink.h | 156 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) argument 158 return (struct nlmsghdr *)skb->data; 167 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) 168 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) 176 void (*input)(struct sk_buff *skb), 186 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock); 187 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid, 189 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb, 220 struct sk_buff *skb; member in struct:netlink_callback 236 __nlmsg_put(struct sk_buff *skb, u32 pid, u32 seq, int type, int len, int flags) argument [all...] |
H A D | mroute6.h | 137 extern int ip6_mr_input(struct sk_buff *skb); 229 extern int ip6mr_get_route(struct net *net, struct sk_buff *skb, 233 extern struct sock *mroute6_socket(struct net *net, struct sk_buff *skb); 236 static inline struct sock *mroute6_socket(struct net *net, struct sk_buff *skb) argument
|
H A D | dccp.h | 248 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb) argument 250 return (struct dccp_hdr *)skb->h.raw; 253 static inline struct dccp_hdr_ext *dccp_hdrx(const struct sk_buff *skb) argument 255 return (struct dccp_hdr_ext *)(skb->h.raw + sizeof(struct dccp_hdr)); 263 static inline unsigned int dccp_basic_hdr_len(const struct sk_buff *skb) argument 265 const struct dccp_hdr *dh = dccp_hdr(skb); 269 static inline __u64 dccp_hdr_seq(const struct sk_buff *skb) argument 271 const struct dccp_hdr *dh = dccp_hdr(skb); 275 seq_nr = (seq_nr << 32) + ntohl(dccp_hdrx(skb)->dccph_seq_low); 282 static inline struct dccp_hdr_request *dccp_hdr_request(struct sk_buff *skb) argument 287 dccp_hdr_ack_bits(const struct sk_buff *skb) argument 292 dccp_hdr_ack_seq(const struct sk_buff *skb) argument 298 dccp_hdr_response(struct sk_buff *skb) argument 303 dccp_hdr_reset(struct sk_buff *skb) argument 314 dccp_hdr_len(const struct sk_buff *skb) argument [all...] |
H A D | ipv6.h | 226 static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb) argument 228 return (struct ipv6hdr *)skb_network_header(skb); 231 static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb) argument 233 return (struct ipv6hdr *)skb_transport_header(skb); 238 as offsets from skb->nh. 260 #define IP6CB(skb) ((struct inet6_skb_parm*)((skb)->cb)) 261 #define IP6CBMTU(skb) ((struct ip6_mtuinfo *)((skb)->cb)) 263 static inline int inet6_iif(const struct sk_buff *skb) argument [all...] |
H A D | skbuff.h | 51 * skb->csum is undefined. 54 * skb->csum is undefined. 60 * the packet as seen by netif_rx in skb->csum. 62 * is able to produce some skb->csum, it MUST use HW, 67 * NONE: skb is checksummed by protocol or csum is not required. 70 * from skb->h.raw to the end and to record the checksum 71 * at skb->h.raw+skb->csum. 120 /* To allow 64K frame to be packed as single skb without frag_list */ 132 * the end of the header data, ie. at skb 372 skb_truesize_check(struct sk_buff *skb) argument 426 skb_get(struct sk_buff *skb) argument 445 skb_cloned(const struct sk_buff *skb) argument 458 skb_header_cloned(const struct sk_buff *skb) argument 478 skb_header_release(struct sk_buff *skb) argument 492 skb_shared(const struct sk_buff *skb) argument 510 skb_share_check(struct sk_buff *skb, gfp_t pri) argument 542 skb_unshare(struct sk_buff *skb, gfp_t pri) argument 751 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) argument 777 struct sk_buff *skb = skb_peek_tail(list); local 784 skb_is_nonlinear(const struct sk_buff *skb) argument 789 skb_headlen(const struct sk_buff *skb) argument 794 skb_pagelen(const struct sk_buff *skb) argument 803 skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) argument 821 __skb_put(struct sk_buff *skb, unsigned int len) argument 839 skb_put(struct sk_buff *skb, unsigned int len) argument 850 __skb_push(struct sk_buff *skb, unsigned int len) argument 866 skb_push(struct sk_buff *skb, unsigned int len) argument 875 __skb_pull(struct sk_buff *skb, unsigned int len) argument 892 skb_pull(struct sk_buff *skb, unsigned int len) argument 899 __pskb_pull(struct sk_buff *skb, unsigned int len) argument 908 pskb_pull(struct sk_buff *skb, unsigned int len) argument 913 pskb_may_pull(struct sk_buff *skb, unsigned int len) argument 928 skb_headroom(const struct sk_buff *skb) argument 939 skb_tailroom(const struct sk_buff *skb) argument 952 skb_reserve(struct sk_buff *skb, int len) argument 1003 __skb_trim(struct sk_buff *skb, unsigned int len) argument 1022 skb_trim(struct sk_buff *skb, unsigned int len) argument 1029 __pskb_trim(struct sk_buff *skb, unsigned int len) argument 1037 pskb_trim(struct sk_buff *skb, unsigned int len) argument 1051 pskb_trim_unique(struct sk_buff *skb, unsigned int len) argument 1065 skb_orphan(struct sk_buff *skb) argument 1084 struct sk_buff *skb; local 1104 struct sk_buff *skb = alloc_skb(length + NET_SKB_PAD, gfp_mask); local 1161 skb_cow(struct sk_buff *skb, unsigned int headroom) argument 1186 skb_padto(struct sk_buff *skb, unsigned int len) argument 1194 skb_add_data(struct sk_buff *skb, char __user *from, int copy) argument 1215 skb_can_coalesce(struct sk_buff *skb, int i, struct page *page, int off) argument 1227 __skb_linearize(struct sk_buff *skb) argument 1239 skb_linearize(struct sk_buff *skb) argument 1251 skb_linearize_cow(struct sk_buff *skb) argument 1268 skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len) argument 1286 pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) argument 1352 skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *buffer) argument 1378 skb_get_timestamp(const struct sk_buff *skb, struct timeval *stamp) argument 1393 skb_set_timestamp(struct sk_buff *skb, const struct timeval *stamp) argument 1419 skb_checksum_complete(struct sk_buff *skb) argument 1437 nf_conntrack_get_reasm(struct sk_buff *skb) argument 1442 nf_conntrack_put_reasm(struct sk_buff *skb) argument 1460 nf_reset(struct sk_buff *skb) argument 1475 nf_reset(struct sk_buff *skb) argument 1484 skb_init_secmark(struct sk_buff *skb) argument 1492 skb_init_secmark(struct sk_buff *skb) argument 1496 skb_is_gso(const struct sk_buff *skb) argument [all...] |
H A D | netdevice.h | 55 #define NET_XMIT_DROP 1 /* skb dropped */ 57 #define NET_XMIT_POLICED 3 /* skb is shot by police */ 195 int (*hh_output)(struct sk_buff *skb); 433 int (*hard_start_xmit) (struct sk_buff *skb, 469 int (*hard_header) (struct sk_buff *skb, 475 int (*rebuild_header)(struct sk_buff *skb); 506 int (*hard_header_parse)(struct sk_buff *skb, 553 struct sk_buff *(*gso_segment)(struct sk_buff *skb, 555 int (*gso_send_check)(struct sk_buff *skb); 582 extern int dev_queue_xmit(struct sk_buff *skb); 672 dev_kfree_skb_irq(struct sk_buff *skb) argument 1006 skb_gso_ok(struct sk_buff *skb, int features) argument 1011 netif_needs_gso(struct net_device *dev, struct sk_buff *skb) argument 1021 skb_bond_should_drop(struct sk_buff *skb) argument [all...] |
H A D | rtnetlink.h | 615 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo); 616 extern int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid); 617 extern void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, 620 extern int rtnetlink_put_metrics(struct sk_buff *skb, u32 *metrics); 621 extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, 625 extern void __rta_fill(struct sk_buff *skb, int attrtype, int attrlen, const void *data); 627 #define RTA_PUT(skb, attrtype, attrlen, data) \ 628 ({ if (unlikely(skb_tailroom(skb) < (int)RTA_SPACE(attrlen))) \ 630 __rta_fill(skb, attrtype, attrlen, data); }) 632 #define RTA_APPEND(skb, attrle 724 __rta_reserve(struct sk_buff *skb, int attrtype, int attrlen) argument [all...] |
/external/kernel-headers/original/linux/sunrpc/ |
H A D | xdr.h | 150 struct sk_buff *skb; member in struct:__anon7731
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
H A D | ip_conntrack.h | 77 /* Usage count in here is 1 for hash table/destruct timer, 1 per skb, 192 /* Return conntrack_info and tuple hash for given skb. */ 194 ip_conntrack_get(const struct sk_buff *skb, enum ip_conntrack_info *ctinfo) argument 196 *ctinfo = skb->nfctinfo; 197 return (struct ip_conntrack *)skb->nfct; 213 const struct sk_buff *skb, 220 const struct sk_buff *skb, 223 __ip_ct_refresh_acct(ct, ctinfo, skb, extra_jiffies, 1); 228 const struct sk_buff *skb, 231 __ip_ct_refresh_acct(ct, 0, skb, extra_jiffie 218 ip_ct_refresh_acct(struct ip_conntrack *ct, enum ip_conntrack_info ctinfo, const struct sk_buff *skb, unsigned long extra_jiffies) argument 227 ip_ct_refresh(struct ip_conntrack *ct, const struct sk_buff *skb, unsigned long extra_jiffies) argument 346 ip_conntrack_event_cache(enum ip_conntrack_events event, const struct sk_buff *skb) argument 374 ip_conntrack_event_cache(enum ip_conntrack_events event, const struct sk_buff *skb) argument [all...] |