2
* netlink/errno.h Error Numbers
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation version 2.1
9
* Copyright (c) 2008 Thomas Graf <tgraf@suug.ch>
12
#ifndef NETLINK_ERRNO_H_
13
#define NETLINK_ERRNO_H_
22
#define NLE_BAD_SOCK 3
29
#define NLE_OPNOTSUPP 10
30
#define NLE_AF_NOSUPPORT 11
31
#define NLE_OBJ_NOTFOUND 12
33
#define NLE_MISSING_ATTR 14
34
#define NLE_AF_MISMATCH 15
35
#define NLE_SEQ_MISMATCH 16
36
#define NLE_MSG_OVERFLOW 17
37
#define NLE_MSG_TRUNC 18
39
#define NLE_SRCRT_NOSUPPORT 20
40
#define NLE_MSG_TOOSHORT 21
41
#define NLE_MSGTYPE_NOSUPPORT 22
42
#define NLE_OBJ_MISMATCH 23
43
#define NLE_NOCACHE 24
45
#define NLE_PROTO_MISMATCH 26
46
#define NLE_NOACCESS 27
48
#define NLE_PKTLOC_FILE 29
49
#define NLE_PARSE_ERR 30
51
#define NLE_MAX NLE_PARSE_ERR
53
extern const char * nl_geterror(int);
54
extern void nl_perror(int, const char *);
55
extern int nl_syserr2nlerr(int);