6 #ifndef NETLINK_ERRNO_H_
7 #define NETLINK_ERRNO_H_
16 #define NLE_BAD_SOCK 3
23 #define NLE_OPNOTSUPP 10
24 #define NLE_AF_NOSUPPORT 11
25 #define NLE_OBJ_NOTFOUND 12
27 #define NLE_MISSING_ATTR 14
28 #define NLE_AF_MISMATCH 15
29 #define NLE_SEQ_MISMATCH 16
30 #define NLE_MSG_OVERFLOW 17
31 #define NLE_MSG_TRUNC 18
33 #define NLE_SRCRT_NOSUPPORT 20
34 #define NLE_MSG_TOOSHORT 21
35 #define NLE_MSGTYPE_NOSUPPORT 22
36 #define NLE_OBJ_MISMATCH 23
37 #define NLE_NOCACHE 24
39 #define NLE_PROTO_MISMATCH 26
40 #define NLE_NOACCESS 27
42 #define NLE_PKTLOC_FILE 29
43 #define NLE_PARSE_ERR 30
45 #define NLE_IMMUTABLE 32
46 #define NLE_DUMP_INTR 33
47 #define NLE_ATTRSIZE 34
49 #define NLE_MAX NLE_ATTRSIZE
51 extern const char * nl_geterror(
int);
52 extern void nl_perror(
int,
const char *);
53 extern int nl_syserr2nlerr(
int);