/* RFC 7668, section 3 (IPv6 over Bluetooth Low Energy) Functionality is comprised of link-local IPv6 addresses and stateless IPv6 address autoconfiguration, Neighbor Discovery, and header compression Fragmentation features from 6LoWPAN standards are not used due to Bluetooth LE's link-layer fragmentation support.  */
static void set_datagram_size(uint8_t *ptr, uint16_t size)
/* RFC 7668, section 3 (IPv6 over Bluetooth Low Energy) Functionality is comprised of link-local IPv6 addresses and stateless IPv6 address autoconfiguration, Neighbor Discovery, and header compression Fragmentation features from 6LoWPAN standards are not used due to Bluetooth LE's link-layer fragmentation support.  */
static void set_datagram_size(uint8_t *ptr, uint16_t size)
{
	ptr[0] |= ((size & 0x7FF) >> 8);
	ptr[1] = (uint8_t)size;
}