Home
last modified time | relevance | path

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

/openbmc/linux/net/l2tp/
H A Dl2tp_core.c1331 struct sockaddr_l2tpip6 ip6_addr = {0}; in l2tp_tunnel_sock_create() local
1338 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1340 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
1341 ip6_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create()
1343 sizeof(ip6_addr)); in l2tp_tunnel_sock_create()
1347 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1348 memcpy(&ip6_addr.l2tp_addr, cfg->peer_ip6, in l2tp_tunnel_sock_create()
1349 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
1350 ip6_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1352 (struct sockaddr *)&ip6_addr, in l2tp_tunnel_sock_create()
[all …]
/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan_main.c865 static int ipvlan_add_addr6(struct ipvl_dev *ipvlan, struct in6_addr *ip6_addr) in ipvlan_add_addr6() argument
870 if (ipvlan_addr_busy(ipvlan->port, ip6_addr, true)) in ipvlan_add_addr6()
873 ip6_addr, ipvlan->dev->name); in ipvlan_add_addr6()
875 ret = ipvlan_add_addr(ipvlan, ip6_addr, true); in ipvlan_add_addr6()
880 static void ipvlan_del_addr6(struct ipvl_dev *ipvlan, struct in6_addr *ip6_addr) in ipvlan_del_addr6() argument
882 return ipvlan_del_addr(ipvlan, ip6_addr, true); in ipvlan_del_addr6()
H A 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()
/openbmc/u-boot/lib/
H A Dvsprintf.c343 char ip6_addr[8 * 5]; in ip6_addr_string() local
344 char *p = ip6_addr; in ip6_addr_string()
355 return string(buf, end, ip6_addr, field_width, precision, in ip6_addr_string()
/openbmc/linux/drivers/net/dsa/
H A 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()
/openbmc/linux/lib/
H A Dvsprintf.c1461 char ip6_addr[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255")]; in ip6_addr_string() local
1464 ip6_compressed_string(ip6_addr, addr); in ip6_addr_string()
1466 ip6_string(ip6_addr, addr, fmt); in ip6_addr_string()
1468 return string_nocheck(buf, end, ip6_addr, spec); in ip6_addr_string()
1487 char ip6_addr[sizeof("[xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255]") + in ip6_addr_string_sa() local
1490 char *p = ip6_addr, *pend = ip6_addr + sizeof(ip6_addr); in ip6_addr_string_sa()
1519 p = ip6_compressed_string(ip6_addr + off, addr); in ip6_addr_string_sa()
1521 p = ip6_string(ip6_addr + off, addr, fmt6); in ip6_addr_string_sa()
1541 return string_nocheck(buf, end, ip6_addr, spec); in ip6_addr_string_sa()
/openbmc/linux/drivers/infiniband/core/
H A Dcma.c1708 struct in6_addr ip6_addr; in cma_match_private_data() local
1723 ip6_addr = ((struct sockaddr_in6 *)addr)->sin6_addr; in cma_match_private_data()
1727 memcmp(&hdr->dst_addr.ip6, &ip6_addr, sizeof(ip6_addr))) in cma_match_private_data()