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/sit.c
int rtnl_link_sit_set_link(struct rtnl_link* link, uint32_t index)
{
    IS_SIT_LINK_ASSERT(link, sit);

    sit->link = index;
    sit->sit_mask |= SIT_ATTR_LINK;

    return 0;
}
/**
 * Set SIT tunnel interface index
 * @arg link            Link object
 * @arg index           interface index
 *
 * @return 0 on success or a negative error code
 */
Set SIT tunnel interface index
@arg link            Link object
@arg index           interface index

@return 0 on success or a negative error code
Set SIT tunnel interface index @arg link Link object @arg index interface index @return 0 on success or a negative error code
int rtnl_link_sit_set_link(struct rtnl_link* link, uint32_t index)
{
    IS_SIT_LINK_ASSERT(link, sit);
    sit->link = index;
    sit->sit_mask |= SIT_ATTR_LINK;
    return 0;
}
int rtnl_link_sit_set_link ( struct rtnl_link * link , uint32_t index ) { IS_SIT_LINK_ASSERT ( link , sit ) ; sit -> link = index ; sit -> sit_mask |= SIT_ATTR_LINK ; return 0 ; }
Set SIT tunnel interface index
 @arg link            Link object
 @arg index           interface index
Set SIT tunnel interface index @arg link Link object @arg index interface index