Home
last modified time | relevance | path

Searched refs:targinfop (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_query.c611 ipmp_targinfo_t *targinfop; in ipmp_targinfo_create() local
613 targinfop = malloc(sizeof (ipmp_targinfo_t)); in ipmp_targinfo_create()
614 if (targinfop == NULL) in ipmp_targinfo_create()
617 targinfop->it_testaddr = *testaddrp; in ipmp_targinfo_create()
618 targinfop->it_targmode = targmode; in ipmp_targinfo_create()
619 targinfop->it_targlistp = ipmp_addrlist_create(ntarg, targs); in ipmp_targinfo_create()
620 if (targinfop->it_targlistp == NULL) { in ipmp_targinfo_create()
621 ipmp_freetarginfo(targinfop); in ipmp_targinfo_create()
624 (void) strlcpy(targinfop->it_name, name, LIFNAMSIZ); in ipmp_targinfo_create()
626 return (targinfop); in ipmp_targinfo_create()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/
H A Dipmpstat.c983 ipmp_targinfo_t *targinfop = arg->sa_data; in sfunc_targ_ifname() local
985 (void) strlcpy(buf, targinfop->it_name, bufsize); in sfunc_targ_ifname()
993 ipmp_targinfo_t *targinfop = arg->sa_data; in sfunc_targ_mode() local
995 enum2str(targ_mode, targinfop->it_targmode, buf, bufsize); in sfunc_targ_mode()
1003 ipmp_targinfo_t *targinfop = arg->sa_data; in sfunc_targ_testaddr() local
1005 if (targinfop->it_targmode != IPMP_TARG_DISABLED) in sfunc_targ_testaddr()
1006 sockaddr2str(&targinfop->it_testaddr, buf, bufsize); in sfunc_targ_testaddr()
1016 ipmp_targinfo_t *targinfop = arg->sa_data; in sfunc_targ_targets() local
1017 ipmp_addrlist_t *targlistp = targinfop->it_targlistp; in sfunc_targ_targets()