summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_cisco.h
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2012-02-12 05:14:12 +0000
committerfjoe <fjoe@FreeBSD.org>2012-02-12 05:14:12 +0000
commit8f904a323b99f801ee66a43b54c9f353cfeac35a (patch)
tree6330b2425bbbce98ea550b157878161ae4c6997e /sys/netgraph/ng_cisco.h
parent351878d3ba1b08bd0dd644e665514814e5f7d2d9 (diff)
downloadFreeBSD-src-8f904a323b99f801ee66a43b54c9f353cfeac35a.zip
FreeBSD-src-8f904a323b99f801ee66a43b54c9f353cfeac35a.tar.gz
- Use fixed-width integer types.
- Prefer to use C99 stdint types. This fixes ng_cisco on 64-bit architectures. MFC after: 1 week
Diffstat (limited to 'sys/netgraph/ng_cisco.h')
-rw-r--r--sys/netgraph/ng_cisco.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_cisco.h b/sys/netgraph/ng_cisco.h
index e6ed9a2..ebded7a 100644
--- a/sys/netgraph/ng_cisco.h
+++ b/sys/netgraph/ng_cisco.h
@@ -76,8 +76,8 @@ struct ng_cisco_ipaddr {
}
struct ng_cisco_stats {
- u_int32_t seqRetries; /* # unack'd retries */
- u_int32_t keepAlivePeriod; /* in seconds */
+ uint32_t seqRetries; /* # unack'd retries */
+ uint32_t keepAlivePeriod; /* in seconds */
};
/* Keep this in sync with the above structure definition */
OpenPOWER on IntegriCloud