I am writing a code to set up a filter in terms of label. When the code runs, it encounters problem at following line of qop_add_filter() in libaltq/qop.c
if (error =(*ifinfo->qdisc->add_filter)(fltrinfo) != 0) {
remove_filter_rule(ifinfo, fltrinfo);
goto err_ret;
}
At this point error is returned a value of 1, which is "syscall error" in qop_errorlist[].
Can anyone give me some information about how ifinfo->qdisc->add_filter(fltrinfo)works. Thanks in advance.
------------------------------------
Hao Zhang
Advanced Wireless Network Technology
Nortel Networks
Tel: 613-765-3972 (ESN 395)
Fax: 613-763-2686
email: zhanghao@nortelnetworks.com