Home
last modified time | relevance | path

Searched refs:nh_grp_type (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/net/ipv4/
Dnexthop.c1045 u16 nh_grp_type, struct netlink_ext_ack *extack) in nh_check_attr_group() argument
1110 if (nh_grp_type == NEXTHOP_GRP_TYPE_RES) in nh_check_attr_group()
2463 if (cfg->nh_grp_type == NEXTHOP_GRP_TYPE_MPATH) { in nexthop_create_group()
2466 } else if (cfg->nh_grp_type == NEXTHOP_GRP_TYPE_RES) { in nexthop_create_group()
2813 cfg->nh_grp_type = NEXTHOP_GRP_TYPE_MPATH; in rtm_to_nh_config()
2815 cfg->nh_grp_type = nla_get_u16(tb[NHA_GROUP_TYPE]); in rtm_to_nh_config()
2817 if (cfg->nh_grp_type > NEXTHOP_GRP_TYPE_MAX) { in rtm_to_nh_config()
2822 cfg->nh_grp_type, extack); in rtm_to_nh_config()
2826 if (cfg->nh_grp_type == NEXTHOP_GRP_TYPE_RES) in rtm_to_nh_config()
/linux-5.19.10/include/net/
Dnexthop.h42 u16 nh_grp_type; member