diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2018-02-06 08:34:50 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2018-02-06 08:34:50 +0000 |
| commit | 15bd1a867e9377875ad995961a44fcfc3cb8cc0d (patch) | |
| tree | bc6a64cb86e7619d6fb57ed5ffdd7c02e90e0b32 /sys/dev/etherswitch | |
| parent | 4b07a5606c46533ecc9c373d9f4dc534d09a6520 (diff) | |
Notes
Diffstat (limited to 'sys/dev/etherswitch')
| -rw-r--r-- | sys/dev/etherswitch/etherswitch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/etherswitch.h b/sys/dev/etherswitch/etherswitch.h index e6feead456c7..27d07f39e231 100644 --- a/sys/dev/etherswitch/etherswitch.h +++ b/sys/dev/etherswitch/etherswitch.h @@ -48,10 +48,12 @@ typedef struct etherswitch_info etherswitch_info_t; #define ETHERSWITCH_CONF_FLAGS (1 << 0) #define ETHERSWITCH_CONF_MIRROR (1 << 1) #define ETHERSWITCH_CONF_VLAN_MODE (1 << 2) +#define ETHERSWITCH_CONF_SWITCH_MACADDR (1 << 3) struct etherswitch_conf { uint32_t cmd; /* What to configure */ uint32_t vlan_mode; /* Switch VLAN mode */ + struct ether_addr switch_macaddr; /* Switch MAC address */ }; typedef struct etherswitch_conf etherswitch_conf_t; |
