diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-23 11:53:22 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-04-23 11:53:22 -0700 |
commit | a2633f2f21439cc453530a0cff47ac6084c40a76 (patch) | |
tree | cf77f1e4fd4b1e18fcda1e047e84f959ae584640 /appletalk.h | |
parent | 30f0d2314d1086ebf4bad29b1d11c7916338b95d (diff) | |
download | tcpdump-a2633f2f21439cc453530a0cff47ac6084c40a76.tar.gz |
More fixes for uint8_t being shorter than u_int8_t.
Fix a typo while we're at it.
Diffstat (limited to 'appletalk.h')
-rw-r--r-- | appletalk.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/appletalk.h b/appletalk.h index a4ef1d56..3fbcbce0 100644 --- a/appletalk.h +++ b/appletalk.h @@ -22,9 +22,9 @@ */ struct LAP { - uint8_t dst; - uint8_t src; - uint8_t type; + uint8_t dst; + uint8_t src; + uint8_t type; }; #define lapShortDDP 1 /* short DDP type */ #define lapDDP 2 /* DDP type */ @@ -37,18 +37,18 @@ struct atDDP { uint16_t checksum; uint16_t dstNet; uint16_t srcNet; - uint8_t dstNode; - uint8_t srcNode; - uint8_t dstSkt; - uint8_t srcSkt; - uint8_t type; + uint8_t dstNode; + uint8_t srcNode; + uint8_t dstSkt; + uint8_t srcSkt; + uint8_t type; }; struct atShortDDP { uint16_t length; - uint8_t dstSkt; - uint8_t srcSkt; - uint8_t type; + uint8_t dstSkt; + uint8_t srcSkt; + uint8_t type; }; #define ddpMaxWKS 0x7F @@ -72,10 +72,10 @@ struct atShortDDP { /* AppleTalk Transaction Protocol */ struct atATP { - uint8_t control; - uint8_t bitmap; + uint8_t control; + uint8_t bitmap; uint16_t transID; - int32_t userData; + int32_t userData; }; #define atpReqCode 0x40 @@ -93,8 +93,8 @@ struct atATP { /* AppleTalk Echo Protocol */ struct atEcho { - uint8_t echoFunction; - uint8_t *echoData; + uint8_t echoFunction; + uint8_t *echoData; }; #define echoSkt 4 /* the echoer socket */ @@ -106,15 +106,15 @@ struct atEcho { /* Name Binding Protocol */ struct atNBP { - uint8_t control; - uint8_t id; + uint8_t control; + uint8_t id; }; struct atNBPtuple { uint16_t net; - uint8_t node; - uint8_t skt; - uint8_t enumerator; + uint8_t node; + uint8_t skt; + uint8_t enumerator; }; #define nbpBrRq 0x10 @@ -140,8 +140,8 @@ struct atNBPtuple { /* Zone Information Protocol */ struct zipHeader { - uint8_t command; - uint8_t netcount; + uint8_t command; + uint8_t netcount; }; #define zipHeaderSize 2 |