summaryrefslogtreecommitdiff
path: root/include/arpa
AgeCommit message (Collapse)Author
2014-07-12Tackle the endian.h mess. Make it so that:Philip Guenther
* 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@
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-09-15Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.Philip Guenthe
Much ports testing of various versions by naddy@ and jasper@ ok matthew@, miller@
2012-07-10Instead of <arpa/inet.h> pulling in <netinet/in.h>, just copy in thePhilip Guenthe
three 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@
2012-06-26Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declarePhilip Guenthe
all 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@
2008-12-09fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soonOtto Moerbeek
2006-07-26TIMEOUT* values are not part of the protocol. tftp.h is a namespaceTheo de Raadt
export of the protocol. you shall not add non-protocol stuff to such a file, period.
2006-07-26Fixing several timeout quirks at tftpd and tftp:Marcus Glocker
- 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@
2006-07-20Add blksize option support for tftpd according to RFC 2348.Marcus Glocker
Note: While testing the new option, we noticed that our stable tftpd has a 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 as next. ok claudio@
2005-12-20Get rid of non-OpenBSD bits and use _BYTE_ORDER not BYTE_ORDERTodd C. Miller
OK deraadt@
2004-01-27TSIZE & TIMEOUT support; from freebsd via tholoTheo de Raadt
2004-01-22Remove unnecessary typedef usage.Marc Espie
u_char -> unsigned char u_short -> unsigned short u_long -> unsigned long u_int -> unsigned int okay millert@
2004-01-17add a couple of new RR types; ok deraadt@Jakob Schlyter
2003-08-01add __bounded__ attributes for userland headers; enabled with -WboundedAnil Madhavapeddy
ok deraadt@
2003-06-26backout the __bounded__ attributes for a while; requested by deraadt@Anil Madhavapeddy
2003-06-26Mark various standard library functions with the __bounded__ attribute.Anil Madhavapeddy
You must have an up-to-date gcc for this! deraadt@ ok
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-07-31add support for EDNS0 extended flag DNSSEC OK (aka DO). ok deraadt@Jakob Schlyter
2001-07-25EDNS0 RFC ref typo. ok deraadt@Jakob Schlyter
2001-06-11support EDNS0 (RFC2671) buffer size notification on DNS queries.Jun-ichiro itojun Hagino
"options edns0" in /etc/resolv.conf will enable the behavior. no behavior change if you don't have the line. see resolv.conf(5) for more details. EDNS0 is useful for avoiding TCP DNS queries/replies on larger DNS responses. also, draft-ietf-dnsext-message-size-* plans to mandate EDNS0 support for DNS clients that support IPv6 transport.
2001-01-04spellingTodd T. Fries
1997-09-21Well, as we are heading for a release people are encouraged to rebuild theirNiklas Hallqvist
entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags.
1997-08-12typo; graphix@iastate.eduTheo de Raadt
1997-06-29Use u_int16_t, not short in struct tftphdr. From Marc Evans <marc@destek.net>.Todd C. Miller
1997-04-05Use in_addr_t not u_long.Todd C. Miller
1997-03-13BIND 4.9.5 includes.Jason Downs
1996-12-11Fix SLC_NAME_OK() macro which would return non-zero, if given therobin
argument: 0 (which is not a valid SLC code -- valid SLC codes are currently 1 -> 30 inclusive, from RFC-1184).
1996-12-04add rfc1184 components; from robin@mailgate.dtc.rankxerox.co.ukTheo de Raadt
1996-02-19netbsd: bind 4.9.3dm
1995-10-18initial import of NetBSD treeTheo de Raadt