[DCCP]: Allow default/fallback service code.
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Fri, 22 Sep 2006 08:33:58 +0000 (09:33 +0100)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Sun, 24 Sep 2006 20:49:26 +0000 (17:49 -0300)
commit00e4d116a7ef94eb910be037912b0b2fc09f608b
tree81e8a52c7529691b3c07605613da65cae80f41c9
parent1ab9dd0902df4f4ff56fbf672220549090ab28ba
[DCCP]: Allow default/fallback service code.

This has been discussed on dccp@vger and removes the necessity for applications
to supply service codes in each and every case.

If an application does not want to provide a service code, that's fine, it will
be given 0. Otherwise, service codes can be set via socket options as before.

This patch has been tested using various client/server configurations
(including listening on multiple service codes).

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Documentation/networking/dccp.txt
include/linux/dccp.h
net/dccp/ipv4.c
net/dccp/proto.c