spelling fixes; from paul tagliamonte
Consistently spell "IPsec" in comments and debug outputs.From Raf Czlonka, ok sthen@
The macro versions of htonl et al don't require them, but POSIX says<arpa/inet.h> needs to provide uint16_t and uint32_t.ok millert@ krw@ naddy@
Move the typedefs for in_{addr,port}_t from <sys/types.h> to<netinet/in.h> and <arpa/inet.h>ok and ports test naddy@ (thanks!)ok krw@ beck@ millert@
Revert: finger slip
Prefer the standardized <poll.h> over <sys/poll.h>
Switch to including <sys/types.h> instead of <sys/param.h>This hides the unavoidably cruddy sys/param.h namespace in some programs.Little impact, because many programs are cruddy and still get it v
Switch to including <sys/types.h> instead of <sys/param.h>This hides the unavoidably cruddy sys/param.h namespace in some programs.Little impact, because many programs are cruddy and still get it viaother includes.ports testing thanks to sthen and naddyok guenther millert
show more ...
inet_nsap_{addr,ntoa}() were removed on 2013/12/17
Tackle the endian.h mess. Make it so that: * you can #include <sys/endian.h> instead of <machine/endian.h>, and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first) * those will a
Tackle the endian.h mess. Make it so that: * you can #include <sys/endian.h> instead of <machine/endian.h>, and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first) * those will always export the symbols that POSIX specified for <endian.h>, including the new {be,le}{16,32,64}toh() set. c.f. http://austingroupbugs.net/view.php?id=162 if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h> currently exports (ntohs, NTOHS, dlg's bemtoh*, etc) * when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and <arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER and betoh*ok deraadt@
Remove excessive sys/cdefs.h inclusionok guenther millert kettenis
Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.Much ports testing of various versions by naddy@ and jasper@ok matthew@, miller@
Instead of <arpa/inet.h> pulling in <netinet/in.h>, just copy in thethree things that it needed from there: INET_ADDRSTRLEN, INET6_ADDRSTRLEN,and struct in_addr. Add protecting #ifndefs to netinet
Instead of <arpa/inet.h> pulling in <netinet/in.h>, just copy in thethree things that it needed from there: INET_ADDRSTRLEN, INET6_ADDRSTRLEN,and struct in_addr. Add protecting #ifndefs to netinet6?/in6?.h for those.ok deraadt@
Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declareall the symbols that POSIX says they must and fewer that they can't and,most importantly, to not require a specific ordering
Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declareall the symbols that POSIX says they must and fewer that they can't and,most importantly, to not require a specific ordering of headers.ports testing by naddy@ok millert@ deraadt@
fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon
TIMEOUT* values are not part of the protocol. tftp.h is a namespaceexport of the protocol. you shall not add non-protocol stuff to sucha file, period.
Fixing several timeout quirks at tftpd and tftp:- move TIMEOUT* defines to arpa/tftp.h, as they are used several times in tftpd and tftp, and the values are part of the RFC definition.- tftpd an
Fixing several timeout quirks at tftpd and tftp:- move TIMEOUT* defines to arpa/tftp.h, as they are used several times in tftpd and tftp, and the values are part of the RFC definition.- tftpd and tftp did count the total retransmission time in retries instead in seconds. fixed.- tftpd rexmt timeout was hardcoded by a define and therefore didn't changed when the timeout option was sent. fixed.- limit total retransmission timeout in tftp to also 255 seconds.- replace obvious atoi()'s by strtonum().ok claudio@
Add blksize option support for tftpd according to RFC 2348.Note:While testing the new option, we noticed that our stable tftpd hasa problem if any option is set (e.g. tsize) and you try to put a
Add blksize option support for tftpd according to RFC 2348.Note:While testing the new option, we noticed that our stable tftpd hasa problem if any option is set (e.g. tsize) and you try to put a file.This has nothing todo with our new blksize option. We fix this asnext.ok claudio@
Get rid of non-OpenBSD bits and use _BYTE_ORDER not BYTE_ORDEROK deraadt@
TSIZE & TIMEOUT support; from freebsd via tholo
Remove unnecessary typedef usage.u_char -> unsigned charu_short -> unsigned shortu_long -> unsigned longu_int -> unsigned intokay millert@
add a couple of new RR types; ok deraadt@
add __bounded__ attributes for userland headers; enabled with -Wboundedok deraadt@
backout the __bounded__ attributes for a while; requested by deraadt@
Mark various standard library functions with the __bounded__ attribute.You must have an up-to-date gcc for this!deraadt@ ok
Remove the advertising clause in the UCB license which Berkeleyrescinded 22 July 1999. Proofed by myself and Theo.
12