diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-05-03 08:56:20 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-05-03 08:56:20 +0000 |
commit | a6c25cdbc7b457ea7fdd75effeb107a4fbd1091a (patch) | |
tree | 06e3c98aa9cb7b55f335ec2b9c025aa34854be3e /sys/net/if_lagg.h | |
parent | 372e0ffbebe4ed301da3904e9a19b9eda8405ec2 (diff) | |
download | FreeBSD-src-a6c25cdbc7b457ea7fdd75effeb107a4fbd1091a.zip FreeBSD-src-a6c25cdbc7b457ea7fdd75effeb107a4fbd1091a.tar.gz |
- Add a disabled state for ports that can not be aggregated
- Refine check for lacp links, set to disabled if not suitable
Diffstat (limited to 'sys/net/if_lagg.h')
-rw-r--r-- | sys/net/if_lagg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_lagg.h b/sys/net/if_lagg.h index 716a2b7..d5a6406 100644 --- a/sys/net/if_lagg.h +++ b/sys/net/if_lagg.h @@ -36,9 +36,10 @@ #define LAGG_PORT_ACTIVE 0x00000004 /* port is active */ #define LAGG_PORT_COLLECTING 0x00000008 /* port is active */ #define LAGG_PORT_DISTRIBUTING 0x00000010 /* port is active */ +#define LAGG_PORT_DISABLED 0x00000020 /* port is disabled */ #define LAGG_PORT_GLOBAL 0x80000000 /* IOCTL: global flag */ #define LAGG_PORT_BITS "\20\01MASTER\02STACK\03ACTIVE\04COLLECTING" \ - "\05DISTRIBUTING" + "\05DISTRIBUTING\06DISABLED" /* Supported lagg PROTOs */ #define LAGG_PROTO_NONE 0 /* no lagg protocol defined */ |