Thursday, May 13, 2004

Useful information about a chain

I meet chain_cache struct in TC_APPEND and TC_INSERT (in libiptc.c) which holds the name, the first rule and the last rule of the chain.

struct chain_cahce {
char name [max...] : name of the chain
unsigned int start_off : offset of the first rule in the chain
unsigned int end_off : offset of the last rule in the chain (size of the rules)
}
Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?