summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/ethers.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* I am retiring my old email address; replace it with my OpenBSD one.millert2019-01-251-3/+3
|
* Remove ethers(5) YP support bits from libc as it makes it difficult tobrynet2018-11-091-57/+5
| | | | | | | | effectively use pledge(2) in some programs. approval from many, thanks! idea by & ok deraadt@
* Delete casts to off_t and size_t that are implied by assignmentsguenther2016-09-211-2/+2
| | | | | | | or prototypes. Ditto for some of the char* and void* casts too. verified no change to instructions on ILP32 (i386) and LP64 (amd64) ok natano@ abluhm@ deraadt@ millert@
* Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internalguenther2015-09-141-1/+2
| | | | calls go direct and all the symbols are weak
* Move to the <limits.h> universe.deraadt2015-01-161-4/+4
| | | | review by millert, binary checking process with doug, concept with guenther
* When fopen()ing internal to libc (the API doesn't support the useguenther2014-09-151-3/+3
| | | | | | | of the resulting FILE *), then pass fopen() the 'e' mode letter to mark it close-on-exec. ok miod@
* most obvious unsigned char casts for ctypederaadt2013-11-241-4/+6
| | | | ok jca krw ingo
* zap rcsid.espie2005-08-061-5/+1
| | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@
* add some const to ether_*. remove bonus prototypes this brought out.tedu2005-03-281-7/+7
| | | | ok deraadt@
* ansify. ok deraadt@ moritz@otto2005-03-251-19/+8
|
* remove redundant code, u_int8_t cannot be > 0xffotto2004-02-161-16/+2
| | | | ok deraadt@ millert@
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-171-9/+9
| | | | where applicable.
* Use an ISC-tyle license for all my code; it is simpler and more permissive.millert2003-06-031-23/+12
|
* try to use strlcpy and snprintf more; ok variousderaadt2002-05-241-4/+4
|
* Part one of userland __P removal. Done with a simple regexp with some minor ↵millert2002-02-161-3/+3
| | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-271-4/+3
|
* Wallderaadt2000-08-221-2/+5
|
* check for negative numbers from strtol()deraadt1998-11-181-3/+3
|
* Remove the advertising clause in my old license, it impedes free usemillert1998-06-211-6/+3
| | | | | of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
* Todd does not test YP code; felix@mamba.pond.sub.orgderaadt1998-03-181-5/+6
|
* Set errno to EINVAL if ether_ntoa() is passed bogus data.millert1998-03-171-3/+5
|
* Whoops, fix a last minute change.millert1998-03-171-4/+6
|
* Fix some improbable overflows:millert1998-03-171-49/+118
| | | | | | | o don't read in a hostname >= MAXHOSTNAMELEN o get rid of sscanf o check that octets passed in are <= 0xFF Also make the style consistent and add my copyright.
* Use fgetln(3) instead of fgets(3) so we can easily recognize linesmillert1998-03-161-7/+23
| | | | that are too long and ignore them instead of corrupting later entries.
* Fix RCS idstholo1996-08-191-2/+4
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* prototype ethers(3) functions (inside !_KERNEL), pointed out inderaadt1996-07-031-0/+3
| | | | netbsd pr#2471, jhawk@mit.edu
* initial import of NetBSD treederaadt1995-10-181-0/+178