openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/libnl-3.4.0/lib/route/link/vlan.c
int rtnl_link_vlan_unset_flags(struct rtnl_link* link, unsigned int flags)
{
    struct vlan_info* vi = link->l_info;

    IS_VLAN_LINK_ASSERT(link);

    vi->vi_flags_mask |= flags;
    vi->vi_flags &= ~flags;
    vi->vi_mask |= VLAN_HAS_FLAGS;

    return 0;
}
/**
 * Unset VLAN flags
 * @arg link		Link object
 * @arg flags		VLAN flags
 *
 * @return 0 on success or a negative error code.
 */
Unset VLAN flags
@arg link            Link object
@arg flags           VLAN flags

@return 0 on success or a negative error code.
Unset VLAN flags @arg link Link object @arg flags VLAN flags @return 0 on success or a negative error code .
int rtnl_link_vlan_unset_flags(struct rtnl_link* link, unsigned int flags)
{
    struct vlan_info* vi = link->l_info;
    IS_VLAN_LINK_ASSERT(link);
    vi->vi_flags_mask |= flags;
    vi->vi_flags &= ~flags;
    vi->vi_mask |= VLAN_HAS_FLAGS;
    return 0;
}
int rtnl_link_vlan_unset_flags ( struct rtnl_link * link , unsigned int flags ) { struct vlan_info * vi = link -> l_info ; IS_VLAN_LINK_ASSERT ( link ) ; vi -> vi_flags_mask |= flags ; vi -> vi_flags &= ~ flags ; vi -> vi_mask |= VLAN_HAS_FLAGS ; return 0 ; }
Unset VLAN flags
 @arg link            Link object
 @arg flags           VLAN flags
Unset VLAN flags @arg link Link object @arg flags VLAN flags