Print this page
11378 ncec_last_time_defended needs to be clock_t
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Approved by:
*** 21,30 ****
--- 21,34 ----
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+ /*
+ * Copyright 2019 Joyent, Inc.
+ */
+
#ifndef _INET_IP_NDP_H
#define _INET_IP_NDP_H
#include <sys/mutex.h>
#include <sys/stream.h>
*** 81,91 ****
/* this field protects */
int ncec_unsolicit_count; /* Unsolicited Adv count */
timeout_id_t ncec_timeout_id;
uchar_t ncec_ipversion; /* IPv4(ARP)/IPv6(NDP) version */
uint_t ncec_defense_count; /* number of NDP conflicts */
! uint_t ncec_last_time_defended; /* last time defended (secs) */
uint64_t ncec_init_time; /* time when it was set to ND_INITIAL */
boolean_t ncec_trace_disable; /* True when alloc fails */
/*
* interval to keep track of DAD probes.
*/
--- 85,95 ----
/* this field protects */
int ncec_unsolicit_count; /* Unsolicited Adv count */
timeout_id_t ncec_timeout_id;
uchar_t ncec_ipversion; /* IPv4(ARP)/IPv6(NDP) version */
uint_t ncec_defense_count; /* number of NDP conflicts */
! clock_t ncec_last_time_defended; /* defended last (ticks) */
uint64_t ncec_init_time; /* time when it was set to ND_INITIAL */
boolean_t ncec_trace_disable; /* True when alloc fails */
/*
* interval to keep track of DAD probes.
*/