_mdns_append_u16() function
appends uint16_t in a packet, incrementing the index
Syntax
static inline uint8_t _mdns_append_u16(uint8_t *packet,
uint16_t *index,
uint16_t value);
Arguments
index
offset in the packet
Return value
length of added data: 0 on error or 2 on success
_mdns_append_u16() is called by 5 functions and calls 1 function:
![]()
_mdns_append_u16()
_mdns_append_u16():
![]()
_mdns_append_u16()