Changeset 105dcfcd in rtems
- Timestamp:
- 04/22/04 04:31:34 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 593bc32
- Parents:
- 8bbe9ea0
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r8bbe9ea0 r105dcfcd 1 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * libnetworking/sys/socket.h: Further update from FreeBSD 4 (Add sa_family_t). 5 1 6 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org> 2 7 -
cpukit/libnetworking/sys/socket.h
r8bbe9ea0 r105dcfcd 43 43 /* RTEMS doesn't have FreeBSD's sys/_types.h machinery. */ 44 44 typedef int socklen_t; 45 typedef unsigned char sa_family_t; 45 46 #endif 46 47 … … 158 159 struct sockaddr { 159 160 unsigned char sa_len; /* total length */ 160 u_charsa_family; /* address family */161 sa_family_t sa_family; /* address family */ 161 162 char sa_data[14]; /* actually longer; address value */ 162 163 }; … … 279 280 */ 280 281 struct msghdr { 281 void *msg_name; /* optional address */282 u_int msg_namelen; /* size of address */282 void *msg_name; /* optional address */ 283 socklen_t msg_namelen; /* size of address */ 283 284 struct iovec *msg_iov; /* scatter/gather array */ 284 285 int msg_iovlen; /* # elements in msg_iov */ 285 void 286 u_int msg_controllen; /* ancillary data buffer len */286 void *msg_control; /* ancillary data, see below */ 287 socklen_t msg_controllen; /* ancillary data buffer len */ 287 288 int msg_flags; /* flags on received message */ 288 289 }; … … 306 307 */ 307 308 struct cmsghdr { 308 u_int cmsg_len; /* data byte count, including hdr */309 socklen_t cmsg_len; /* data byte count, including hdr */ 309 310 int cmsg_level; /* originating protocol */ 310 311 int cmsg_type; /* protocol-specific type */
Note: See TracChangeset
for help on using the changeset viewer.