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/inet6.c
int rtnl_link_inet6_set_flags(struct rtnl_link* link, uint32_t flags)
{
    struct inet6_data* id;

    if (!(id = rtnl_link_af_alloc(link, &inet6_ops)))
        return -NLE_NOMEM;

    id->i6_flags = flags;
    return 0;
}
/**
 * Set IPv6 specific flags
 * @arg link		Link object
 * @arg flags		Flags to set
 *
 * Sets the link's IPv6 specific flags. Overwrites currently set flags.
 *
 * @return 0 on success
 * @return -NLE_NOMEM could not allocate inet6 data
 */
Set IPv6 specific flags
@arg link            Link object
@arg flags           Flags to set

Sets the link's IPv6 specific flags. Overwrites currently set flags.

@return 0 on success
@return -NLE_NOMEM could not allocate inet6 data
Set IPv6 specific flags @arg link Link object @arg flags Flags to set Sets the link ' s IPv6 specific flags . Overwrites currently set flags . @return 0 on success @return - NLE_NOMEM could not allocate inet6 data
int rtnl_link_inet6_set_flags(struct rtnl_link* link, uint32_t flags)
{
    struct inet6_data* id;
    if (!(id = rtnl_link_af_alloc(link, &inet6_ops)))
        return -NLE_NOMEM;
    id->i6_flags = flags;
    return 0;
}
int rtnl_link_inet6_set_flags ( struct rtnl_link * link , uint32_t flags ) { struct inet6_data * id ; if ( ! ( id = rtnl_link_af_alloc ( link , & inet6_ops ) ) ) return - NLE_NOMEM ; id -> i6_flags = flags ; return 0 ; }
Set IPv6 specific flags
 @arg link            Link object
 @arg flags           Flags to set
Set IPv6 specific flags @arg link Link object @arg flags Flags to set