summaryrefslogtreecommitdiffstats
path: root/include/arpa
AgeCommit message (Collapse)AuthorFilesLines
2018-03-16Consistently spell "IPsec" in comments and debug outputs.mpi1-2/+2
From Raf Czlonka, ok sthen@
2017-02-04The macro versions of htonl et al don't require them, but POSIX saysguenther1-1/+11
<arpa/inet.h> needs to provide uint16_t and uint32_t. ok millert@ krw@ naddy@
2017-02-04Move the typedefs for in_{addr,port}_t from <sys/types.h> toguenther1-3/+18
<netinet/in.h> and <arpa/inet.h> ok and ports test naddy@ (thanks!) ok krw@ beck@ millert@
2015-09-14Revert: finger slipguenther1-18/+3
2015-09-14Prefer the standardized <poll.h> over <sys/poll.h>guenther1-3/+18
2015-01-16Switch to including <sys/types.h> instead of <sys/param.h>deraadt1-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
2014-08-31inet_nsap_{addr,ntoa}() were removed on 2013/12/17guenther1-3/+1
2014-07-12Tackle the endian.h mess. Make it so that:guenther1-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@
2012-12-05Remove excessive sys/cdefs.h inclusionderaadt2-4/+2
ok guenther millert kettenis
2012-09-15Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.guenther1-1/+6
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 theguenther1-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@
2012-06-26Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declareguenther1-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@
2008-12-09fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soonotto1-2/+2
2006-07-26TIMEOUT* values are not part of the protocol. tftp.h is a namespacederaadt1-4/+1
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:mglocker1-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@
2006-07-20Add blksize option support for tftpd according to RFC 2348.mglocker1-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@
2005-12-20Get rid of non-OpenBSD bits and use _BYTE_ORDER not BYTE_ORDERmillert1-47/+8
OK deraadt@
2004-01-27TSIZE & TIMEOUT support; from freebsd via tholoderaadt1-1/+3
2004-01-22Remove unnecessary typedef usage.espie2-12/+12
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@jakob1-1/+14
2003-08-01add __bounded__ attributes for userland headers; enabled with -Wboundedavsm1-5/+9
ok deraadt@
2003-06-26backout the __bounded__ attributes for a while; requested by deraadt@avsm1-9/+5
2003-06-26Mark various standard library functions with the __bounded__ attribute.avsm1-5/+9
You must have an up-to-date gcc for this! deraadt@ ok
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert5-30/+10
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 hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2-18/+18
2001-07-31add support for EDNS0 extended flag DNSSEC OK (aka DO). ok deraadt@jakob1-1/+6
2001-07-25EDNS0 RFC ref typo. ok deraadt@jakob1-2/+2
2001-06-11support EDNS0 (RFC2671) buffer size notification on DNS queries.itojun1-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.
2001-01-04spellingtodd1-2/+2
1997-09-21Well, as we are heading for a release people are encouraged to rebuild theirniklas3-0/+3
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.eduderaadt1-1/+1
1997-06-29Use u_int16_t, not short in struct tftphdr. From Marc Evans <marc@destek.net>.millert1-3/+3
1997-04-05Use in_addr_t not u_long.millert1-7/+7
1997-03-13BIND 4.9.5 includes.downsj2-55/+111
1996-12-11Fix SLC_NAME_OK() macro which would return non-zero, if given therobin1-1/+1
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.ukderaadt1-9/+29
1996-02-19netbsd: bind 4.9.3dm2-96/+224
1995-10-18initial import of NetBSD treederaadt5-0/+818