summaryrefslogtreecommitdiff
path: root/linktype.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-04-10 11:43:57 +0300
committerTobias Klauser <tklauser@distanz.ch>2015-04-13 10:32:25 +0200
commit47a7037955bfa7405a0a676f214c26d136b8ca9a (patch)
tree7d442b8d8131e6d3dfcfc47a462a732278331a2c /linktype.h
parent06200b94b91cdf80d23a15de00145147ffd1174e (diff)
netsniff-ng: Consider radiotap header of monitor dev
netsniff-ng does not check if monitor device includes radiotap header which leads to the wrong 802.11 frame parsing. Tested if the .pcap file is understandable by wireshark and if dump info is basically correct, but did not test the case when xmit packets from .pcap file to the output device and from the input device to the output device. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> [tklauser: whitespace changes] Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'linktype.h')
-rw-r--r--linktype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linktype.h b/linktype.h
index 8caa697..a78f8be 100644
--- a/linktype.h
+++ b/linktype.h
@@ -22,6 +22,7 @@
#define LINKTYPE_IEEE802_11 105
#define LINKTYPE_FRELAY 107
#define LINKTYPE_ECONET 115
+#define LINKTYPE_IEEE802_11_RADIOTAP 127
#define LINKTYPE_ARCNET_LINUX 129
#define LINKTYPE_LINUX_IRDA 144
#define LINKTYPE_CAN20B 190