diff options
author | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-06-28 18:22:15 +0000 |
---|---|---|
committer | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-06-28 18:22:15 +0000 |
commit | bb8864f3daf3b047ea4e0648d1c0175f8d46aacc (patch) | |
tree | b70f98f7cd8273c2ef1fc5bb1ccd2a63c4f9304f /wiretap/wtap.h | |
parent | 3f9738a0a55b6d2a8ae10d5ed902a22088b59629 (diff) |
Add support for DLT_PPP_WITH_DIR. This fixes bug 3619.
Thanks for Tyson Key for reporting the issue.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28877 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index a580306807..e920c9fa37 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -670,6 +670,16 @@ struct libpcap_bt_phdr { guint32 direction; /* Bit 0 hold the frame direction. */ }; +#define LIBPCAP_PPP_PHDR_RECV 0 +#define LIBPCAP_PPP_PHDR_SENT 1 + +/* + * Header prepended by libpcap to each ppp frame. + */ +struct libpcap_ppp_phdr { + guint8 direction; +}; + /* * Endace Record Format pseudo header */ |