int pending_next_hop_add_direct( next_hop_db * db, u32 route_ip, u32 route_netmask) { pending_next_hop_t * entry; pending_next_hop_direct_entry_init( &entry, route_ip, route_netmask); return pending_add(db, entry); }
bool fusb_devhandle::_submit_lut (libusb_transfer *lut) { int ret = libusb_submit_transfer (lut); if (ret < 0) { LOG(ERR) << "submit_lut " << ret; return false; } pending_add(lut); return true; }
int pending_next_hop_add_gateway( next_hop_db * db, u32 gateway_ip, u32 route_ip, u32 route_netmask) { pending_next_hop_t * entry; pending_next_hop_gateway_entry_init( &entry, gateway_ip, route_ip, route_netmask); return pending_add(db, entry); }