Lines Matching refs:local_ip
54 inet_prefix local_ip; member
111 if (p->local_ip.family == AF_INET6) in create_tunnel()
113 addattr_l(&req.n, 1024, local_attr, &p->local_ip.data, in create_tunnel()
114 p->local_ip.bytelen); in create_tunnel()
228 inet_ntop(p->local_ip.family, p->local_ip.data, in print_tunnel()
240 switch (p->local_ip.family) { in print_tunnel()
356 p->local_ip.family = AF_INET; in get_response()
357 p->local_ip.data[0] = rta_getattr_u32(attrs[L2TP_ATTR_IP_SADDR]); in get_response()
358 p->local_ip.bytelen = 4; in get_response()
359 p->local_ip.bitlen = -1; in get_response()
368 p->local_ip.family = AF_INET6; in get_response()
369 memcpy(&p->local_ip.data, RTA_DATA(attrs[L2TP_ATTR_IP6_SADDR]), in get_response()
370 p->local_ip.bytelen = 16); in get_response()
371 p->local_ip.bitlen = -1; in get_response()
557 if (get_addr(&p->local_ip, *argv, AF_UNSPEC)) in parse_args()
741 if (p.local_ip.family == AF_UNSPEC) in do_add()