if_ether.c (662c13053f4bf2d6245ba7e2b66c10d1cd5c1fb9) | if_ether.c (0da3f8c98d17d9c6e67d0f6cf45085df6a5ef041) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1982, 1986, 1988, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 100 unchanged lines hidden (view full) --- 109VNET_DEFINE_STATIC(int, arpt_rexmit) = 1; /* retransmit arp entries, sec*/ 110VNET_PCPUSTAT_DEFINE(struct arpstat, arpstat); /* ARP statistics, see if_arp.h */ 111VNET_PCPUSTAT_SYSINIT(arpstat); 112 113#ifdef VIMAGE 114VNET_PCPUSTAT_SYSUNINIT(arpstat); 115#endif /* VIMAGE */ 116 | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1982, 1986, 1988, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 100 unchanged lines hidden (view full) --- 109VNET_DEFINE_STATIC(int, arpt_rexmit) = 1; /* retransmit arp entries, sec*/ 110VNET_PCPUSTAT_DEFINE(struct arpstat, arpstat); /* ARP statistics, see if_arp.h */ 111VNET_PCPUSTAT_SYSINIT(arpstat); 112 113#ifdef VIMAGE 114VNET_PCPUSTAT_SYSUNINIT(arpstat); 115#endif /* VIMAGE */ 116 |
117VNET_DEFINE_STATIC(int, arp_maxhold) = 1; | 117VNET_DEFINE_STATIC(int, arp_maxhold) = 16; |
118 119#define V_arpt_keep VNET(arpt_keep) 120#define V_arpt_down VNET(arpt_down) 121#define V_arpt_rexmit VNET(arpt_rexmit) 122#define V_arp_maxtries VNET(arp_maxtries) 123#define V_arp_proxyall VNET(arp_proxyall) 124#define V_arp_maxhold VNET(arp_maxhold) 125 --- 1394 unchanged lines hidden --- | 118 119#define V_arpt_keep VNET(arpt_keep) 120#define V_arpt_down VNET(arpt_down) 121#define V_arpt_rexmit VNET(arpt_rexmit) 122#define V_arp_maxtries VNET(arp_maxtries) 123#define V_arp_proxyall VNET(arp_proxyall) 124#define V_arp_maxhold VNET(arp_maxhold) 125 --- 1394 unchanged lines hidden --- |