Home
last modified time | relevance | path

Searched refs:ip6_addr (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/net/l2tp/
Dl2tp_core.c1403 struct sockaddr_l2tpip6 ip6_addr = {0}; in l2tp_tunnel_sock_create() local
1410 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1411 memcpy(&ip6_addr.l2tp_addr, cfg->local_ip6, in l2tp_tunnel_sock_create()
1412 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
1413 ip6_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create()
1414 err = kernel_bind(sock, (struct sockaddr *) &ip6_addr, in l2tp_tunnel_sock_create()
1415 sizeof(ip6_addr)); in l2tp_tunnel_sock_create()
1419 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1420 memcpy(&ip6_addr.l2tp_addr, cfg->peer_ip6, in l2tp_tunnel_sock_create()
1421 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
[all …]
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_main.c607 static int ipvlan_add_addr6(struct ipvl_dev *ipvlan, struct in6_addr *ip6_addr) in ipvlan_add_addr6() argument
611 if (ipvlan_addr_busy(ipvlan->port, ip6_addr, true)) { in ipvlan_add_addr6()
614 ip6_addr, ipvlan->dev->name); in ipvlan_add_addr6()
622 memcpy(&addr->ip6addr, ip6_addr, sizeof(struct in6_addr)); in ipvlan_add_addr6()
635 static void ipvlan_del_addr6(struct ipvl_dev *ipvlan, struct in6_addr *ip6_addr) in ipvlan_del_addr6() argument
639 addr = ipvlan_find_addr(ipvlan, ip6_addr, true); in ipvlan_del_addr6()
Dipvlan_core.c42 const struct in6_addr *ip6_addr = iaddr; in ipvlan_get_v6_hash() local
44 return __ipv6_addr_jhash(ip6_addr, ipvlan_jhash_secret) & in ipvlan_get_v6_hash()
/linux-4.4.14/lib/
Dvsprintf.c1079 char ip6_addr[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255")]; in ip6_addr_string() local
1082 ip6_compressed_string(ip6_addr, addr); in ip6_addr_string()
1084 ip6_string(ip6_addr, addr, fmt); in ip6_addr_string()
1086 return string(buf, end, ip6_addr, spec); in ip6_addr_string()
1105 char ip6_addr[sizeof("[xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255]") + in ip6_addr_string_sa() local
1108 char *p = ip6_addr, *pend = ip6_addr + sizeof(ip6_addr); in ip6_addr_string_sa()
1137 p = ip6_compressed_string(ip6_addr + off, addr); in ip6_addr_string_sa()
1139 p = ip6_string(ip6_addr + off, addr, fmt6); in ip6_addr_string_sa()
1159 return string(buf, end, ip6_addr, spec); in ip6_addr_string_sa()
/linux-4.4.14/drivers/infiniband/core/
Dcma.c1220 struct in6_addr ip6_addr; in cma_match_private_data() local
1235 ip6_addr = ((struct sockaddr_in6 *)addr)->sin6_addr; in cma_match_private_data()
1239 memcmp(&hdr->dst_addr.ip6, &ip6_addr, sizeof(ip6_addr))) in cma_match_private_data()