Home
last modified time | relevance | path

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

/freebsd/sys/netlink/route/
H A Dnexthop.c692 uint32_t nha_id; member
724 { .type = NHA_ID, .off = _OUT(nha_id), .cb = nlattr_get_uint32 },
849 nhop_set_uidx(nh, attrs->nha_id); in newnhop()
873 NL_LOG(LOG_DEBUG2, "Adding unhop %u: %s", attrs->nha_id, nhbuf); in newnhop()
901 if (attrs.nha_id == 0) { in rtnl_handle_newnhop()
902 attrs.nha_id = find_spare_uidx(ctl); in rtnl_handle_newnhop()
903 if (attrs.nha_id == 0) { in rtnl_handle_newnhop()
916 unhop->un_idx = attrs.nha_id; in rtnl_handle_newnhop()
935 NL_LOG(LOG_DEBUG, "nhop idx %u already exists", attrs.nha_id); in rtnl_handle_newnhop()
980 if (attrs.nha_id == 0) { in rtnl_handle_delnhop()
[all …]
/freebsd/sys/netlink/
H A Dnetlink_snl_route_parsers.h342 uint32_t nha_id; member
372 { .type = NHA_ID, .off = _OUT(nha_id), .cb = snl_attr_get_uint32 },