Lines Matching defs:local_ip
54 inet_prefix local_ip;
109 if (p->local_ip.family == AF_INET6)
111 addattr_l(&req.n, 1024, local_attr, &p->local_ip.data, p->local_ip.bytelen);
208 printf(" From %s ", inet_ntop(p->local_ip.family, p->local_ip.data, buf, sizeof(buf)));
299 p->local_ip.family = AF_INET;
300 p->local_ip.data[0] = rta_getattr_u32(attrs[L2TP_ATTR_IP_SADDR]);
301 p->local_ip.bytelen = 4;
302 p->local_ip.bitlen = -1;
311 p->local_ip.family = AF_INET6;
312 memcpy(&p->local_ip.data, RTA_DATA(attrs[L2TP_ATTR_IP6_SADDR]),
313 p->local_ip.bytelen = 16);
314 p->local_ip.bitlen = -1;
524 if (get_addr(&p->local_ip, *argv, AF_UNSPEC))
653 if (p.local_ip.family == AF_UNSPEC)