summaryrefslogtreecommitdiffstats
path: root/include/arpa (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Consistently spell "IPsec" in comments and debug outputs.mpi2018-03-161-2/+2
| | | | From Raf Czlonka, ok sthen@
* The macro versions of htonl et al don't require them, but POSIX saysguenther2017-02-041-1/+11
| | | | | | <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> toguenther2017-02-041-3/+18
| | | | | | | <netinet/in.h> and <arpa/inet.h> ok and ports test naddy@ (thanks!) ok krw@ beck@ millert@
* Revert: finger slipguenther2015-09-141-18/+3
|
* Prefer the standardized <poll.h> over <sys/poll.h>guenther2015-09-141-3/+18
|
* Switch to including <sys/types.h> instead of <sys/param.h>deraadt2015-01-161-2/+2
| | | | | | | | This hides the unavoidably cruddy sys/param.h namespace in some programs. Little impact, because many programs are cruddy and still get it via other includes. ports testing thanks to sthen and naddy ok guenther millert
* inet_nsap_{addr,ntoa}() were removed on 2013/12/17guenther2014-08-311-3/+1
|
* Tackle the endian.h mess. Make it so that:guenther2014-07-121-2/+9
| | | | | | | | | | | | | | | | | | * 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 inclusionderaadt2012-12-052-4/+2
| | | | ok guenther millert kettenis
* Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.guenther2012-09-151-1/+6
| | | | | 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 theguenther2012-07-101-2/+22
| | | | | | | 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@
* Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declareguenther2012-06-261-11/+11
| | | | | | | | 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@
* fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soonotto2008-12-091-2/+2
|
* TIMEOUT* values are not part of the protocol. tftp.h is a namespacederaadt2006-07-261-4/+1
| | | | | export of the protocol. you shall not add non-protocol stuff to such a file, period.
* Fixing several timeout quirks at tftpd and tftp:mglocker2006-07-261-1/+4
| | | | | | | | | | | | | - 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.mglocker2006-07-201-1/+3
| | | | | | | | | | 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@
* Get rid of non-OpenBSD bits and use _BYTE_ORDER not BYTE_ORDERmillert2005-12-201-47/+8
| | | | OK deraadt@
* TSIZE & TIMEOUT support; from freebsd via tholoderaadt2004-01-271-1/+3
|
* Remove unnecessary typedef usage.espie2004-01-222-12/+12
| | | | | | | | | u_char -> unsigned char u_short -> unsigned short u_long -> unsigned long u_int -> unsigned int okay millert@
* add a couple of new RR types; ok deraadt@jakob2004-01-171-1/+14
|
* add __bounded__ attributes for userland headers; enabled with -Wboundedavsm2003-08-011-5/+9
| | | | ok deraadt@
* backout the __bounded__ attributes for a while; requested by deraadt@avsm2003-06-261-9/+5
|
* Mark various standard library functions with the __bounded__ attribute.avsm2003-06-261-5/+9
| | | | | You must have an up-to-date gcc for this! deraadt@ ok
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-025-30/+10
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-162-18/+18
|
* add support for EDNS0 extended flag DNSSEC OK (aka DO). ok deraadt@jakob2001-07-311-1/+6
|
* EDNS0 RFC ref typo. ok deraadt@jakob2001-07-251-2/+2
|
* support EDNS0 (RFC2671) buffer size notification on DNS queries.itojun2001-06-111-1/+2
| | | | | | | | | "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.
* spellingtodd2001-01-041-2/+2
|
* Well, as we are heading for a release people are encouraged to rebuild theirniklas1997-09-213-0/+3
| | | | | entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags.
* typo; graphix@iastate.eduderaadt1997-08-121-1/+1
|
* Use u_int16_t, not short in struct tftphdr. From Marc Evans <marc@destek.net>.millert1997-06-291-3/+3
|
* Use in_addr_t not u_long.millert1997-04-051-7/+7
|
* BIND 4.9.5 includes.downsj1997-03-132-55/+111
|
* Fix SLC_NAME_OK() macro which would return non-zero, if given therobin1996-12-111-1/+1
| | | | | argument: 0 (which is not a valid SLC code -- valid SLC codes are currently 1 -> 30 inclusive, from RFC-1184).
* add rfc1184 components; from robin@mailgate.dtc.rankxerox.co.ukderaadt1996-12-041-10/+30
|
* netbsd: bind 4.9.3dm1996-02-192-96/+224
|
* initial import of NetBSD treederaadt1995-10-185-0/+818