Searched refs:transport_len (Results 1 – 1 of 1) sorted by relevance
329 const size_t transport_len = ipv4Packet.size() - ipHeaderLen; in translateIpv4Packet() local331 uint32_t oldPseudoSum = ipv4_pseudo_header_checksum(ipHeader, transport_len); in translateIpv4Packet()340 uint32_t newPseudoSum = ipv4_pseudo_header_checksum(ipHeader, transport_len); in translateIpv4Packet()363 const size_t transport_len = ipv6Packet.size() - ipHeaderLen; in translateIpv6Packet() local366 ipv6_pseudo_header_checksum(ipv6Header, transport_len, ipv6Header->ip6_nxt); in translateIpv6Packet()375 ipv6_pseudo_header_checksum(ipv6Header, transport_len, ipv6Header->ip6_nxt); in translateIpv6Packet()