Searched refs:ip6_addr (Results 1 – 5 of 5) sorted by relevance
/linux/net/l2tp/ |
H A D | l2tp_core.c | 1495 struct sockaddr_l2tpip6 ip6_addr = {0}; in l2tp_tunnel_sock_create() local 1502 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create() 1503 memcpy(&ip6_addr.l2tp_addr, cfg->local_ip6, in l2tp_tunnel_sock_create() 1504 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create() 1505 ip6_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create() 1506 err = kernel_bind(sock, (struct sockaddr *)&ip6_addr, in l2tp_tunnel_sock_create() 1507 sizeof(ip6_addr)); in l2tp_tunnel_sock_create() 1511 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create() 1512 memcpy(&ip6_addr.l2tp_addr, cfg->peer_ip6, in l2tp_tunnel_sock_create() 1513 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create() [all …]
|
/linux/drivers/net/ipvlan/ |
H A D | ipvlan_main.c | 868 static int ipvlan_add_addr6(struct ipvl_dev *ipvlan, struct in6_addr *ip6_addr) in ipvlan_add_addr6() argument 873 if (ipvlan_addr_busy(ipvlan->port, ip6_addr, true)) in ipvlan_add_addr6() 876 ip6_addr, ipvlan->dev->name); in ipvlan_add_addr6() 878 ret = ipvlan_add_addr(ipvlan, ip6_addr, true); in ipvlan_add_addr6() 883 static void ipvlan_del_addr6(struct ipvl_dev *ipvlan, struct in6_addr *ip6_addr) in ipvlan_del_addr6() argument 885 return ipvlan_del_addr(ipvlan, ip6_addr, true); in ipvlan_del_addr6()
|
H A D | ipvlan_core.c | 39 const struct in6_addr *ip6_addr = iaddr; in ipvlan_get_v6_hash() local 41 return __ipv6_addr_jhash(ip6_addr, ipvlan_jhash_secret) & in ipvlan_get_v6_hash()
|
/linux/lib/ |
H A D | vsprintf.c | 1497 char ip6_addr[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255")]; in ip6_addr_string() local 1500 ip6_compressed_string(ip6_addr, addr); in ip6_addr_string() 1502 ip6_string(ip6_addr, addr, fmt); in ip6_addr_string() 1504 return string_nocheck(buf, end, ip6_addr, spec); in ip6_addr_string() 1523 char ip6_addr[sizeof("[xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255]") + in ip6_addr_string_sa() local 1526 char *p = ip6_addr, *pend = ip6_addr + sizeof(ip6_addr); in ip6_addr_string_sa() 1555 p = ip6_compressed_string(ip6_addr + off, addr); in ip6_addr_string_sa() 1557 p = ip6_string(ip6_addr + off, addr, fmt6); in ip6_addr_string_sa() 1577 return string_nocheck(buf, end, ip6_addr, spec); in ip6_addr_string_sa()
|
/linux/drivers/infiniband/core/ |
H A D | cma.c | 1724 struct in6_addr ip6_addr; in cma_match_private_data() local 1739 ip6_addr = ((struct sockaddr_in6 *)addr)->sin6_addr; in cma_match_private_data() 1743 memcmp(&hdr->dst_addr.ip6, &ip6_addr, sizeof(ip6_addr))) in cma_match_private_data()
|