Lines Matching refs:targ
102 struct target targ;
105 targ.family = family;
106 targ.foundip = 0;
107 targ.ifindex = if_nametoindex(interface);
108 if(targ.ifindex == 0) {
113 ifa.ifa_family = targ.family;
119 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, getaddr_cb, &targ);
120 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, &targ);
125 if(targ.foundip) {
131 memcpy(retval, &targ.ip, sizeof(union anyip));