/* * netsniff-ng - the packet sniffing beast * Copyright (C) 2009, 2010 Daniel Borkmann * Copyright (C) 2012 Christoph Jaeger * Subject to the GPL, version 2. */ #ifndef PROTO_H #define PROTO_H #include #include #include "hash.h" #include "tprintf.h" struct pkt_buff; struct protocol { /* Needs to be filled out by user */ unsigned int key; void (*print_full)(struct pkt_buff *pkt); void (*print_less)(struct pkt_buff *pkt); /* Used by program logic */ struct protocol *next; void (*process) (struct pkt_buff *pkt); }; extern void empty(struct pkt_buff *pkt); extern void hex(struct pkt_buff *pkt); extern void ascii(struct pkt_buff *pkt); extern void hex_ascii(struct pkt_buff *pkt); #endif /* PROTO_H */ t.cgi/'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2016-07-20 11:46:52 -0700
committerChris Mason <clm@fb.com>2016-07-20 11:46:52 -0700
commit24502ebb606baa87ba7b9a097a88398bd6edd2f4 (patch)
tree52539f2d8ab37e71a6115cc1dab18ed2aeaa101c /Documentation/mmc/mmc-tools.txt
parenta99cde438de0c4c0cecc1d1af1a55a75b10bfdef (diff)
parent8ca17f0f59529df9e2132ca594ff00c52a9bc556 (diff)
Merge branch 'kdave-part1-enospc' into for-linus-4.8
Diffstat (limited to 'Documentation/mmc/mmc-tools.txt')