diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-16 00:27:47 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 06:23:49 +0100 |
commit | 3c6952624a8f600f9a0fbc1f5db5560a7ef9b13e (patch) | |
tree | 294924e950000cd786b0cdaf026ed58b2f81102d /net/dccp/Kconfig | |
parent | [UDPLite]: udplite.h needs ip6_checksum.h (diff) | |
download | linux-3c6952624a8f600f9a0fbc1f5db5560a7ef9b13e.tar.xz linux-3c6952624a8f600f9a0fbc1f5db5560a7ef9b13e.zip |
[DCCP]: Introduce DCCP_{BUG{_ON},CRIT} macros, use enum:8 for the ccid3 states
This patch tackles the following problem:
* the ccid3_hc_{t,r}x_sock define ccid3hc{t,r}x_state as `u8', but
in reality there can only be a few, pre-defined enum names
* this necessitates addiditional checking for unexpected values
which would otherwise be caught by the compiler
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/Kconfig')
0 files changed, 0 insertions, 0 deletions