Searched refs:is_ipv6 (Results 1 – 2 of 2) sorted by relevance
123 const bool is_ipv6 = (sa->sa_family == AF_INET6); in inetSockaddrToString() local126 getnameinfo(sa, is_ipv6 ? sizeof(sockaddr_in6) : sizeof(sockaddr_in), in inetSockaddrToString()134 return (is_ipv6 ? "[" : "") + std::string(host) + (is_ipv6 ? "]:" : ":") + std::string(port); in inetSockaddrToString()
113 bool is_ipv6 = (skb->protocol == htons(ETH_P_IPV6)); \114 int ip_overhead = (is_ipv6 ? sizeof(struct ipv6hdr) : sizeof(struct iphdr)); \