inline void setSource(const Address &address) const { memcpy(header + GEOMESH_HEADER_SOURCE_ADDRESS, address.getBytes(), ADDRESS_LENGTH_OCTETS); }
inline void setDestination(const Address &address) const { memcpy(header + GEOMESH_HEADER_DESTINATION_ADDRESS, address.getBytes(), ADDRESS_LENGTH_OCTETS); }
/** * @return Whether the specified address is equal to the address in the IPv6 destination header field. */ inline bool isDestination(const Address &address) const { return memcmp(header + GEOMESH_HEADER_DESTINATION_ADDRESS, address.getBytes(), ADDRESS_LENGTH_OCTETS) == 0; }