/* Parts of the secnet key-exchange protocol require access to
unaligned big-endian quantities in buffers. These macros provide
convenient access, even on architectures that don't support unaligned
/* Parts of the secnet key-exchange protocol require access to
unaligned big-endian quantities in buffers. These macros provide
convenient access, even on architectures that don't support unaligned
#define buf_append_uint32(buf,v) do { uint8_t *c=buf_append((buf),4); \
put_uint32(c,(v)); } while(0)
#define buf_append_uint32(buf,v) do { uint8_t *c=buf_append((buf),4); \
put_uint32(c,(v)); } while(0)