Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internal | guenther | 2015-09-14 | 1 | -1/+3 |
| | | | | calls go direct and all the symbols are weak | ||||
* | Move to the <limits.h> universe. | deraadt | 2015-01-16 | 1 | -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 an | deraadt | 2013-03-20 | 1 | -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_data | claudio | 2008-11-24 | 1 | -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 more | itojun | 2002-08-09 | 1 | -5/+2 |
| | |||||
* | unifdef for auditability. | itojun | 2002-08-09 | 1 | -112/+5 |
| | |||||
* | label abort() from inside library as ILLEGAL | deraadt | 2002-01-02 | 1 | -3/+3 |
| | |||||
* | cope with sa_len < sizeof(struct sockaddr). | itojun | 2001-08-20 | 1 | -2/+5 |
| | | | | From: Patrik Lindergren <patrik@datacom.nu> | ||||
* | fix unused code path; karls@inet.no | deraadt | 2001-07-04 | 1 | -4/+5 |
| | |||||
* | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | lebel | 2001-06-27 | 1 | -3/+2 |
| | |||||
* | ifm_data is avilable on {net,open,free}bsd. sync with kame. | itojun | 2000-11-24 | 1 | -1/+6 |
| | |||||
* | add freeifaddrs(3), which reclaims region allocated by getifaddrs(3). | itojun | 2000-02-23 | 1 | -2/+8 |
| | | | | in sync with kame and bsdi. | ||||
* | add getifaddrs(3), from bsdi4. | itojun | 2000-02-23 | 1 | -0/+373 |
this will help future apps from complexity of SIOCGIFCONF. NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF. |