MINOR: net_helper: add write functions
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Sep 2017 15:27:05 +0000 (17:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Sep 2017 04:25:10 +0000 (06:25 +0200)
commit2888c08346448db9eb521d9b65a406016049842f
treeca3b52b0ff41c6be3c96c4a3bab1e529cc632272
parentd5370e1d6c2007f07d1bf743aa6b8034a8196fda
MINOR: net_helper: add write functions

These ones are the equivalent of the read_* functions. They support
writing unaligned words, possibly wrapping, in host and network order.
The write_i*() functions were not implemented since the caller can
already use the unsigned version.
include/common/net_helper.h