summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getifaddrs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A few sys/param.h annotations lacked ALIGNBYTESderaadt2021-11-291-2/+2
|
* Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internalguenther2015-09-141-1/+3
| | | | calls go direct and all the symbols are weak
* Move to the <limits.h> universe.deraadt2015-01-161-2/+2
| | | | review by millert, binary checking process with doug, concept with guenther
* Use a realloc() loop around the sysctl() for NET_RT_IFLIST, in case anderaadt2013-03-201-9/+21
| | | | | interface is added at just the right... wrong moment. ok millert dlg
* Correctly jump over routing headers and calculate the size of the if_dataclaudio2008-11-241-7/+14
| | | | | | struct in the if_msghdr instead of using sizeof() blindly. This allows us to grow if_data without causing issues for the getifaddrs() users. OK deraadt@ (who needs this for some cool upcomming stuff)
* remove obsolete comment, no SIOCGIFCONF path any moreitojun2002-08-091-5/+2
|
* unifdef for auditability.itojun2002-08-091-112/+5
|
* label abort() from inside library as ILLEGALderaadt2002-01-021-3/+3
|
* cope with sa_len < sizeof(struct sockaddr).itojun2001-08-201-2/+5
| | | | From: Patrik Lindergren <patrik@datacom.nu>
* fix unused code path; karls@inet.noderaadt2001-07-041-4/+5
|
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-271-3/+2
|
* ifm_data is avilable on {net,open,free}bsd. sync with kame.itojun2000-11-241-1/+6
|
* add freeifaddrs(3), which reclaims region allocated by getifaddrs(3).itojun2000-02-231-2/+8
| | | | in sync with kame and bsdi.
* add getifaddrs(3), from bsdi4.itojun2000-02-231-0/+373
this will help future apps from complexity of SIOCGIFCONF. NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.