diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-23 00:45:13 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-04-23 00:45:13 -0700 |
commit | dbddfda2c806a98b1fc8fd86cc3c34a4f9915d70 (patch) | |
tree | d15fd799819a42cba4161976b519dfcc513b7a24 /appletalk.h | |
parent | ed85e20e4d6a27d5405f37366dd34b64c10a9211 (diff) | |
download | tcpdump-dbddfda2c806a98b1fc8fd86cc3c34a4f9915d70.tar.gz |
More getting rid of old u_intN_t.
Diffstat (limited to 'appletalk.h')
-rw-r--r-- | appletalk.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/appletalk.h b/appletalk.h index 06677767..a4ef1d56 100644 --- a/appletalk.h +++ b/appletalk.h @@ -22,9 +22,9 @@ */ struct LAP { - u_int8_t dst; - u_int8_t src; - u_int8_t type; + uint8_t dst; + uint8_t src; + uint8_t type; }; #define lapShortDDP 1 /* short DDP type */ #define lapDDP 2 /* DDP type */ @@ -33,22 +33,22 @@ struct LAP { /* Datagram Delivery Protocol */ struct atDDP { - u_int16_t length; - u_int16_t checksum; - u_int16_t dstNet; - u_int16_t srcNet; - u_int8_t dstNode; - u_int8_t srcNode; - u_int8_t dstSkt; - u_int8_t srcSkt; - u_int8_t type; + uint16_t length; + uint16_t checksum; + uint16_t dstNet; + uint16_t srcNet; + uint8_t dstNode; + uint8_t srcNode; + uint8_t dstSkt; + uint8_t srcSkt; + uint8_t type; }; struct atShortDDP { - u_int16_t length; - u_int8_t dstSkt; - u_int8_t srcSkt; - u_int8_t type; + uint16_t length; + uint8_t dstSkt; + uint8_t srcSkt; + uint8_t type; }; #define ddpMaxWKS 0x7F @@ -72,9 +72,9 @@ struct atShortDDP { /* AppleTalk Transaction Protocol */ struct atATP { - u_int8_t control; - u_int8_t bitmap; - u_int16_t transID; + uint8_t control; + uint8_t bitmap; + uint16_t transID; int32_t userData; }; @@ -93,8 +93,8 @@ struct atATP { /* AppleTalk Echo Protocol */ struct atEcho { - u_int8_t echoFunction; - u_int8_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 { - u_int8_t control; - u_int8_t id; + uint8_t control; + uint8_t id; }; struct atNBPtuple { - u_int16_t net; - u_int8_t node; - u_int8_t skt; - u_int8_t enumerator; + uint16_t net; + uint8_t node; + uint8_t skt; + uint8_t enumerator; }; #define nbpBrRq 0x10 @@ -140,8 +140,8 @@ struct atNBPtuple { /* Zone Information Protocol */ struct zipHeader { - u_int8_t command; - u_int8_t netcount; + uint8_t command; + uint8_t netcount; }; #define zipHeaderSize 2 |