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

/illumos-gate/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.h61 * Extended version of the classic BSD ifaddrlist() interface:
63 * int ifaddrlist(struct ifaddrlist **addrlistp, int af, uint_t flags,
66 * * addrlistp: Upon success, ifaddrlist() sets *addrlistp to a
78 * Upon success, ifaddrlist() returns the number of addresses in the array
86 struct ifaddrlist { struct
95 extern int ifaddrlist(struct ifaddrlist **, int, uint_t, char *);
98 * Similar to ifaddrlist(), but returns a linked-list of addresses for a
/illumos-gate/usr/src/lib/libinetutil/
H A DMakefile.com28 OBJECTS = octet.o inetutil.o ifspec.o ifaddrlist.o ifaddrlistx.o eh.o tq.o \
42 $(SRCDIR)/ifaddrlist.c $(SRCDIR)/ifaddrlistx.c \
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c145 static struct ifaddrlist *al4; /* list of interfaces */
146 static struct ifaddrlist *al6; /* list of interfaces */
192 static char *device_name(struct ifaddrlist *, int, union any_in_addr *,
196 static struct ifaddrlist *find_device(struct ifaddrlist *, int, char *);
197 static struct ifaddrlist *find_ifaddr(struct ifaddrlist *, int,
227 static int set_src_addr(struct pr_set *, struct ifaddrlist **);
235 int, struct ifaddrlist *);
816 set_src_addr(struct pr_set *pr, struct ifaddrlist **al
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dip_anon_rcm.c162 struct ifaddrlist *al = NULL, *al6 = NULL;
275 num_ifs = ifaddrlist(&al, AF_INET, LIFC_UNDER_IPMP, errbuf);
287 num_ifs6 = ifaddrlist(&al6, AF_INET6, LIFC_UNDER_IPMP, errbuf);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c221 static struct ifaddrlist *find_if(struct ifaddrlist *, int);
1535 struct ifaddrlist *al = NULL; /* interface list */
1536 struct ifaddrlist *my_if;
1543 num_ifs = ifaddrlist(&al, family, LIFC_UNDER_IPMP, errbuf);
1675 static struct ifaddrlist *
1676 find_if(struct ifaddrlist *al, int num_ifs)
1678 static struct ifaddrlist tmp_if;
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt.c60 static int adt_get_local_address(int, struct ifaddrlist *);
761 struct ifaddrlist al;
2102 adt_get_local_address(int family, struct ifaddrlist *al)
2104 struct ifaddrlist *ifal;
2110 if ((ifal_count = ifaddrlist(&ifal, family, 0, errbuf)) < 0) {
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c1488 struct ifaddrlist *al = NULL;
1493 nifs = ifaddrlist(&al, AF_INET, LIFC_EXTERNAL_SOURCE, errmsg);

Completed in 350 milliseconds