Searched refs:ifaddrlist (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libinetutil/common/
H A Difaddrlist.c38 * @(#) $Header: ifaddrlist.c,v 1.2 97/04/22 13:31:05 leres Exp $ (LBL)
54 ifaddrlist(struct ifaddrlist **ipaddrp, int family, uint_t flags, char *errbuf) function
56 struct ifaddrlist *ifaddrlist = NULL, *al = NULL; local
119 if ((ifaddrlist = calloc(nlifr, sizeof (struct ifaddrlist))) == NULL) {
129 al = ifaddrlist;
171 free(ifaddrlist);
176 *ipaddrp = ifaddrlist;
[all...]
H A Dlibinetutil.h67 * Extended version of the classic BSD ifaddrlist() interface:
69 * int ifaddrlist(struct ifaddrlist **addrlistp, int af, uint_t flags,
72 * * addrlistp: Upon success, ifaddrlist() sets *addrlistp to a
84 * Upon success, ifaddrlist() returns the number of addresses in the array
92 struct ifaddrlist { struct
101 extern int ifaddrlist(struct ifaddrlist **, int, uint_t, char *);
104 * Similar to ifaddrlist(), but returns a linked-list of addresses for a
/osnet-11/usr/src/lib/libinetutil/
H A DMakefile.com27 OBJECTS = octet.o inetutil.o ifspec.o ifaddrlist.o ifaddrlistx.o eh.o tq.o \
41 $(SRCDIR)/ifaddrlist.c $(SRCDIR)/ifaddrlistx.c \
/osnet-11/usr/src/lib/libbsm/common/
H A Dadt.c61 static int adt_get_local_address(int, struct ifaddrlist *);
755 struct ifaddrlist al;
2121 adt_get_local_address(int family, struct ifaddrlist *al)
2123 struct ifaddrlist *ifal;
2128 if ((ifal_count = ifaddrlist(&ifal, family, 0, errbuf)) < 0) {

Completed in 25 milliseconds