Lines Matching refs:sin6
31 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_ntop6_noscopeid() local
32 const struct in6_addr *addr = &sin6->sin6_addr; in rpc_ntop6_noscopeid()
69 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_ntop6() local
78 if (!(ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL)) in rpc_ntop6()
80 if (sin6->sin6_scope_id == 0) in rpc_ntop6()
84 IPV6_SCOPE_DELIMITER, sin6->sin6_scope_id); in rpc_ntop6()
163 struct sockaddr_in6 *sin6) in rpc_parse_scope_id() argument
176 if (!(ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL)) in rpc_parse_scope_id()
195 sin6->sin6_scope_id = scope_id; in rpc_parse_scope_id()
202 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_pton6() local
203 u8 *addr = (u8 *)&sin6->sin6_addr.in6_u; in rpc_pton6()
215 if (!rpc_parse_scope_id(net, buf, buflen, delim, sin6)) in rpc_pton6()
218 sin6->sin6_family = AF_INET6; in rpc_pton6()