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