Lines Matching refs:v4
174 void ClatdController::makeChecksumNeutral(in6_addr* v6, const in_addr v4, in makeChecksumNeutral() argument
187 uint32_t c1 = ip_checksum_add(0, &v4, sizeof(v4)); in makeChecksumNeutral()
197 int ClatdController::generateIpv6Address(const char* iface, const in_addr v4, in generateIpv6Address() argument
223 makeChecksumNeutral(v6, v4, nat64Prefix); in generateIpv6Address()
255 .local4 = tracker.v4, in maybeStartBpf()
278 .local4 = tracker.v4, in maybeStartBpf()
394 .local4 = tracker.v4, in maybeStopBpf()
449 v4 = {selectIpv4Address(kV4Addr, kV4AddrLen)}; in init()
450 if (v4.s_addr == INADDR_NONE) { in init()
454 if (!inet_ntop(AF_INET, &v4, v4Str, sizeof(v4Str))) return -errno; in init()
457 if (generateIpv6Address(iface, v4, pfx96, &v6)) { in init()