Its size can change while no netlink messages will be sent to update it.
continue;
}
- /* Check queue len. If no queue, this usually means that this
- is not a "real" interface. */
- if (iface->txqueue == 0) {
- log_debug("interfaces", "skip %s: no queue",
- iface->name);
- continue;
- }
-
/* Get the real MAC address (for example, if the interface is enslaved) */
iflinux_get_permanent_mac(cfg, interfaces, iface);
#ifdef HOST_OS_LINUX
int lower_idx; /* Index to lower interface */
int upper_idx; /* Index to upper interface */
- int txqueue; /* Transmit queue length */
#endif
};
struct interfaces_address {
/* Index of master interface */
iff->upper_idx = *(int*)RTA_DATA(attribute);
break;
- case IFLA_TXQLEN:
- /* Transmit queue length */
- iff->txqueue = *(int*)RTA_DATA(attribute);
- break;
case IFLA_MTU:
/* Maximum Transmission Unit */
iff->mtu = *(int*)RTA_DATA(attribute);