Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dnexthop.h32 NHA_ID, /* u32; id for nexthop. id == 0 means auto-assign */ enumerator
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dnexthop.c26 [NHA_ID] = { .type = NLA_U32 },
244 if (nla_put_u32(skb, NHA_ID, nh->id)) in nh_fill_node()
1521 if (tb[NHA_ID]) in rtm_to_nh_config()
1522 cfg->nh_id = nla_get_u32(tb[NHA_ID]); in rtm_to_nh_config()
1688 case NHA_ID: in nh_valid_get_del_req()
1701 if (!tb[NHA_ID]) { in nh_valid_get_del_req()
1706 *id = nla_get_u32(tb[NHA_ID]); in nh_valid_get_del_req()