Home
last modified time | relevance | path

Searched refs:ip_addr (Results 1 – 3 of 3) sorted by relevance

/net/l2tp/
Dl2tp_core.c1350 struct sockaddr_l2tpip ip_addr = {0}; in l2tp_tunnel_sock_create() local
1357 ip_addr.l2tp_family = AF_INET; in l2tp_tunnel_sock_create()
1358 ip_addr.l2tp_addr = cfg->local_ip; in l2tp_tunnel_sock_create()
1359 ip_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create()
1360 err = kernel_bind(sock, (struct sockaddr *)&ip_addr, in l2tp_tunnel_sock_create()
1361 sizeof(ip_addr)); in l2tp_tunnel_sock_create()
1365 ip_addr.l2tp_family = AF_INET; in l2tp_tunnel_sock_create()
1366 ip_addr.l2tp_addr = cfg->peer_ip; in l2tp_tunnel_sock_create()
1367 ip_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1368 err = kernel_connect(sock, (struct sockaddr *)&ip_addr, in l2tp_tunnel_sock_create()
[all …]
/net/ceph/
Dmessenger.c1201 char *colon_p, *ip_addr = NULL; in ceph_dns_resolve_name() local
1226 NULL, name, end - name, NULL, &ip_addr, NULL, false); in ceph_dns_resolve_name()
1228 ret = ceph_pton(ip_addr, ip_len, addr, -1, NULL); in ceph_dns_resolve_name()
1232 kfree(ip_addr); in ceph_dns_resolve_name()
/net/ipv4/
Dicmp.c1097 dev = ip_dev_find(net, iio->ident.addr.ip_addr.ipv4_addr); in icmp_build_probe()
1103 dev = ipv6_stub->ipv6_dev_find(net, &iio->ident.addr.ip_addr.ipv6_addr, dev); in icmp_build_probe()