patch-2.3.99-pre6 linux/net/ipv4/udp.c
Next file: linux/net/ipv6/af_inet6.c
Previous file: linux/net/ipv4/tcp_timer.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Wed Apr 26 12:13:17 2000
- Orig file:
v2.3.99-pre5/linux/net/ipv4/udp.c
- Orig date:
Thu Mar 2 14:36:23 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/net/ipv4/udp.c linux/net/ipv4/udp.c
@@ -5,7 +5,7 @@
*
* The User Datagram Protocol (UDP).
*
- * Version: $Id: udp.c,v 1.80 2000/02/27 19:51:43 davem Exp $
+ * Version: $Id: udp.c,v 1.81 2000/04/25 04:13:34 davem Exp $
*
* Authors: Ross Biro, <bir7@leland.Stanford.Edu>
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -1041,22 +1041,17 @@
}
struct proto udp_prot = {
- udp_close, /* close */
- udp_connect, /* connect */
- udp_disconnect, /* disconnect */
- NULL, /* accept */
- udp_ioctl, /* ioctl */
- NULL, /* init */
- NULL, /* destroy */
- NULL, /* shutdown */
- ip_setsockopt, /* setsockopt */
- ip_getsockopt, /* getsockopt */
- udp_sendmsg, /* sendmsg */
- udp_recvmsg, /* recvmsg */
- NULL, /* bind */
- udp_queue_rcv_skb, /* backlog_rcv */
- udp_v4_hash, /* hash */
- udp_v4_unhash, /* unhash */
- udp_v4_get_port, /* good_socknum */
- "UDP", /* name */
+ name: "UDP",
+ close: udp_close,
+ connect: udp_connect,
+ disconnect: udp_disconnect,
+ ioctl: udp_ioctl,
+ setsockopt: ip_setsockopt,
+ getsockopt: ip_getsockopt,
+ sendmsg: udp_sendmsg,
+ recvmsg: udp_recvmsg,
+ backlog_rcv: udp_queue_rcv_skb,
+ hash: udp_v4_hash,
+ unhash: udp_v4_unhash,
+ get_port: udp_v4_get_port,
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)