openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/systemd/1_242+AUTOINC+db2e367bfc-r0/git/src/network/networkd-util.c
int kernel_route_expiration_supported(void)
{
    static int cached = -1;
    int r;

    if (cached < 0)
    {
        Condition c = {.type = CONDITION_KERNEL_VERSION,
                       .parameter = (char*)">= 4.5"};
        r = condition_test(&c);
        if (r < 0)
            return r;

        cached = r;
    }
    return cached;
}
/* Router lifetime can be set with netlink interface since kernel >= 4.5
 * so for the supported kernel we dont need to expire routes in userspace */
Router lifetime can be set with netlink interface since kernel >= 4.5
so for the supported kernel we dont need to expire routes in userspace
Router lifetime can be set with netlink interface since kernel > = 4 . 5 so for the supported kernel we dont need to expire routes in userspace
int kernel_route_expiration_supported(void)
{
    static int cached = -1;
    int r;
    if (cached < 0)
    {
        Condition c = {.type = CONDITION_KERNEL_VERSION,
                       .parameter = (char*)">= 4.5"};
        r = condition_test(&c);
        if (r < 0)
            return r;
        cached = r;
    }
    return cached;
}
int kernel_route_expiration_supported ( void ) { static int cached = -1 ; int r ; if ( cached < 0 ) { Condition c = { . type = CONDITION_KERNEL_VERSION , . parameter = ( char * ) " " } ; r = condition_test ( & c ) ; if ( r < 0 ) return r ; cached = r ; } return cached ; }
Router lifetime can be set with netlink interface since kernel >= 4.5
 so for the supported kernel we dont need to expire routes in userspace
Router lifetime can be set with netlink interface since kernel > = 4 . 5 so for the supported kernel we dont need to expire routes in userspace