[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)
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>

No differences found