struct ipt_entry how to

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

 



Hi,

I know that libiptc is not encouraged[1] for public use, but I'm trying
to figure out how rapidly I can interrupt the traffic on an interface
(if possible) with microsecond granularity; hence I want to issue direct
iptc_insert_entry() and iptc_delete_entry() calls without any strings
attached, e.g., start-up time, parsing, information gathering, table
initialization, etc. I'm reading the iptables sources and lost in the
mazes of generate_entry() stuff for creating a proper ipt_entry struct.
Does anybody have a sample code for that? Or can you point me to some
other relevant resource? Or, the worst, am I on my own on this matter?


Regards.

[1] http://lists.netfilter.org/pipermail/netfilter-devel/2004-June/015844.html
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux