enum bridge_opt flags;
bool stp;
bool igmp_snoop;
+ bool multicast_querier;
unsigned short priority;
int forward_delay;
bool bridge_empty;
int ageing_time;
int hello_time;
int max_age;
+ int hash_max;
};
enum macvlan_opt {
static inline int system_get_addr_len(unsigned int flags)
{
- if ((flags & DEVADDR_FAMILY) == DEVADDR_INET6)
+ if ((flags & DEVADDR_FAMILY) != DEVADDR_INET6)
return sizeof(struct in_addr);
else
return sizeof(struct in6_addr);
int system_vlandev_add(struct device *vlandev, struct device *dev, struct vlandev_config *cfg);
int system_vlandev_del(struct device *vlandev);
+void system_if_get_settings(struct device *dev, struct device_settings *s);
void system_if_clear_state(struct device *dev);
int system_if_up(struct device *dev);
int system_if_down(struct device *dev);