diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/in.h | 9 | ||||
-rw-r--r-- | sys/netinet/ip_input.c | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 0a33dadb82a..18835e77c81 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in.h,v 1.77 2008/05/09 02:56:36 markus Exp $ */ +/* $OpenBSD: in.h,v 1.78 2008/12/24 07:41:59 dlg Exp $ */ /* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */ /* @@ -614,7 +614,8 @@ struct ip_mreq { #define IPCTL_STATS 33 /* IP statistics */ #define IPCTL_MRTPROTO 34 /* type of multicast */ #define IPCTL_MRTSTATS 35 -#define IPCTL_MAXID 36 +#define IPCTL_ARPQUEUED 36 +#define IPCTL_MAXID 37 #define IPCTL_NAMES { \ { 0, 0 }, \ @@ -653,6 +654,7 @@ struct ip_mreq { { "stats", CTLTYPE_STRUCT }, \ { "mrtproto", CTLTYPE_INT }, \ { "mrtstats", CTLTYPE_STRUCT }, \ + { "arpqueued", CTLTYPE_INT }, \ } #define IPCTL_VARS { \ NULL, \ @@ -690,7 +692,8 @@ struct ip_mreq { &ipmultipath, \ NULL, \ NULL, \ - NULL \ + NULL, \ + &la_hold_total \ } /* INET6 stuff */ diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 9033860ebbd..1e2d4792ef9 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.160 2008/06/08 13:58:09 thib Exp $ */ +/* $OpenBSD: ip_input.c,v 1.161 2008/12/24 07:41:59 dlg Exp $ */ /* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */ /* @@ -127,6 +127,7 @@ extern int ipport_lastauto; extern int ipport_hifirstauto; extern int ipport_hilastauto; extern struct baddynamicports baddynamicports; +extern int la_hold_total; int *ipctl_vars[IPCTL_MAXID] = IPCTL_VARS; |