| From: |
| Arnaldo Carvalho de Melo <acme@conectiva.com.br> |
| To: |
| YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> |
| Subject: |
| Initial IPv6 support for DCCP |
| Date: |
| Sun, 25 Sep 2005 23:15:58 -0300 |
| Cc: |
| dccp@vger.kernel.org, dccp@ietf.org, netdev@vger.kernel.org |
Hi Yoshifuji-san!
Client (PARISC64):
acme@parisc:~$ ttcp -6 -cacme -l256 -n100000 -t 2002:c90f:db83:1010:a00:46ff:feac:fe55
ttcp-t: buflen=256, nbuf=100000, align=16384/+0, port=5001 dccp(inet6) ->
2002:c90f:db83:1010:a00:46ff:feac:fe55
ttcp-t: socket
ttcp-t: connect
ttcp-t: 25600000 bytes in 2.80 real seconds = 8942.19 KB/sec +++
ttcp-t: 100000 I/O calls, msec/call = 0.03, calls/sec = 35768.74
ttcp-t: 0.0user 1.4sys 0:02real 53% 0i+0d 0maxrss 0+1pf 3142+2csw
acme@parisc:~$
Server (IA32):
[acme@toy ~]$ ttcp -6 -cacme,some,more,serv,ices -l256
ttcp-r: buflen=256, nbuf=2048, align=16384/+0, port=5001 dccp(inet6)
ttcp-r: socket
ttcp-r: accept from 2002:c90f:db83:1010:204:76ff:fe3b:53c1
ttcp-r: 25600000 bytes in 2.82 real seconds = 8867.18 KB/sec +++
ttcp-r: 100001 I/O calls, msec/call = 0.03, calls/sec = 35469.07
ttcp-r: 0.0user 2.7sys 0:02real 99% 0i+0d 0maxrss 0+0pf 0+20csw
[acme@toy ~]$
ttcp using get{name,addr}info crudely hacked up to support SOCK_DCCP:
http://vger.kernel.org/~acme/dccp/ttcp.c
Basicaly I did some more generalisations in the TCPv4/v6 infrastructure to
use it in DCCPv6, there are still several things to polish and implement
but looks really nice so far, same flow as TCPv6, using
inet6_timewait_sock'ets, inet6_request_sock'ets, inet_diag/iproute2/ss
works just fine for IPv6 sockets, etc :-)
Available at:
http://www.kernel.org/git/?p=linux/kernel/git/acme/net-2....
Mirrors haven't yet picked up my latest changeset, but its just renaming
secure_tcpv6_port_ephemeral to secure_ipv6_port_ephemeral as it has nothing
TCPv6 specific and is used in DCCPv6.
- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html