#include <libipset/linux_ip_set.h>
Data Structures | |
struct | ipset_errcode_table |
Functions | |
int | ipset_errcode (struct ipset_session *session, enum ipset_cmd cmd, int errcode) |
ipset_errcode - interpret a kernel error code : session structure : errcode More... | |
int ipset_errcode | ( | struct ipset_session * | session, |
enum ipset_cmd | cmd, | ||
int | errcode | ||
) |
ipset_errcode - interpret a kernel error code : session structure : errcode
Find the error code and print the appropriate error message into the error buffer.
Returns -1.
References ipset_errcode_table::errcode, ipset_err, IPSET_ERR_PRIVATE, IPSET_ERR_TYPE_SPECIFIC, ipset_saved_type(), MATCH_TYPENAME, ipset_errcode_table::message, ipset_type::name, and type.