Searched refs:skb (Results 1 – 3 of 3) sorted by relevance
/hardware/broadcom/wlan/bcm4329/src/include/ |
D | linux_osl.h | 235 #define PKTFREE(osh, skb, send) osl_pktfree((osh), (skb), (send)) argument 238 #define PKTFREE_STATIC(osh, skb, send) osl_pktfree_static((osh), (skb), (send)) argument 240 #define PKTDATA(osh, skb) (((struct sk_buff*)(skb))->data) argument 241 #define PKTLEN(osh, skb) (((struct sk_buff*)(skb))->len) argument 242 #define PKTHEADROOM(osh, skb) (PKTDATA(osh, skb)-(((struct sk_buff*)(skb))->head)) argument 243 #define PKTTAILROOM(osh, skb) ((((struct sk_buff*)(skb))->end)-(((struct sk_buff*)(skb))->tail)) argument 244 #define PKTNEXT(osh, skb) (((struct sk_buff*)(skb))->next) argument 245 #define PKTSETNEXT(osh, skb, x) (((struct sk_buff*)(skb))->next = (struct sk_buff*)(x)) argument 246 #define PKTSETLEN(osh, skb, len) __skb_trim((struct sk_buff*)(skb), (len)) argument 247 #define PKTPUSH(osh, skb, bytes) skb_push((struct sk_buff*)(skb), (bytes)) argument [all …]
|
/hardware/broadcom/wlan/bcm4329/src/shared/ |
D | linux_osl.c | 245 struct sk_buff *skb; in osl_pktget() local 247 if ((skb = dev_alloc_skb(len))) { in osl_pktget() 248 skb_put(skb, len); in osl_pktget() 249 skb->priority = 0; in osl_pktget() 255 return ((void*) skb); in osl_pktget() 262 struct sk_buff *skb, *nskb; in osl_pktfree() local 264 skb = (struct sk_buff*) p; in osl_pktfree() 270 while (skb) { in osl_pktfree() 271 nskb = skb->next; in osl_pktfree() 272 skb->next = NULL; in osl_pktfree() [all …]
|
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/ |
D | dhd_linux.c | 879 dhd_start_xmit(struct sk_buff *skb, struct net_device *net) in dhd_start_xmit() argument 901 if (skb_headroom(skb) < dhd->pub.hdrlen) { in dhd_start_xmit() 907 skb2 = skb_realloc_headroom(skb, dhd->pub.hdrlen); in dhd_start_xmit() 908 dev_kfree_skb(skb); in dhd_start_xmit() 909 if ((skb = skb2) == NULL) { in dhd_start_xmit() 918 if (!(pktbuf = PKTFRMNATIVE(dhd->pub.osh, skb))) { in dhd_start_xmit() 921 dev_kfree_skb_any(skb); in dhd_start_xmit() 960 struct sk_buff *skb; in dhd_rx_frame() local 978 skb = PKTTONATIVE(dhdp->osh, pktbuf); in dhd_rx_frame() 989 eth = skb->data; in dhd_rx_frame() [all …]
|