MCPcopy Create free account
hub / github.com/F-Stack/f-stack / InsertDestLink

Method InsertDestLink

adapter/micro_thread/mt_net.cpp:1646–1660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1644}
1645
1646void CNetMgr::InsertDestLink(CDestLinks* item)
1647{
1648 if (NULL == this->_ip_hash)
1649 {
1650 return;
1651 }
1652
1653 int32_t ret = _ip_hash->HashInsert(item);
1654 if (ret < 0)
1655 {
1656 MTLOG_ERROR("ip dest insert failed, ret %d", ret);
1657 }
1658
1659 return;
1660}
1661
1662void CNetMgr::RemoveDestLink(CDestLinks* item)
1663{

Callers 1

FindCreateDestMethod · 0.95

Calls 1

HashInsertMethod · 0.80

Tested by

no test coverage detected