6 struct pkt_buff *pktb_alloc(int family, void *data, size_t len, size_t extra);
7 void pktb_free(struct pkt_buff *pktb);
9 uint8_t *pktb_data(struct pkt_buff *pktb);
10 uint32_t pktb_len(struct pkt_buff *pktb);
12 void pktb_push(struct pkt_buff *pktb, unsigned int len);
13 void pktb_pull(struct pkt_buff *pktb, unsigned int len);
14 void pktb_put(struct pkt_buff *pktb, unsigned int len);
15 void pktb_trim(struct pkt_buff *pktb, unsigned int len);
16 unsigned int pktb_tailroom(struct pkt_buff *pktb);
18 uint8_t *pktb_mac_header(struct pkt_buff *pktb);
19 uint8_t *pktb_network_header(struct pkt_buff *pktb);
20 uint8_t *pktb_transport_header(struct pkt_buff *pktb);