Made net.inet.ip.intr_queue_maxlen writeable.
This commit is contained in:
parent
186f3d3af3
commit
597c79d8a3
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ip_input.c 8.2 (Berkeley) 1/4/94
|
||||
* $Id: ip_input.c,v 1.118 1999/05/03 23:57:29 billf Exp $
|
||||
* $Id: ip_input.c,v 1.119 1999/05/04 16:20:32 luigi Exp $
|
||||
*/
|
||||
|
||||
#define _IP_VHL
|
||||
@ -113,7 +113,7 @@ u_char ip_protox[IPPROTO_MAX];
|
||||
static int ipqmaxlen = IFQ_MAXLEN;
|
||||
struct in_ifaddrhead in_ifaddrhead; /* first inet address */
|
||||
struct ifqueue ipintrq;
|
||||
SYSCTL_INT(_net_inet_ip, IPCTL_INTRQMAXLEN, intr_queue_maxlen, CTLFLAG_RD,
|
||||
SYSCTL_INT(_net_inet_ip, IPCTL_INTRQMAXLEN, intr_queue_maxlen, CTLFLAG_RW,
|
||||
&ipintrq.ifq_maxlen, 0, "Maximum size of the IP input queue");
|
||||
SYSCTL_INT(_net_inet_ip, IPCTL_INTRQDROPS, intr_queue_drops, CTLFLAG_RD,
|
||||
&ipintrq.ifq_drops, 0, "Number of packets dropped from the IP input queue");
|
||||
|
Loading…
Reference in New Issue
Block a user