HomeSort by relevance Sort by last modified time
    Searched refs:skb (Results 1 - 25 of 61) sorted by null

1 2 3

  /hardware/ti/wlan/wl1271/platforms/os/linux/src/
RxBuf.c 52 struct sk_buff *skb; local
56 skb = alloc_skb(alloc_len, flags);
57 if (!skb)
61 rx_head = (rx_head_t *)skb->head;
62 rx_head->skb = skb;
63 skb_reserve(skb, RX_HEAD_LEN_ALIGNED + WSPI_PAD_BYTES);
65 printk("-->> RxBufAlloc(len=%d) skb=0x%x skb->data=0x%x skb->head=0x%x skb->len=%d\n"
78 struct sk_buff *skb = rx_head->skb; local
    [all...]
ipc_k.c 68 struct sk_buff *skb; local
91 skb = dev_alloc_skb(realSize);
92 if (!skb) {
93 printk(KERN_ERR "Failed to allocate new skb with size=%u.\n",realSize);
98 nlh = NLMSG_PUT(skb, 0, 0, NLMSG_DONE, realSize - sizeof(*nlh));
106 NETLINK_CB(skb).pid = 0; /* from kernel */
108 NETLINK_CB(skb).dst_group = RTMGRP_LINK;
111 res = netlink_unicast(drv->wl_sock, skb, (( IPC_EVENT_PARAMS *) pEvData) ->uProcessID, MSG_DONTWAIT);
  /system/wlan/ti/wilink_6_1/platforms/os/linux/src/
RxBuf.c 52 struct sk_buff *skb; local
55 skb = alloc_skb(alloc_len, GFP_ATOMIC);
56 if (!skb)
58 rx_head = (rx_head_t *)skb->head;
59 rx_head->skb = skb;
60 skb_reserve(skb, RX_HEAD_LEN_ALIGNED + WSPI_PAD_BYTES);
62 printk("-->> RxBufAlloc(len=%d) skb=0x%x skb->data=0x%x skb->head=0x%x skb->len=%d\n"
75 struct sk_buff *skb = rx_head->skb; local
    [all...]
ipc_k.c 68 struct sk_buff *skb; local
91 skb = dev_alloc_skb(realSize);
92 if (!skb) {
93 printk(KERN_ERR "Failed to allocate new skb with size=%u.\n",realSize);
98 nlh = NLMSG_PUT(skb, 0, 0, NLMSG_DONE, realSize - sizeof(*nlh));
106 NETLINK_CB(skb).pid = 0; /* from kernel */
108 NETLINK_CB(skb).dst_group = RTMGRP_LINK;
111 res = netlink_unicast(drv->wl_sock, skb, (( IPC_EVENT_PARAMS *) pEvData) ->uProcessID, MSG_DONTWAIT);
  /external/kernel-headers/original/linux/
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->end
777 struct sk_buff *skb = skb_peek_tail(list); local
1084 struct sk_buff *skb; local
1104 struct sk_buff *skb = alloc_skb(length + NET_SKB_PAD, gfp_mask); local
    [all...]
netfilter_bridge.h 51 int nf_bridge_maybe_copy_header(struct sk_buff *skb)
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->nf_bridge->data, 16)
    [all...]
if_vlan.h 52 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb)
54 return (struct vlan_ethhdr *)skb->mac.raw;
86 * ((skb->priority << 13) & 0xE000)
93 /** This will be the mapping that correlates skb->priority to
102 * ingress to make the skb look **exactly** like it
104 * the VLAN information in the skb, but it fixes programs
117 unsigned long cnt_inc_headroom_on_tx; /* How many times did we have to grow the skb on TX. */
118 unsigned long cnt_encap_on_xmit; /* How many times did we have to encapsulate the skb on TX. */
152 static inline int __vlan_hwaccel_rx(struct sk_buff *skb,
158 if (skb_bond_should_drop(skb)) {
    [all...]
netlink.h 159 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)
161 return (struct nlmsghdr *)skb->data;
166 struct ucred creds; /* Skb credentials */
175 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb))
176 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds)
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
225 struct sk_buff *skb; member in struct:netlink_callback
    [all...]
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) \
637 ({ if (unlikely(skb_tailroom(skb) < (int)RTA_SPACE(attrlen))) \
639 __rta_fill(skb, attrtype, attrlen, data); })
641 #define RTA_APPEND(skb, attrlen, data)
    [all...]
dccp.h 248 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb)
250 return (struct dccp_hdr *)skb->h.raw;
253 static inline struct dccp_hdr_ext *dccp_hdrx(const struct sk_buff *skb)
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)
265 const struct dccp_hdr *dh = dccp_hdr(skb);
269 static inline __u64 dccp_hdr_seq(const struct sk_buff *skb)
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)
    [all...]
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) \
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) \
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)
    [all...]
  /hardware/ti/wlan/wl1271/platforms/os/linux/inc/
RxBuf_linux.h 47 struct sk_buff *skb; member in struct:_rx_head_
  /system/wlan/ti/wilink_6_1/platforms/os/linux/inc/
RxBuf_linux.h 47 struct sk_buff *skb; member in struct:_rx_head_
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
SkbPool.java 68 SoftKeyboard skb = mSoftKeyboards.elementAt(i); local
69 if (skb.getCacheId() == skbCacheId && skb.getSkbXmlId() == skbXmlId) {
70 skb.setSkbCoreSize(skbWidth, skbHeight);
71 skb.setNewlyLoadedFlag(false);
72 return skb;
77 SoftKeyboard skb = xkbl.loadKeyboard(skbXmlId, skbWidth, skbHeight); local
78 if (skb != null) {
79 if (skb.getCacheFlag()) {
80 skb.setCacheId(skbCacheId)
    [all...]
  /system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
ipc_k.c 64 struct sk_buff *skb; local
89 skb = dev_alloc_skb(realSize);
90 if (!skb) {
91 printk(KERN_ERR "Failed to allocate new skb with size=%u.\n",realSize);
96 nlh = NLMSG_PUT(skb, 0, 0, NLMSG_DONE, realSize - sizeof(*nlh));
104 NETLINK_CB(skb).pid = 0; /* from kernel */
105 NETLINK_CB(skb).dst_group = RTNLGRP_LINK;
107 NETLINK_CB(skb).dst_pid = (( IPC_EVENT_PARAMS *) pEvData) ->uProcessID; /* Dm: */
111 res = netlink_unicast(drv->wl_sock, skb, (( IPC_EVENT_PARAMS *) pEvData) ->uProcessID, MSG_DONTWAIT);
  /hardware/broadcom/wlan/bcm4329/src/include/
linux_osl.h 235 #define PKTFREE(osh, skb, send) osl_pktfree((osh), (skb), (send))
238 #define PKTFREE_STATIC(osh, skb, send) osl_pktfree_static((osh), (skb), (send))
240 #define PKTDATA(osh, skb) (((struct sk_buff*)(skb))->data)
241 #define PKTLEN(osh, skb) (((struct sk_buff*)(skb))->len)
242 #define PKTHEADROOM(osh, skb) (PKTDATA(osh, skb)-(((struct sk_buff*)(skb))->head)
    [all...]
  /external/kernel-headers/original/linux/netfilter/
nfnetlink.h 64 #define NFA_NEST(skb, type) \
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) \
69 ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); \
70 (skb)->len; })
71 #define NFA_NEST_CANCEL(skb, start) \
73 skb_trim(skb, (unsigned char *) (start) - (skb)->data); \
113 int (*call)(struct sock *nl, struct sk_buff *skb,
    [all...]
  /bionic/libc/kernel/common/linux/netfilter/
nfnetlink.h 59 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
60 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); (skb)->len; })
61 #define NFA_NEST_CANCEL(skb, start) ({ if (start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); -1; })
  /development/ndk/platforms/android-3/include/linux/netfilter/
nfnetlink.h 59 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
60 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); (skb)->len; })
61 #define NFA_NEST_CANCEL(skb, start) ({ if (start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); -1; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/netfilter/
nfnetlink.h 59 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
60 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); (skb)->len; })
61 #define NFA_NEST_CANCEL(skb, start) ({ if (start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); -1; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/netfilter/
nfnetlink.h 59 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
60 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); (skb)->len; })
61 #define NFA_NEST_CANCEL(skb, start) ({ if (start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); -1; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/netfilter/
nfnetlink.h 59 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
60 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); (skb)->len; })
61 #define NFA_NEST_CANCEL(skb, start) ({ if (start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); -1; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/netfilter/
nfnetlink.h 59 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
60 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); (skb)->len; })
61 #define NFA_NEST_CANCEL(skb, start) ({ if (start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); -1; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/netfilter/
nfnetlink.h 59 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
60 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); (skb)->len; })
61 #define NFA_NEST_CANCEL(skb, start) ({ if (start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); -1; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/netfilter/
nfnetlink.h 59 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
60 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); (skb)->len; })
61 #define NFA_NEST_CANCEL(skb, start) ({ if (start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); -1; })

Completed in 323 milliseconds

1 2 3