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 …]
|