summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkt_buff.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkt_buff.h b/pkt_buff.h
index 30b999e..fecdb4c 100644
--- a/pkt_buff.h
+++ b/pkt_buff.h
@@ -14,10 +14,9 @@
struct pkt_buff {
/* invariant: head <= data <= tail */
- uint8_t *head;
- uint8_t *data;
- uint8_t *tail;
- unsigned int size;
+ uint8_t *head;
+ uint8_t *data;
+ uint8_t *tail;
struct protocol *dissector;
uint32_t link_type;
@@ -31,7 +30,6 @@ static inline struct pkt_buff *pkt_alloc(uint8_t *packet, unsigned int len)
pkt->head = packet;
pkt->data = packet;
pkt->tail = packet + len;
- pkt->size = len;
pkt->dissector = NULL;
return pkt;
updates" * tag 'docs-4.10' of git://git.lwn.net/linux: (193 commits) dma-buf: Extract dma-buf.rst Update Documentation/00-INDEX docs: 00-INDEX: document directories/files with no docs docs: 00-INDEX: remove non-existing entries docs: 00-INDEX: add missing entries for documentation files/dirs docs: 00-INDEX: consolidate process/ and admin-guide/ description scripts: add a script to check if Documentation/00-INDEX is sane Docs: change sh -> awk in REPORTING-BUGS Documentation/core-api/device_link: Add initial documentation core-api: remove an unexpected unident ppc/idle: Add documentation for powersave=off Doc: Correct typo, "Introdution" => "Introduction" Documentation/atomic_ops.txt: convert to ReST markup Documentation/local_ops.txt: convert to ReST markup Documentation/assoc_array.txt: convert to ReST markup docs-rst: parse-headers.pl: cleanup the documentation docs-rst: fix media cleandocs target docs-rst: media/Makefile: reorganize the rules docs-rst: media: build SVG from graphviz files docs-rst: replace bayer.png by a SVG image ...
Diffstat (limited to 'arch/h8300')