Age | Commit message (Collapse) | Author |
|
The type for the ip_tos member was typoed, fix it.
winsup/cygwin/ChangeLog:
include/netinet/ip.h: fix type of ip_tos
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
|
|
u_char, u_short, u_int, u_long are BSD-only types. Remove them from
Cygwin headers which are supposed to be used in a non-BSD scenario.
Drop special Cygwin handling of those types in sys/types.h.
newlib:
* libc/include/sys/types.h (u_char,u_short,u_int,u_long): Drop
Cygwin exception.
cygwin:
* fhandler_socket.cc (fhandler_socket::ioctl): Accommodate change
in include/asm/socket.h. Continue using u_long since that's the
MS type here.
* include/asm/socket.h: Since the type given in _IOR/_IOW macros
is only used for its sizeof, replace u_long with equivalent long.
* netdb.h (getnetbyaddr): Fix prototype.
* netinet/ip.h: Replace old BSD-only types with generically defined
old BSD types (u_char -> u_int8_t, etc).
* netinet/tcp.h: Ditto.
* netinet/udp.h: Ditto.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
|
|
* include/netinet/ip.h (MAX_IPOPTLEN): Define.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
|
|
and __BYTE_ORDER into ...
* include/bits/endian.h: New file.
* include/arpa/nameser_compat.h: Include endian.h rather than defining
BYTE_ORDER here.
* include/asm/byteorder.h: Include bits/endian.h. Drop definition of
__LITTLE_ENDIAN.
* include/netinet/ip.h: Include bits/endian.h. Drop definitions of
BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER. Use underscored variants
of aforementioned constants.
* include/netinet/tcp.h: Ditto.
* include/sys/param.h: Drop disabled definitions of BIG_ENDIAN,
LITTLE_ENDIAN, and BYTE_ORDER.
* include/netinet/ip.h: Reformat. Define setsockopt IP_TOS options
matching recent RFCs. Tweak comments.
|
|
|
|
to allow standalone usage (autoconf).
|
|
definition.
* include/netinet/ip.h: Ditto.
* include/netinet/tcp.h: Ditto.
* include/netinet/ip.h: Replace by BSD derived version of the file.
* include/netinet/tcp.h: Ditto.
* include/netinet/udp.h: New file.
* include/cygwin/ip.h: Remove.
|
|
* include/fcntl.h: Ditto.
* include/lastlog.h: Ditto.
* include/memory.h: Ditto.
* include/mntent.h: Ditto.
* include/paths.h: Ditto.
* include/poll.h: Ditto.
* include/syslog.h: Ditto.
* include/termio.h: Ditto.
* include/tzfile.h: Ditto.
* include/arpa/inet.h: Ditto.
* include/asm/byteorder.h: Ditto.
* include/asm/socket.h: Ditto.
* include/asm/types.h: Ditto.
* include/cygwin/if.h: Ditto.
* include/cygwin/mtio.h: Ditto.
* include/cygwin/rdevio.h: Ditto.
* include/cygwin/socket.h: Ditto.
* include/net/if.h: Ditto.
* include/netinet/in.h: Ditto.
* include/netinet/in_systm.h: Ditto.
* include/netinet/ip.h: Ditto.
* include/netinet/ip_icmp.h: Ditto.
* include/netinet/tcp.h: Ditto.
* include/sys/cdefs.h: Ditto.
* include/sys/cygwin.h: Ditto.
* include/sys/ioctl.h: Ditto.
* include/sys/mman.h: Ditto.
* include/sys/mount.h: Ditto.
* include/sys/mtio.h: Ditto.
* include/sys/procfs.h: Ditto.
* include/sys/resource.h: Ditto.
* include/sys/smallprint.h: Ditto.
* include/sys/socket.h: Ditto.
* include/sys/strace.h: Ditto.
* include/sys/syslog.h: Ditto.
* include/sys/sysmacros.h: Ditto.
* include/sys/termio.h: Ditto.
* include/sys/termios.h: Ditto.
* include/sys/uio.h: Ditto.
* include/sys/un.h: Ditto.
* include/sys/utsname.h: Ditto.
* include/sys/vfs.h: Ditto.
* include/sys/wait.h: Ditto.
* regexp/regerror.c: Ditto.
* regexp/regexp.h: Ditto.
* regexp/regmagic.h: Ditto.
|
|
|