Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dnexthop.c1046 u16 nh_grp_type, struct netlink_ext_ack *extack) in nh_check_attr_group() argument
1111 if (nh_grp_type == NEXTHOP_GRP_TYPE_RES) in nh_check_attr_group()
2487 if (cfg->nh_grp_type == NEXTHOP_GRP_TYPE_MPATH) { in nexthop_create_group()
2490 } else if (cfg->nh_grp_type == NEXTHOP_GRP_TYPE_RES) { in nexthop_create_group()
2837 cfg->nh_grp_type = NEXTHOP_GRP_TYPE_MPATH; in rtm_to_nh_config()
2839 cfg->nh_grp_type = nla_get_u16(tb[NHA_GROUP_TYPE]); in rtm_to_nh_config()
2841 if (cfg->nh_grp_type > NEXTHOP_GRP_TYPE_MAX) { in rtm_to_nh_config()
2846 cfg->nh_grp_type, extack); in rtm_to_nh_config()
2850 if (cfg->nh_grp_type == NEXTHOP_GRP_TYPE_RES) in rtm_to_nh_config()
/openbmc/linux/include/net/
H A Dnexthop.h42 u16 nh_grp_type; member