Dealing with arplog is a bit more complicated...
This commit is contained in:
parent
d53ba42d44
commit
397177a1eb
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_arp.c,v 1.226 2016/09/16 13:47:47 roy Exp $ */
|
||||
/* $NetBSD: if_arp.c,v 1.227 2016/09/18 02:17:43 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
|
||||
|
@ -68,7 +68,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.226 2016/09/16 13:47:47 roy Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.227 2016/09/18 02:17:43 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_ddb.h"
|
||||
|
@ -77,6 +77,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.226 2016/09/16 13:47:47 roy Exp $");
|
|||
|
||||
#ifdef INET
|
||||
|
||||
#include "arp.h"
|
||||
#include "bridge.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: in_var.h,v 1.84 2016/09/17 02:37:59 christos Exp $ */
|
||||
/* $NetBSD: in_var.h,v 1.85 2016/09/18 02:17:43 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -378,7 +378,7 @@ struct in_multi {
|
|||
extern pktqueue_t *ip_pktq;
|
||||
|
||||
extern int ip_dad_count; /* Duplicate Address Detection probes */
|
||||
#ifdef INET
|
||||
#if defined(INET) && NARP > 0
|
||||
extern int arp_debug;
|
||||
#define arplog(level, fmt, args...) \
|
||||
do { if (arp_debug) log(level, "%s: " fmt, __func__, ##args);} while (0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ip_output.c,v 1.261 2016/09/15 18:25:45 roy Exp $ */
|
||||
/* $NetBSD: ip_output.c,v 1.262 2016/09/18 02:17:43 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
|
@ -91,7 +91,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.261 2016/09/15 18:25:45 roy Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.262 2016/09/18 02:17:43 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_inet.h"
|
||||
|
@ -101,6 +101,8 @@ __KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.261 2016/09/15 18:25:45 roy Exp $");
|
|||
#include "opt_mpls.h"
|
||||
#endif
|
||||
|
||||
#include "arp.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kmem.h>
|
||||
#include <sys/mbuf.h>
|
||||
|
|
Loading…
Reference in New Issue