mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Made net.inet.ip.intr_queue_maxlen writeable.
This commit is contained in:
parent
468bc8361c
commit
afed137543
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue