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

[altq:1850] Re: struct flow_filter & qcmd_add_filter



> You need to set the address family field.
>
> 	teste.ff_flow.fi_family = AF_INET;
>
	Thanks... this have worked. And now, I got the great messages:

ALTQ config file is /etc/altq.conf
cbq enabled on interface ed0 (mtu:1500)

	In your draft qop_api.txt is written:
" "qcmd_enable" and "qcmd_disable" enables or disables ALTQ on
 the specified interface."

	Ok... in my previous message I put my source code. In this source code
there is the qcmd_enable(ifname) line. For my surprise, when I run my program 
and type the command 'altqstat -n -i ed0', I got:

altqstat: altq is not attached on ed0!

	This is not normal, is it?

	Ps. ifname ="ed0".

	Thanks in advance,

	Tiago Fioreze