Lines Matching refs:mvi_mask
47 uint32_t mvi_mask; member
107 mvi->mvi_mask |= MACVLAN_HAS_MODE; in macvlan_parse()
112 mvi->mvi_mask |= MACVLAN_HAS_FLAGS; in macvlan_parse()
138 mvi->mvi_mask |= MACVLAN_HAS_MACADDR; in macvlan_parse()
167 if (mvi->mvi_mask & MACVLAN_HAS_MODE) { in macvlan_dump_details()
172 if (mvi->mvi_mask & MACVLAN_HAS_FLAGS) { in macvlan_dump_details()
177 if (mvi->mvi_mask & MACVLAN_HAS_MACADDR) { in macvlan_dump_details()
207 if ( vsrc->mvi_mask & MACVLAN_HAS_MACADDR in macvlan_clone()
230 if (mvi->mvi_mask & MACVLAN_HAS_MODE) in macvlan_put_attrs()
233 if (mvi->mvi_mask & MACVLAN_HAS_FLAGS) in macvlan_put_attrs()
236 if (mvi->mvi_mask & MACVLAN_HAS_MACADDR) { in macvlan_put_attrs()
349 mvi->mvi_mask |= MACVLAN_HAS_MODE; in rtnl_link_macvlan_set_mode()
358 mvi->mvi_mask &= ~MACVLAN_HAS_MACADDR; in rtnl_link_macvlan_set_mode()
376 if (mvi->mvi_mask & MACVLAN_HAS_MODE) in rtnl_link_macvlan_get_mode()
397 if (!(mvi->mvi_mask & MACVLAN_HAS_MODE) || in rtnl_link_macvlan_set_macmode()
402 mvi->mvi_mask |= MACVLAN_HAS_MACADDR; in rtnl_link_macvlan_set_macmode()
422 if (!(mvi->mvi_mask & MACVLAN_HAS_MODE) || in rtnl_link_macvlan_get_macmode()
426 if (!(mvi->mvi_mask & MACVLAN_HAS_MACADDR)) in rtnl_link_macvlan_get_macmode()
448 mvi->mvi_mask |= MACVLAN_HAS_FLAGS; in rtnl_link_macvlan_set_flags()
470 mvi->mvi_mask |= MACVLAN_HAS_FLAGS; in rtnl_link_macvlan_unset_flags()
503 if (!(mvi->mvi_mask & MACVLAN_HAS_MODE) || in rtnl_link_macvlan_count_macaddr()
507 if (!(mvi->mvi_mask & MACVLAN_HAS_MACADDR)) in rtnl_link_macvlan_count_macaddr()
533 if (!(mvi->mvi_mask & MACVLAN_HAS_MODE) || in rtnl_link_macvlan_get_macaddr()
537 if (!(mvi->mvi_mask & MACVLAN_HAS_MACADDR)) in rtnl_link_macvlan_get_macaddr()
567 if (!(mvi->mvi_mask & MACVLAN_HAS_MODE) || in rtnl_link_macvlan_add_macaddr()
571 if (!(mvi->mvi_mask & MACVLAN_HAS_MACADDR)) in rtnl_link_macvlan_add_macaddr()
586 mvi->mvi_mask |= MACVLAN_HAS_MACADDR; in rtnl_link_macvlan_add_macaddr()
611 if (!(mvi->mvi_mask & MACVLAN_HAS_MODE) || in rtnl_link_macvlan_del_macaddr()
615 if (!(mvi->mvi_mask & MACVLAN_HAS_MACADDR)) in rtnl_link_macvlan_del_macaddr()
694 mvi->mvi_mask |= MACVLAN_HAS_MODE; in rtnl_link_macvtap_set_mode()
711 if (mvi->mvi_mask & MACVLAN_HAS_MODE) in rtnl_link_macvtap_get_mode()
731 mvi->mvi_mask |= MACVLAN_HAS_FLAGS; in rtnl_link_macvtap_set_flags()
753 mvi->mvi_mask |= MACVLAN_HAS_FLAGS; in rtnl_link_macvtap_unset_flags()