Home
last modified time | relevance | path

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

/Linux-v5.10/net/l2tp/
Dl2tp_core.c1314 struct sockaddr_l2tpip6 ip6_addr = {0}; in l2tp_tunnel_sock_create() local
1321 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1322 memcpy(&ip6_addr.l2tp_addr, cfg->local_ip6, in l2tp_tunnel_sock_create()
1323 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
1324 ip6_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create()
1325 err = kernel_bind(sock, (struct sockaddr *)&ip6_addr, in l2tp_tunnel_sock_create()
1326 sizeof(ip6_addr)); in l2tp_tunnel_sock_create()
1330 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1331 memcpy(&ip6_addr.l2tp_addr, cfg->peer_ip6, in l2tp_tunnel_sock_create()
1332 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
[all …]
/Linux-v5.10/drivers/net/ipvlan/
Dipvlan_main.c861 static int ipvlan_add_addr6(struct ipvl_dev *ipvlan, struct in6_addr *ip6_addr) in ipvlan_add_addr6() argument
866 if (ipvlan_addr_busy(ipvlan->port, ip6_addr, true)) in ipvlan_add_addr6()
869 ip6_addr, ipvlan->dev->name); in ipvlan_add_addr6()
871 ret = ipvlan_add_addr(ipvlan, ip6_addr, true); in ipvlan_add_addr6()
876 static void ipvlan_del_addr6(struct ipvl_dev *ipvlan, struct in6_addr *ip6_addr) in ipvlan_del_addr6() argument
878 return ipvlan_del_addr(ipvlan, ip6_addr, true); in ipvlan_del_addr6()
Dipvlan_core.c36 const struct in6_addr *ip6_addr = iaddr; in ipvlan_get_v6_hash() local
38 return __ipv6_addr_jhash(ip6_addr, ipvlan_jhash_secret) & in ipvlan_get_v6_hash()
/Linux-v5.10/lib/
Dvsprintf.c1442 char ip6_addr[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255")]; in ip6_addr_string() local
1445 ip6_compressed_string(ip6_addr, addr); in ip6_addr_string()
1447 ip6_string(ip6_addr, addr, fmt); in ip6_addr_string()
1449 return string_nocheck(buf, end, ip6_addr, spec); in ip6_addr_string()
1468 char ip6_addr[sizeof("[xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255]") + in ip6_addr_string_sa() local
1471 char *p = ip6_addr, *pend = ip6_addr + sizeof(ip6_addr); in ip6_addr_string_sa()
1500 p = ip6_compressed_string(ip6_addr + off, addr); in ip6_addr_string_sa()
1502 p = ip6_string(ip6_addr + off, addr, fmt6); in ip6_addr_string_sa()
1522 return string_nocheck(buf, end, ip6_addr, spec); in ip6_addr_string_sa()
/Linux-v5.10/drivers/net/dsa/
Dbcm_sf2_cfp.c483 const __be32 *ip6_addr, const __be16 port, in bcm_sf2_cfp_slice_ipv6() argument
504 reg = be32_to_cpu(ip6_addr[3]); in bcm_sf2_cfp_slice_ipv6()
517 tmp = be32_to_cpu(ip6_addr[2]); in bcm_sf2_cfp_slice_ipv6()
530 reg = be32_to_cpu(ip6_addr[1]); in bcm_sf2_cfp_slice_ipv6()
543 tmp = be32_to_cpu(ip6_addr[0]); in bcm_sf2_cfp_slice_ipv6()
/Linux-v5.10/drivers/infiniband/core/
Dcma.c1540 struct in6_addr ip6_addr; in cma_match_private_data() local
1555 ip6_addr = ((struct sockaddr_in6 *)addr)->sin6_addr; in cma_match_private_data()
1559 memcmp(&hdr->dst_addr.ip6, &ip6_addr, sizeof(ip6_addr))) in cma_match_private_data()