is_filled


Description:

public bool is_filled (uint size, ClockTime duration)

Check if the packet with size and duration would exceed the configured maximum size.

Parameters:

this

a BasePayload

size

the size of the packet

duration

the duration of the packet

Returns:

true if the packet of size and duration would exceed the configured MTU or max_ptime.