patch-2.1.28 linux/net/ipv4/packet.c
Next file: linux/net/ipv4/proc.c
Previous file: linux/net/ipv4/ip_sockglue.c
Back to the patch index
Back to the overall index
- Lines: 57
- Date:
Mon Mar 3 09:37:44 1997
- Orig file:
v2.1.27/linux/net/ipv4/packet.c
- Orig date:
Sat Jan 25 13:46:14 1997
diff -u --recursive --new-file v2.1.27/linux/net/ipv4/packet.c linux/net/ipv4/packet.c
@@ -491,27 +491,33 @@
struct proto packet_prot =
{
- packet_close,
- NULL,
- NULL, /* accept */
- NULL,
- NULL,
- NULL,
- datagram_poll,
- NULL, /* No ioctl */
- packet_init,
- NULL,
- NULL,
- NULL, /* No set/get socket options */
- NULL,
- packet_sendmsg, /* Sendmsg */
- packet_recvmsg, /* Recvmsg */
- packet_bind, /* Bind */
- NULL, /* Backlog_rcv */
- 128,
- 0,
- "PACKET",
- 0, 0
+ (struct sock *)&packet_prot, /* sklist_next */
+ (struct sock *)&packet_prot, /* sklist_prev */
+ packet_close, /* close */
+ NULL, /* connect */
+ NULL, /* accept */
+ NULL, /* retransmit */
+ NULL, /* write_wakeup */
+ NULL, /* read_wakeup */
+ datagram_poll, /* poll */
+ NULL, /* ioctl */
+ packet_init, /* init */
+ NULL, /* destroy */
+ NULL, /* shutdown */
+ NULL, /* setsockopt */
+ NULL, /* getsockopt */
+ packet_sendmsg, /* Sendmsg */
+ packet_recvmsg, /* Recvmsg */
+ packet_bind, /* bind */
+ NULL, /* backlog_rcv */
+ NULL, /* hash */
+ NULL, /* unhash */
+ NULL, /* rehash */
+ NULL, /* good_socknum */
+ NULL, /* verify_bind */
+ 128, /* max_header */
+ 0, /* retransmits */
+ "PACKET", /* name */
+ 0, /* inuse */
+ 0 /* highestinuse */
};
-
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov