diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-30 20:44:25 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-30 20:44:25 +0100 |
commit | 7dd5289076160ee2844978bfd1640ca7aa34f4da (patch) | |
tree | a91a1c1dcea8238bf01f933352f41526f6581ba0 /include/internal/extern.h | |
parent | 215d42fef86577ad74151cda553a20b1bdb58a30 (diff) |
groups: add attribute group API
This new API allows you to set and get some logical set of
attributes. This is not intended to replace the existing
per-attribute get/set API but to provide more efficient way
to get/set certain attributes. This change includes an example
file (conntrack_grp_create.c) of the use of the attribute group API.
See ATTR_GRP_* for more information on the existing groups.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/internal/extern.h')
-rw-r--r-- | include/internal/extern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/extern.h b/include/internal/extern.h index a43cde7..d0b079f 100644 --- a/include/internal/extern.h +++ b/include/internal/extern.h @@ -5,8 +5,12 @@ extern set_attr set_attr_array[]; extern get_attr get_attr_array[]; extern copy_attr copy_attr_array[]; extern filter_attr filter_attr_array[]; +extern set_attr_grp set_attr_grp_array[]; +extern get_attr_grp get_attr_grp_array[]; extern set_exp_attr set_exp_attr_array[]; extern get_exp_attr get_exp_attr_array[]; +extern uint32_t attr_grp_bitmask[ATTR_GRP_MAX][__NFCT_BITSET]; + #endif |