patch-2.3.99-pre6 linux/net/ipv6/tcp_ipv6.c

Next file: linux/net/ipv6/udp.c
Previous file: linux/net/ipv6/raw.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/net/ipv6/tcp_ipv6.c linux/net/ipv6/tcp_ipv6.c
@@ -5,7 +5,7 @@
  *	Authors:
  *	Pedro Roque		<roque@di.fc.ul.pt>	
  *
- *	$Id: tcp_ipv6.c,v 1.122 2000/03/25 01:52:11 davem Exp $
+ *	$Id: tcp_ipv6.c,v 1.123 2000/04/25 04:13:34 davem Exp $
  *
  *	Based on: 
  *	linux/net/ipv4/tcp.c
@@ -2080,24 +2080,23 @@
 }
 
 struct proto tcpv6_prot = {
-	tcp_close,			/* close */
-	tcp_v6_connect,			/* connect */
-	tcp_disconnect,			/* disconnect */
-	tcp_accept,			/* accept */
-	tcp_ioctl,			/* ioctl */
-	tcp_v6_init_sock,		/* init */
-	tcp_v6_destroy_sock,		/* destroy */
-	tcp_shutdown,			/* shutdown */
-	tcp_setsockopt,			/* setsockopt */
-	tcp_getsockopt,			/* getsockopt */
-	tcp_sendmsg,			/* sendmsg */
-	tcp_recvmsg,			/* recvmsg */
-	NULL,				/* bind */
-	tcp_v6_do_rcv,			/* backlog_rcv */
-	tcp_v6_hash,			/* hash */
-	tcp_unhash,			/* unhash */
-	tcp_v6_get_port,		/* get_port */
-	"TCPv6",			/* name */
+	name:		"TCPv6",
+	close:		tcp_close,
+	connect:	tcp_v6_connect,
+	disconnect:	tcp_disconnect,
+	accept:		tcp_accept,
+	ioctl:		tcp_ioctl,
+	init:		tcp_v6_init_sock,
+	destroy:	tcp_v6_destroy_sock,
+	shutdown:	tcp_shutdown,
+	setsockopt:	tcp_setsockopt,
+	getsockopt:	tcp_getsockopt,
+	sendmsg:	tcp_sendmsg,
+	recvmsg:	tcp_recvmsg,
+	backlog_rcv:	tcp_v6_do_rcv,
+	hash:		tcp_v6_hash,
+	unhash:		tcp_unhash,
+	get_port:	tcp_v6_get_port,
 };
 
 static struct inet6_protocol tcpv6_protocol =

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)