aboutsummaryrefslogtreecommitdiff
path: root/include/arpa
Commit message (Collapse)AuthorAgeFilesLines
* SPDX: license IDs for some ISC-related files.Pedro F. Giffuni2017-12-082-4/+4
| | | | Notes: svn path=/head/; revision=326695
* Indent protection and some other oops from the prvious commits.Pedro F. Giffuni2017-11-201-1/+1
| | | | Notes: svn path=/head/; revision=326027
* include: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-206-6/+19
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326024
* Fix include/arpa/nameser_compat.h by adding T_DNAME definition.Warner Losh2017-02-281-0/+1
| | | | | | | | | | Fixes Apache trafficserver Submitted by: John J. Rushford <https://github.com/jrushford> Pull Request: https://github.com/freebsd/freebsd/pull/104 Notes: svn path=/head/; revision=314408
* include: minor spelling fixes.Pedro F. Giffuni2016-04-301-1/+1
| | | | | | | No functional change. Notes: svn path=/head/; revision=298849
* Add META_MODE support.Simon J. Gerraty2015-06-132-2/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge from head@274682Simon J. Gerraty2014-11-193-30/+130
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ Merge from headSimon J. Gerraty2013-09-051-0/+2
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | CleanupSimon J. Gerraty2013-02-171-2/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246924
| * | | | ftpd needs telnet.h so install it regardlessSimon J. Gerraty2013-02-161-2/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246869
| * | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | Sync with HEAD.David E. O'Brien2013-02-081-1/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-222-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | Remove NO_OBJSimon J. Gerraty2015-06-111-1/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For meta mode we will want objdirs. Differential Revision: D2748 Reviewed by: brooks imp Notes: svn path=/head/; revision=284255
* | | | | Update our stub resolver to final version of libbind.Hajimu UMEMOTO2014-08-123-30/+130
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Obtained from: ISC Notes: svn path=/head/; revision=269867
| * | | | Bring final version of libbind:Pedro F. Giffuni2014-08-053-30/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From http://www.isc.org/downloads/libbind/ The libbind functions have been separated from the BIND suite as of BIND 9.6.0. Originally from older versions of BIND, they have been continually maintained and improved but not installed by default with BIND 9. This standard resolver library contains the same historical functions and headers included with many Unix operating systems. In fact, most implementations are based on the same original code. At present, NetBSD maintains libbind code, now known as "netresolv". Notes: svn path=/vendor/resolver/dist/; revision=269610
| * | | | Import the resolver part of BIND 9.4.3.vendor/resolver/9.4.3Hajimu UMEMOTO2008-12-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/resolver/dist/; revision=186083 svn path=/vendor/resolver/9.4.3/; revision=186084; tag=vendor/resolver/9.4.3
| * | | | Vendor import of BIND 9.4.1Hajimu UMEMOTO2007-06-033-207/+206
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/resolver/dist/; revision=170242
| * | | | Vendor import of BIND 9.3.3Hajimu UMEMOTO2006-12-151-3/+4
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/resolver/dist/; revision=165254
| * | | | Vendor import of BIND 9.3.2Hajimu UMEMOTO2006-03-213-0/+932
| / / / | | | | | | | | | | | | Notes: svn path=/vendor/resolver/dist/; revision=156959
* | | / Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | Allow certain headers to be included more easily.Ed Schouten2013-05-211-0/+2
| |/ |/| | | | | | | | | | | Spotted by: http://hacks.owlfolio.org/header-survey/ Notes: svn path=/head/; revision=250887
* | MK_* variable should be compared to "no" not "NO".Brooks Davis2013-01-251-1/+1
| | | | | | | | | | | | | | Submitted by: "b.f." <bf1783@googlemail.com> Notes: svn path=/head/; revision=245911
* | Don't install telnet.h if it will be installed by libtelnet.Brooks Davis2013-01-241-1/+6
|/ | | | Notes: svn path=/head/; revision=245886
* Spelling fixes for include/Ulrich Spörlein2012-01-071-2/+2
| | | | Notes: svn path=/head/; revision=229781
* o addr2ascii(3) was removed ages ago. Fix the comment.Maxim Konovalov2010-07-061-1/+1
| | | | | | | | | PR: docs/148383 Submitted by: pluknet MFC after: 1 week Notes: svn path=/head/; revision=209715
* Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s.Warner Losh2010-02-166-30/+8
| | | | Notes: svn path=/head/; revision=203965
* Namespace: inet_ntoa_r() is a BSD extension.David Schultz2009-03-141-1/+1
| | | | Notes: svn path=/head/; revision=189806
* Merge the resolver part of BIND 9.4.3 into HEAD.Hajimu UMEMOTO2008-12-141-2/+3
| | | | | | | | | | | | | It includes the following fix: 2426. [bug] libbind: inet_net_pton() can sometimes return the wrong value if excessively large netmasks are supplied. [RT #18512] Reported by: Maksymilian Arciemowicz <cxib__at__securityreason.com> Notes: svn path=/head/; revision=186090
* Fix TELOPT(opt) when opt > TELOPT_TN3270E.Antoine Brodin2008-09-131-2/+2
| | | | | | | | | PR: 127194 Submitted by: Joost Bekkers MFC after: 1 month Notes: svn path=/head/; revision=183004
* Remove old prototypes for addr2ascii() and ascii2addr(), functions which noBruce M Simpson2007-08-241-2/+0
| | | | | | | | | | longer exist in libc. Requested by: Craig Rodrigues Approved by: re (kensmith) Notes: svn path=/head/; revision=171954
* declare struct tftphdr and embedded union as beeing packed, which isBernd Walter2007-08-011-2/+2
| | | | | | | | | | | required for arm. Tested on: arm, i386, amd64 Approved by: re (rwatson) MFC after: 1 week Notes: svn path=/head/; revision=171680
* Require users to provide a length information for inet_ntoa_r,Xin LI2007-06-141-1/+1
| | | | | | | | | this is common on other platforms. Reported by: pointyhat via kris Notes: svn path=/head/; revision=170715
* Add inet_ntoa_r, a reentrant version of inet_ntoa. This isXin LI2007-06-111-0/+2
| | | | | | | | | available on a lot of platforms, as well as libkern for years. Submitted by: "MQ" Notes: svn path=/head/; revision=170548
* Merge BIND 9.4.1 into main chunk.Hajimu UMEMOTO2007-06-033-202/+203
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=170244
* Merge BIND9 9.3.3 into main chunk.Hajimu UMEMOTO2006-12-151-1/+1
| | | | | | | | Obtained from: ISC MFC after: 1 week Notes: svn path=/head/; revision=165258
* Upgrade res_update(3) and the friends to BIND9's one excluding TSIGHajimu UMEMOTO2006-05-211-0/+4
| | | | | | | | | support. X-MFC after: never Notes: svn path=/head/; revision=158787
* Update the resolver in libc to BIND9's one.Hajimu UMEMOTO2006-03-213-97/+245
| | | | | | | | | | | | | | | | | | | | | | | | | Since, res_sendsigned(3) and the friends use MD5 functions, it is hard to include them without having MD5 functions in libc. So, res_sendsigned(3) is not merged into libc. Since, res_update(3) in BIND9 is not binary compatible with our res_update(3), res_update(3) is leaved as is, except some necessary modifications. The res_update(3) and the friends are not essential part of the resolver. They are not defined in resolv.h but defined in res_update.h separately in BIND9. Further, they are not called from our tree. So, I hide them from our resolv.h, but leave them only for binary backward compatibility (perhaps, no one calls them). Since, struct __res_state_ext is not exposed in BIND9, I hide it from our resolv.h. And, global variable _res_ext is removed. It breaks binary backward compatibility. But, since it is not used from outside of our libc, I think it is safe. Reviewed by: arch@ (no objection) Notes: svn path=/head/; revision=156960
* ns_name_skip was not prefixed by `__'.Hajimu UMEMOTO2006-03-091-0/+1
| | | | | | | Obtained from: BIND9 Notes: svn path=/head/; revision=156467
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* MFCrypto: update RFC assigned telnet options (r1.9)Bill Fumerola2003-01-181-3/+8
| | | | Notes: svn path=/head/; revision=109467
* o Merge <machine/ansi.h> and <machine/types.h> into a new headerMike Barcroft2002-08-211-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien Notes: svn path=/head/; revision=102227
* Change a POSIX conditional to use the new __BSD_VISIBLE macro.Mike Barcroft2002-08-161-11/+11
| | | | | | | | | | | | | | | | Fix the following style bugs: o #ifdef, #ifndef, and #undef should be followed by a space, not a tab. o The second level of indentation in prototypes is 4 characters even when the function names are indented 1 extra character. o Type qualifiers that appear next to a * need a seperating space so that the qualifier isn't easily confused with parameter names. (eg. `char * __restrict' instead of `char *__restrict') Submitted by: bde (mostly) Notes: svn path=/head/; revision=101995
* -Add the restrict required by IEEE Std 1003.1-2001 in formRobert Drehmel2002-08-141-2/+3
| | | | | | | | | | of our __restrict macro to the prototypes and function definitions of inet_pton and inet_ntop. - Use ANSI-C function argument lists. - Adjust the prototypes in the manual page. Notes: svn path=/head/; revision=101880
* Prepend BIG_ENDIAN, BYTE_ORDER, LITTLE_ENDIAN, and PDP_ENDIAN with anMike Barcroft2002-05-281-6/+6
| | | | | | | | underscore. This is the preferred form. Also fix a preprocessor syntax error in an error-detection section. Notes: svn path=/head/; revision=97363
* Added new bsd.incs.mk which handles installing of header filesRuslan Ermilov2002-05-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release". Notes: svn path=/head/; revision=96462
* Be more strict about exposing BSD-specific functions when a standardMike Barcroft2002-04-101-10/+4
| | | | | | | | | | | has been requested. Unconditionalize the definition of INET_ADDRSTRLEN and INET6_ADDRSTRLEN. Doing this helps expose bogus redefinitions in 3rd party software. Notes: svn path=/head/; revision=94353