summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/mac_impl.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2014-05-24 03:25:32 +0000
committerRobert Mustacchi <rm@joyent.com>2014-05-29 02:00:30 +0000
commite91da55ff5412995f14d956fc173096f48a0dbe7 (patch)
treec99a6090f55600f4d2fc49ace8cdcf35e3da7f45 /usr/src/uts/common/sys/mac_impl.h
parent88d1ad82179b795c150d676c55cbde142aa68441 (diff)
downloadillumos-joyent-release-20140529.tar.gz
OS-3053 VNICs should support a variable MTU20140529release-20140529
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Rob Gulewich <robert.gulewich@joyent.com>
Diffstat (limited to 'usr/src/uts/common/sys/mac_impl.h')
-rw-r--r--usr/src/uts/common/sys/mac_impl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/mac_impl.h b/usr/src/uts/common/sys/mac_impl.h
index 2eef66113d..d19c19e43d 100644
--- a/usr/src/uts/common/sys/mac_impl.h
+++ b/usr/src/uts/common/sys/mac_impl.h
@@ -20,7 +20,7 @@
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2012, Joyent, Inc. All rights reserved.
+ * Copyright (c) 2014, Joyent, Inc. All rights reserved.
*/
#ifndef _SYS_MAC_IMPL_H
@@ -69,6 +69,13 @@ struct mac_margin_req_s {
uint32_t mmr_margin;
};
+typedef struct mac_mtu_req_s mac_mtu_req_t;
+struct mac_mtu_req_s {
+ mac_mtu_req_t *mtr_nextp;
+ uint_t mtr_ref;
+ uint32_t mtr_mtu;
+};
+
/* Generic linked chain type */
typedef struct mac_chain_s {
struct mac_chain_s *next;
@@ -534,6 +541,7 @@ struct mac_impl_s {
* sorted: the first one has the greatest value.
*/
mac_margin_req_t *mi_mmrp;
+ mac_mtu_req_t *mi_mtrp;
char **mi_priv_prop;
uint_t mi_priv_prop_count;