voidpktb_pull(structpkt_buff*pktb,unsignedintlen)
pktb_pull - increment pointer to packet buffer
Parameterspktb Pointer to userspace packet buffer
len Number of bytes to add to packet start address
Definition at line 178 of file pktbuff.c.
voidpktb_push(structpkt_buff*pktb,unsignedintlen)
pktb_push - decrement pointer to packet buffer
Parameterspktb Pointer to userspace packet buffer
len Number of bytes to subtract from packet start address
Definition at line 166 of file pktbuff.c.
voidpktb_put(structpkt_buff*pktb,unsignedintlen)
pktb_put - add extra bytes to the tail of the packet buffer
Parameterspktb Pointer to userspace packet buffer
len Number of bytes to add to packet tail (and length)
Definition at line 190 of file pktbuff.c.
voidpktb_trim(structpkt_buff*pktb,unsignedintlen)
pktb_trim - set new length for this packet buffer
Parameterspktb Pointer to userspace packet buffer
len New packet length (tail is adjusted to reflect this)
Definition at line 201 of file pktbuff.c.