]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dccp: Increase the scope of variable-length htonl/ntohl functions
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 24 Nov 2008 00:07:53 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 00:07:53 +0000 (16:07 -0800)
commit02fa460ef553faabc7e0b15ff9f607f028739808
tree04342d781df0b0a1953cfcc6c52cbca7e172896a
parent71c262a3dd42dea73700646d969b0af7a4102edf
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/feat.h
net/dccp/options.c