summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-07-05 01:23:23 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-07-05 01:23:23 +0000
commit148191069e8fed8116cc6c3c0e7ccfdf4b24e0a1 (patch)
tree5d2c70c44dfbdd53dabc43d724f6175f59f6ee10 /sys/netinet/if_ether.h
parent883e89f78ec906a02672a3f0cc53756c44d6f77a (diff)
add ac_trunkport to arpcom so trunks can coordinate owning an interface
Ethernet interfaces can be used by trunk(4), and i'm about to commit a new aggr(4) driver which should not be able to use an interface while trunk owns it and visa versa.
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 441d2696176..b8e84e4731d 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.74 2018/12/11 01:27:08 dlg Exp $ */
+/* $OpenBSD: if_ether.h,v 1.75 2019/07/05 01:23:22 dlg Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -205,6 +205,7 @@ struct arpcom {
int ac_multicnt; /* length of ac_multiaddrs */
int ac_multirangecnt; /* number of mcast ranges */
+ void *ac_trunkport;
};
extern int arpt_keep; /* arp resolved cache expire */