[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 571] Re: Add CDNR interface




Cheng Hong wrote:
> I would like to use the cdnr APIs, but seems there is no qcmd_cdnr_add_if()
> (or something similar) there. So, how should I initialize the interface? Or,
> could I just use the qcmd_add_element() etc. directly?

qcmd_xxx_add_if's are for output interfaces.
An input interface is automatically initialized when you first call
qcmd_cdnr_add_element() for the interface.
But you need to have the corresponding output interface beforehand.

-Kenjiro