OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ni_ifaddrs
(Results
1 - 3
of
3
) sorted by null
/external/iputils/ninfod/
ni_ifaddrs.h
1
/* $USAGI:
ni_ifaddrs
.h,v 1.1 2002-12-03 17:48:53 yoshfuji Exp $ */
33
struct
ni_ifaddrs
{
struct
34
struct
ni_ifaddrs
*ifa_next;
41
int
ni_ifaddrs
(struct
ni_ifaddrs
**ifap, sa_family_t family);
42
void ni_freeifaddrs(struct
ni_ifaddrs
*ifa);
ninfod_addrs.c
118
#include "
ni_ifaddrs
.h"
154
struct
ni_ifaddrs
*ifa0;
165
if (
ni_ifaddrs
(&ifa0, AF_INET6))
170
struct
ni_ifaddrs
*ifa;
218
struct
ni_ifaddrs
*ifa;
323
struct
ni_ifaddrs
*ifa0;
334
if (
ni_ifaddrs
(&ifa0, AF_INET))
339
struct
ni_ifaddrs
*ifa;
378
struct
ni_ifaddrs
*ifa;
ni_ifaddrs.c
1
/* $USAGI:
ni_ifaddrs
.c,v 1.8 2007-10-11 06:25:21 yoshfuji Exp $ */
82
#include "
ni_ifaddrs
.h"
91
static const char *RCSID __attribute__ ((unused)) = "$USAGI:
ni_ifaddrs
.c,v 1.8 2007-10-11 06:25:21 yoshfuji Exp $ based on USAGI: ifaddrs.c,v 1.18 2002/03/06 01:50:46 yoshfuji Exp";
313
int
ni_ifaddrs
(struct
ni_ifaddrs
**ifap, sa_family_t family)
function
352
struct
ni_ifaddrs
*ifl = NULL, *ifa = NULL;
361
ifa = data = calloc(1, NLMSG_ALIGN(sizeof(struct
ni_ifaddrs
[icnt]))
376
data += NLMSG_ALIGN(sizeof(struct
ni_ifaddrs
)) * icnt;
539
void ni_freeifaddrs(struct
ni_ifaddrs
*ifa)
Completed in 457 milliseconds