Lines Matching refs:targ
103 struct target targ;
106 targ.family = family;
107 targ.foundip = 0;
108 targ.ifindex = if_nametoindex(interface);
109 if(targ.ifindex == 0) {
114 ifa.ifa_family = targ.family;
120 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, getaddr_cb, &targ);
121 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, &targ);
126 if(targ.foundip) {
132 memcpy(retval, &targ.ip, sizeof(union anyip));