Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_core.c1366 struct sockaddr_l2tpip ip_addr = {0}; in l2tp_tunnel_sock_create() local
1373 ip_addr.l2tp_family = AF_INET; in l2tp_tunnel_sock_create()
1374 ip_addr.l2tp_addr = cfg->local_ip; in l2tp_tunnel_sock_create()
1375 ip_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create()
1376 err = kernel_bind(sock, (struct sockaddr *) &ip_addr, in l2tp_tunnel_sock_create()
1377 sizeof(ip_addr)); in l2tp_tunnel_sock_create()
1381 ip_addr.l2tp_family = AF_INET; in l2tp_tunnel_sock_create()
1382 ip_addr.l2tp_addr = cfg->peer_ip; in l2tp_tunnel_sock_create()
1383 ip_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1384 err = kernel_connect(sock, (struct sockaddr *) &ip_addr, in l2tp_tunnel_sock_create()
[all …]
/net/ceph/
Dmessenger.c1870 char *colon_p, *ip_addr = NULL; in ceph_dns_resolve_name() local
1895 NULL, name, end - name, NULL, &ip_addr, NULL, false); in ceph_dns_resolve_name()
1897 ret = ceph_pton(ip_addr, ip_len, addr, -1, NULL); in ceph_dns_resolve_name()
1901 kfree(ip_addr); in ceph_dns_resolve_name()