help--how to close netcard interrupt?

when broadcast blood is coming ,disable net interrupt in order to protest controller.I use the function as follow
qnx_hint_mask( unsigned intnum,unsigned action );but it have no effect .
why? what should I do? thank for ideas.

Well I don’t understand what you really need to do. But either you are using the fonction improperly or you are expecting the fonction to do something else then what it was made to do…

Can you please be more specific what you are trying to do.

sorry to be late…
I want to close net card’s interrupt in order to reduce the burden of CPU when broadcast flood is coming ,but I can’t achieve the goal.

You can use InterruptMask, but I don’t think this is a very good idea it could create other problems.