diff options
author | hannes <hannes> | 2004-08-18 14:56:27 +0000 |
---|---|---|
committer | hannes <hannes> | 2004-08-18 14:56:27 +0000 |
commit | a663702261188104f00e32b831218b102d1e14dd (patch) | |
tree | 0f0ca04ff514c5af5a0f615871a61d777bc11345 /ppp.h | |
parent | 20d2f6830e2a10e35bb70e2d10f0ef8298bcf1bf (diff) | |
download | tcpdump-a663702261188104f00e32b831218b102d1e14dd.tar.gz |
add ppp support for DLT_PPP_WITHDIRECTION; print direction (hidden under eflag)
Diffstat (limited to 'ppp.h')
-rw-r--r-- | ppp.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* @(#) $Header: /tcpdump/master/tcpdump/ppp.h,v 1.14 2003-05-22 15:29:22 hannes Exp $ (LBL) */ +/* @(#) $Header: /tcpdump/master/tcpdump/ppp.h,v 1.15 2004-08-18 14:56:28 hannes Exp $ (LBL) */ /* * Point to Point Protocol (PPP) RFC1331 * @@ -20,6 +20,9 @@ #define PPP_ADDRESS 0xff /* The address byte value */ #define PPP_CONTROL 0x03 /* The control byte value */ +#define PPP_WITHDIRECTION_IN 0x00 /* non-standard for DLT_PPP_WITHDIRECTION */ +#define PPP_WITHDIRECTION_OUT 0x01 /* non-standard for DLT_PPP_WITHDIRECTION */ + /* Protocol numbers */ #define PPP_IP 0x0021 /* Raw IP */ #define PPP_OSI 0x0023 /* OSI Network Layer */ |