ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/slirp/tftp.h
(Generate patch)

Comparing BasiliskII/src/slirp/tftp.h (file contents):
Revision 1.1 by gbeauche, 2005-05-13T09:00:59Z vs.
Revision 1.2 by gbeauche, 2006-01-17T21:19:12Z

# Line 12 | Line 12
12  
13   #define TFTP_FILENAME_MAX 512
14  
15 + #ifdef PRAGMA_PACK_SUPPORTED
16 + #pragma pack(1)
17 + #endif
18 +
19   struct tftp_t {
20    struct ip ip;
21    struct udphdr udp;
# Line 27 | Line 31 | struct tftp_t {
31      } tp_error;
32      u_int8_t tp_buf[512 + 2];
33    } x;
34 < };
34 > } PACKED__;
35 >
36 > #ifdef PRAGMA_PACK_SUPPORTED
37 > #pragma pack(0)
38 > #endif
39  
40   void tftp_input(struct mbuf *m);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines