Lines Matching refs:peer_ip
55 inet_prefix peer_ip; member
116 if (p->peer_ip.family == AF_INET6) in create_tunnel()
118 addattr_l(&req.n, 1024, peer_attr, &p->peer_ip.data, in create_tunnel()
119 p->peer_ip.bytelen); in create_tunnel()
231 inet_ntop(p->peer_ip.family, p->peer_ip.data, in print_tunnel()
362 p->peer_ip.family = AF_INET; in get_response()
363 p->peer_ip.data[0] = rta_getattr_u32(attrs[L2TP_ATTR_IP_DADDR]); in get_response()
364 p->peer_ip.bytelen = 4; in get_response()
365 p->peer_ip.bitlen = -1; in get_response()
374 p->peer_ip.family = AF_INET6; in get_response()
375 memcpy(&p->peer_ip.data, RTA_DATA(attrs[L2TP_ATTR_IP6_DADDR]), in get_response()
376 p->peer_ip.bytelen = 16); in get_response()
377 p->peer_ip.bitlen = -1; in get_response()
553 if (get_addr(&p->peer_ip, *argv, AF_UNSPEC)) in parse_args()
744 if (p.peer_ip.family == AF_UNSPEC) in do_add()