bond: move bond master interfaces to NMDeviceBond

This way clients know it's a bond master, and it allows us to more
cleanly separate the code for bonding and non-bonding cases.
This commit is contained in:
Dan Williams
2012-02-15 17:31:37 -06:00
parent fdd44b8e00
commit 0c61a51614
12 changed files with 544 additions and 45 deletions

View File

@@ -103,6 +103,7 @@ typedef enum {
* @NM_DEVICE_TYPE_MODEM: a modem supporting analog telephone, CDMA/EVDO,
* GSM/UMTS, or LTE network access protocols
* @NM_DEVICE_TYPE_INFINIBAND: an IP-over-Infiniband device
* @NM_DEVICE_TYPE_BOND: a bond master interface
*
* #NMDeviceType values indicate the type of hardware represented by
* an #NMDevice.
@@ -118,6 +119,7 @@ typedef enum {
NM_DEVICE_TYPE_WIMAX = 7,
NM_DEVICE_TYPE_MODEM = 8,
NM_DEVICE_TYPE_INFINIBAND = 9,
NM_DEVICE_TYPE_BOND = 10,
} NMDeviceType;
/**