]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dccp: Increase the scope of variable-length htonl/ntohl functions
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 4 Sep 2008 05:30:19 +0000 (07:30 +0200)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 4 Sep 2008 05:45:28 +0000 (07:45 +0200)
commitb9aaac1c538a9c86e8ef3be2579a13ff55580908
tree3647b3d93e22ad4fb4e31460bf81f4040a697d70
parentc8041e264b3db6944d37b87969fbe6458cb30cfd
dccp: Increase the scope of variable-length htonl/ntohl functions

This extends the scope of two available functions, encode|decode_value_var,
to work up to 6 (8) bytes, to match maximum requirements in the RFC.

These functions are going to be used both by general option processing and
feature negotiation code, hence declarations have been put into feat.h.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
net/dccp/feat.h
net/dccp/options.c