]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[DCCP]: Introduce DCCP_SOCKOPT_SERVICE
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Fri, 16 Sep 2005 23:58:40 +0000 (16:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2005 23:58:40 +0000 (16:58 -0700)
commit67e6b629212fa9ffb7420e8a88a41806af637e28
tree64f07616a23b657f3eb06e1daedf2450f6fbfc60
parent0c10c5d96865ce611d6a780888eff0ef4fab358b
[DCCP]: Introduce DCCP_SOCKOPT_SERVICE

As discussed in the dccp@vger mailing list:

Now applications have to use setsockopt(DCCP_SOCKOPT_SERVICE, service[s]),
prior to calling listen() and connect().

An array of unsigned ints can be passed meaning that the listening sock accepts
connection requests for several services.

With this we can ditch struct sockaddr_dccp and use only sockaddr_in (and
sockaddr_in6 in the future).

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dccp.h
net/dccp/dccp.h
net/dccp/ipv4.c
net/dccp/minisocks.c
net/dccp/output.c
net/dccp/proto.c