Netnetfiltercorec

struct list_head nf_hooks[NPROTO][NF_MAX_HOOKS] _read_mostly;

nproto specifies the maximum number of protocol families supported by the system (currently 34). Symbolic constants for the individual families are pf_inet and PF_DECnet; these are stored in include/linux/socket.h. It is possible to define NF_MAX_HOOKS lists with hooks for each protocol; the default is 8.

The list_head elements of the table are used as list heads for a doubly linked list that accepts nf_hook_ops instances:

Continue reading here: Info

Was this article helpful?

0 0