Searched refs:kMinSize (Results 1 – 5 of 5) sorted by relevance
172 constexpr uint16_t kMinSize = sizeof(Ip6::Udp::Header); in TestUdpMessageChecksum() local182 for (uint16_t size = kMinSize; size <= kMaxSize; size++) in TestUdpMessageChecksum()240 constexpr uint16_t kMinSize = sizeof(Ip6::Icmp::Header); in TestIcmp6MessageChecksum() local250 for (uint16_t size = kMinSize; size <= kMaxSize; size++) in TestIcmp6MessageChecksum()309 constexpr size_t kMinSize = sizeof(Ip4::Tcp::Header); in TestTcp4MessageChecksum() local325 for (uint16_t size = kMinSize; size <= kMaxSize; size++) in TestTcp4MessageChecksum()364 constexpr uint16_t kMinSize = sizeof(Ip4::Udp::Header); in TestUdp4MessageChecksum() local380 for (uint16_t size = kMinSize; size <= kMaxSize; size++) in TestUdp4MessageChecksum()
68 …static constexpr uint8_t kMinSize = (2 + sizeof(Option)); ///< Minimum size (num of bytes) of `Mpl… member in ot::Ip6::MplOption
138 return (GetSize() >= kMinSize) && (mPrefixLength <= Prefix::kMaxLength) && in IsValid()
338 …static constexpr uint16_t kMinSize = kLengthUnit; ///< Minimum size (in bytes) of a Route Info … member in ot::Ip6::Nd::RouteInfoOption
100 SuccessOrExit(error = aMessage.Read(aOffset, &option, MplOption::kMinSize)); in ProcessOption()