Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libipmp/common/
H A Dipmp_query.c524 ipmp_targinfo_t *targinfop; in ipmp_targinfo_create() local
526 targinfop = malloc(sizeof (ipmp_targinfo_t)); in ipmp_targinfo_create()
527 if (targinfop == NULL) in ipmp_targinfo_create()
530 targinfop->it_testaddr = *testaddrp; in ipmp_targinfo_create()
531 targinfop->it_targmode = targmode; in ipmp_targinfo_create()
532 targinfop->it_targlistp = ipmp_addrlist_create(ntarg, targs); in ipmp_targinfo_create()
533 if (targinfop->it_targlistp == NULL) { in ipmp_targinfo_create()
534 ipmp_freetarginfo(targinfop); in ipmp_targinfo_create()
537 (void) strlcpy(targinfop->it_name, name, LIFNAMSIZ); in ipmp_targinfo_create()
539 return (targinfop); in ipmp_targinfo_create()
[all …]
/titanic_50/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()