From: Arnaldo Carvalho de Melo Date: Fri, 16 Sep 2005 23:58:40 +0000 (-0700) Subject: [DCCP]: Introduce DCCP_SOCKOPT_SERVICE X-Git-Tag: v2.6.14-rc2~5^2~8^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67e6b629212fa9ffb7420e8a88a41806af637e28;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed