/external/kernel-headers/original/linux/ |
D | skbuff.h | 288 void (*destructor)(struct sk_buff *skb); 330 extern void kfree_skb(struct sk_buff *skb); 331 extern void __kfree_skb(struct sk_buff *skb); 349 extern void kfree_skbmem(struct sk_buff *skb); 350 extern struct sk_buff *skb_clone(struct sk_buff *skb, 352 extern struct sk_buff *skb_copy(const struct sk_buff *skb, 354 extern struct sk_buff *pskb_copy(struct sk_buff *skb, 356 extern int pskb_expand_head(struct sk_buff *skb, 359 extern struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, 361 extern struct sk_buff *skb_copy_expand(const struct sk_buff *skb, [all …]
|
D | if_vlan.h | 52 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr() argument 54 return (struct vlan_ethhdr *)skb->mac.raw; in vlan_eth_hdr() 152 static inline int __vlan_hwaccel_rx(struct sk_buff *skb, in __vlan_hwaccel_rx() argument 158 if (skb_bond_should_drop(skb)) { in __vlan_hwaccel_rx() 159 dev_kfree_skb_any(skb); in __vlan_hwaccel_rx() 163 skb->dev = grp->vlan_devices[vlan_tag & VLAN_VID_MASK]; in __vlan_hwaccel_rx() 164 if (skb->dev == NULL) { in __vlan_hwaccel_rx() 165 dev_kfree_skb_any(skb); in __vlan_hwaccel_rx() 173 skb->dev->last_rx = jiffies; in __vlan_hwaccel_rx() 175 stats = vlan_dev_get_stats(skb->dev); in __vlan_hwaccel_rx() [all …]
|
D | rtnetlink.h | 624 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo); 625 extern int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid); 626 extern void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, 629 extern int rtnetlink_put_metrics(struct sk_buff *skb, u32 *metrics); 630 extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, 634 extern void __rta_fill(struct sk_buff *skb, int attrtype, int attrlen, const void *data); 636 #define RTA_PUT(skb, attrtype, attrlen, data) \ argument 637 ({ if (unlikely(skb_tailroom(skb) < (int)RTA_SPACE(attrlen))) \ 639 __rta_fill(skb, attrtype, attrlen, data); }) 641 #define RTA_APPEND(skb, attrlen, data) \ argument [all …]
|
D | netfilter_bridge.h | 51 int nf_bridge_maybe_copy_header(struct sk_buff *skb) in nf_bridge_maybe_copy_header() argument 55 if (skb->nf_bridge) { in nf_bridge_maybe_copy_header() 56 if (skb->protocol == __constant_htons(ETH_P_8021Q)) { in nf_bridge_maybe_copy_header() 57 err = skb_cow(skb, 18); in nf_bridge_maybe_copy_header() 60 memcpy(skb->data - 18, skb->nf_bridge->data, 18); in nf_bridge_maybe_copy_header() 61 skb_push(skb, 4); in nf_bridge_maybe_copy_header() 63 err = skb_cow(skb, 16); in nf_bridge_maybe_copy_header() 66 memcpy(skb->data - 16, skb->nf_bridge->data, 16); in nf_bridge_maybe_copy_header() 75 int nf_bridge_pad(struct sk_buff *skb) in nf_bridge_pad() argument 77 if (skb->protocol == __constant_htons(ETH_P_IP)) in nf_bridge_pad() [all …]
|
D | netlink.h | 159 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr() argument 161 return (struct nlmsghdr *)skb->data; in nlmsg_hdr() 175 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) argument 176 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) argument 184 void (*input)(struct sk_buff *skb), 194 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock); 195 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid, 203 int netlink_attachskb(struct sock *sk, struct sk_buff *skb, 205 void netlink_detachskb(struct sock *sk, struct sk_buff *skb); 206 int netlink_sendskb(struct sock *sk, struct sk_buff *skb); [all …]
|
D | dccp.h | 248 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb) in dccp_hdr() argument 250 return (struct dccp_hdr *)skb->h.raw; in dccp_hdr() 253 static inline struct dccp_hdr_ext *dccp_hdrx(const struct sk_buff *skb) in dccp_hdrx() argument 255 return (struct dccp_hdr_ext *)(skb->h.raw + sizeof(struct dccp_hdr)); in dccp_hdrx() 263 static inline unsigned int dccp_basic_hdr_len(const struct sk_buff *skb) in dccp_basic_hdr_len() argument 265 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_basic_hdr_len() 269 static inline __u64 dccp_hdr_seq(const struct sk_buff *skb) in dccp_hdr_seq() argument 271 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_hdr_seq() 275 seq_nr = (seq_nr << 32) + ntohl(dccp_hdrx(skb)->dccph_seq_low); in dccp_hdr_seq() 282 static inline struct dccp_hdr_request *dccp_hdr_request(struct sk_buff *skb) in dccp_hdr_request() argument [all …]
|
D | netfilter.h | 54 struct sk_buff **skb, 151 const struct sk_buff *skb, 171 const struct sk_buff *skb, 233 #define NF_HOOK_THRESH(pf, hook, skb, indev, outdev, okfn, thresh) \ argument 235 if ((__ret=nf_hook_thresh(pf, hook, &(skb), indev, outdev, okfn, thresh, 1)) == 1)\ 236 __ret = (okfn)(skb); \ 239 #define NF_HOOK_COND(pf, hook, skb, indev, outdev, okfn, cond) \ argument 241 if ((__ret=nf_hook_thresh(pf, hook, &(skb), indev, outdev, okfn, INT_MIN, cond)) == 1)\ 242 __ret = (okfn)(skb); \ 245 #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) \ argument [all …]
|
D | netdevice.h | 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 static inline void dev_kfree_skb_irq(struct sk_buff *skb) in dev_kfree_skb_irq() argument 674 if (atomic_dec_and_test(&skb->users)) { in dev_kfree_skb_irq() [all …]
|
D | etherdevice.h | 32 extern int eth_header(struct sk_buff *skb, struct net_device *dev, 35 extern int eth_rebuild_header(struct sk_buff *skb); 36 extern __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev);
|
D | if_ether.h | 126 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) in eth_hdr() argument 128 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr() 131 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
|
D | atmdev.h | 299 void (*push)(struct atm_vcc *vcc,struct sk_buff *skb); 300 void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */ 302 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb); 386 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb); 413 #define ATM_SKB(skb) (((struct atm_skb_data *) (skb)->cb)) argument
|
D | errqueue.h | 29 #define SKB_EXT_ERR(skb) ((struct sock_exterr_skb *) ((skb)->cb)) argument
|
D | if_tr.h | 48 static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb) in tr_hdr() argument 50 return (struct trh_hdr *)skb->mac.raw; in tr_hdr()
|
D | if_arp.h | 159 static inline struct arphdr *arp_hdr(const struct sk_buff *skb) in arp_hdr() argument 161 return (struct arphdr *)skb_network_header(skb); in arp_hdr()
|
D | kernelcapi.h | 57 void (*recv_message)(struct capi20_appl *ap, struct sk_buff *skb); 79 u16 capi20_put_message(struct capi20_appl *ap, struct sk_buff *skb);
|
D | netfilter_ipv6.h | 76 extern unsigned int nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
|
D | wanrouter.h | 519 __be16 wanrouter_type_trans(struct sk_buff *skb, struct net_device *dev); 520 int wanrouter_encapsulate(struct sk_buff *skb, struct net_device *dev,
|
D | netfilter_ipv4.h | 82 extern unsigned int nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
|
D | filter.h | 146 extern unsigned int sk_run_filter(struct sk_buff *skb, struct sock_filter *filter, int flen);
|
/external/kernel-headers/original/linux/netfilter/ |
D | nfnetlink.h | 64 #define NFA_NEST(skb, type) \ argument 65 ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; \ 66 NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); \ 68 #define NFA_NEST_END(skb, start) \ argument 69 ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); \ 70 (skb)->len; }) 71 #define NFA_NEST_CANCEL(skb, start) \ argument 73 skb_trim(skb, (unsigned char *) (start) - (skb)->data); \ 113 int (*call)(struct sock *nl, struct sk_buff *skb, 126 extern void __nfa_fill(struct sk_buff *skb, int attrtype, [all …]
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
D | ip_conntrack.h | 194 ip_conntrack_get(const struct sk_buff *skb, enum ip_conntrack_info *ctinfo) in ip_conntrack_get() argument 196 *ctinfo = skb->nfctinfo; in ip_conntrack_get() 197 return (struct ip_conntrack *)skb->nfct; in ip_conntrack_get() 213 const struct sk_buff *skb, 220 const struct sk_buff *skb, in ip_ct_refresh_acct() argument 223 __ip_ct_refresh_acct(ct, ctinfo, skb, extra_jiffies, 1); in ip_ct_refresh_acct() 228 const struct sk_buff *skb, in ip_ct_refresh() argument 231 __ip_ct_refresh_acct(ct, 0, skb, extra_jiffies, 0); in ip_ct_refresh() 236 extern void ip_conntrack_tcp_update(struct sk_buff *skb, 248 ip_ct_gather_frags(struct sk_buff *skb, u_int32_t user); [all …]
|
/external/grub/netboot/ |
D | tlan.c | 2456 static int TLan_StartTx( struct sk_buff *skb, struct net_device *dev ) 2466 dev_kfree_skb_any(skb); 2483 memcpy( tail_buffer, skb->data, skb->len ); 2485 tail_list->buffer[0].address = virt_to_bus( skb->data ); 2486 tail_list->buffer[9].address = (u32) skb; 2489 pad = TLAN_MIN_FRAME_SIZE - skb->len; 2492 tail_list->frameSize = (u16) skb->len + pad; 2493 tail_list->buffer[0].count = (u32) skb->len; 2497 tail_list->frameSize = (u16) skb->len; 2498 tail_list->buffer[0].count = TLAN_LAST_BUFFER | (u32) skb->len; [all …]
|
/external/iptables/extensions/ |
D | libipt_CLASSIFY.man | 1 This module allows you to set the skb->priority value (and thus classify the packet into a specific…
|
/external/wpa_supplicant/ |
D | mlme.c | 1842 skb = skb_copy(wpa_s->mlme.probe_resp, GFP_ATOMIC); in ieee80211_rx_mgmt_probe_req() 1843 if (skb == NULL) in ieee80211_rx_mgmt_probe_req() 1846 resp = (struct ieee80211_mgmt *) skb->data; in ieee80211_rx_mgmt_probe_req() 1852 ieee80211_sta_tx(wpa_s, skb, 0, 1); in ieee80211_rx_mgmt_probe_req() 2183 rate = rate_control_get_rate(wpa_s, skb, &extra); in ieee80211_sta_join_ibss() 2200 wpa_s->mlme.probe_resp = skb_copy(skb, GFP_ATOMIC); in ieee80211_sta_join_ibss() 2213 local->hw->beacon_update(wpa_s, skb, &control) == 0) { in ieee80211_sta_join_ibss() 2216 skb = NULL; in ieee80211_sta_join_ibss() 2730 struct sk_buff *skb, u8 *bssid,
|
/external/kernel-headers/original/linux/sunrpc/ |
D | xdr.h | 150 struct sk_buff *skb; member
|