2 * netsniff-ng - the packet sniffing beast
3 * Copyright (C) 2009, 2010 Daniel Borkmann
4 * Copyright (C) 2012 Christoph Jaeger <christoph@netsniff-ng.org>
5 * Subject to the GPL, version 2.
19 /* Needs to be filled out by user */
20 const unsigned int key
;
21 void (*print_full
)(struct pkt_buff
*pkt
);
22 void (*print_less
)(struct pkt_buff
*pkt
);
23 /* Used by program logic */
24 struct protocol
*next
;
25 void (*process
) (struct pkt_buff
*pkt
);
28 extern void empty(struct pkt_buff
*pkt
);
29 extern void hex(struct pkt_buff
*pkt
);
30 extern void ascii(struct pkt_buff
*pkt
);
31 extern void hex_ascii(struct pkt_buff
*pkt
);