nsm->drop_fraction = drop_fraction;
/* delay in seconds, bandwidth in bits/sec */
- total_buffer_size_in_bytes = (u32) ((delay * bandwidth) / 8.0) + 0.5;
+ total_buffer_size_in_bytes = ((delay * bandwidth) / 8.0) + 0.5;
/*
* Work out how much buffering each worker needs, assuming decent
VLIB_PLUGIN_REGISTER () =
{
.version = VPP_BUILD_VER,
- .description = "network delay simulator plugin",
+ .description = "Network Delay Simulator",
};
/* *INDENT-ON* */