pcap_sg: fixed pcap read
[netsniff-ng.git] / src / proto_none.h
blob61b09c21aa60d27ae781743242961e4bc2b359c4
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2009, 2010 Daniel Borkmann.
5 * Subject to the GPL, version 2.
6 */
8 #ifndef PROTO_NONE_H
9 #define PROTO_NONE_H
11 #include <stdio.h>
12 #include <stdint.h>
13 #include <ctype.h>
15 #include "proto_struct.h"
16 #include "dissector_eth.h"
17 #include "pkt_buff.h"
19 static inline void none_less(struct pkt_buff *pkt)
21 tprintf("\n");
24 struct protocol none_ops = {
25 .key = 0x01,
26 .print_full = hex_ascii,
27 .print_less = none_less,
30 #endif /* PROTO_NONE_H */