1 #ifndef __IP_SET_LIST_H 2 #define __IP_SET_LIST_H 3 4 /* List type specific error codes */ 5 enum { 6 /* Set name to be added/deleted/tested does not exist. */ 7 IPSET_ERR_NAME = IPSET_ERR_TYPE_SPECIFIC, 8 /* list:set type is not permitted to add */ 9 IPSET_ERR_LOOP, 10 /* Missing reference set */ 11 IPSET_ERR_BEFORE, 12 /* Reference set does not exist */ 13 IPSET_ERR_NAMEREF, 14 /* Set is full */ 15 IPSET_ERR_LIST_FULL, 16 /* Reference set is not added to the set */ 17 IPSET_ERR_REF_EXIST, 18 }; 19 20 #ifdef __KERNEL__ 21 22 #define IP_SET_LIST_DEFAULT_SIZE 8 23 #define IP_SET_LIST_MIN_SIZE 4 24 25 #endif /* __KERNEL__ */ 26 27 #endif /* __IP_SET_LIST_H */ 28