1 /* Generated by ./xlat/gen.sh from ./xlat/netlink_protocols.in; do not edit. */ 2 #if !(defined(NETLINK_ROUTE) || (defined(HAVE_DECL_NETLINK_ROUTE) && HAVE_DECL_NETLINK_ROUTE)) 3 # define NETLINK_ROUTE 0 4 #endif 5 #if !(defined(NETLINK_UNUSED) || (defined(HAVE_DECL_NETLINK_UNUSED) && HAVE_DECL_NETLINK_UNUSED)) 6 # define NETLINK_UNUSED 1 7 #endif 8 #if !(defined(NETLINK_USERSOCK) || (defined(HAVE_DECL_NETLINK_USERSOCK) && HAVE_DECL_NETLINK_USERSOCK)) 9 # define NETLINK_USERSOCK 2 10 #endif 11 #if !(defined(NETLINK_FIREWALL) || (defined(HAVE_DECL_NETLINK_FIREWALL) && HAVE_DECL_NETLINK_FIREWALL)) 12 # define NETLINK_FIREWALL 3 13 #endif 14 #if !(defined(NETLINK_SOCK_DIAG) || (defined(HAVE_DECL_NETLINK_SOCK_DIAG) && HAVE_DECL_NETLINK_SOCK_DIAG)) 15 # define NETLINK_SOCK_DIAG 4 16 #endif 17 #if !(defined(NETLINK_NFLOG) || (defined(HAVE_DECL_NETLINK_NFLOG) && HAVE_DECL_NETLINK_NFLOG)) 18 # define NETLINK_NFLOG 5 19 #endif 20 #if !(defined(NETLINK_XFRM) || (defined(HAVE_DECL_NETLINK_XFRM) && HAVE_DECL_NETLINK_XFRM)) 21 # define NETLINK_XFRM 6 22 #endif 23 #if !(defined(NETLINK_SELINUX) || (defined(HAVE_DECL_NETLINK_SELINUX) && HAVE_DECL_NETLINK_SELINUX)) 24 # define NETLINK_SELINUX 7 25 #endif 26 #if !(defined(NETLINK_ISCSI) || (defined(HAVE_DECL_NETLINK_ISCSI) && HAVE_DECL_NETLINK_ISCSI)) 27 # define NETLINK_ISCSI 8 28 #endif 29 #if !(defined(NETLINK_AUDIT) || (defined(HAVE_DECL_NETLINK_AUDIT) && HAVE_DECL_NETLINK_AUDIT)) 30 # define NETLINK_AUDIT 9 31 #endif 32 #if !(defined(NETLINK_FIB_LOOKUP) || (defined(HAVE_DECL_NETLINK_FIB_LOOKUP) && HAVE_DECL_NETLINK_FIB_LOOKUP)) 33 # define NETLINK_FIB_LOOKUP 10 34 #endif 35 #if !(defined(NETLINK_CONNECTOR) || (defined(HAVE_DECL_NETLINK_CONNECTOR) && HAVE_DECL_NETLINK_CONNECTOR)) 36 # define NETLINK_CONNECTOR 11 37 #endif 38 #if !(defined(NETLINK_NETFILTER) || (defined(HAVE_DECL_NETLINK_NETFILTER) && HAVE_DECL_NETLINK_NETFILTER)) 39 # define NETLINK_NETFILTER 12 40 #endif 41 #if !(defined(NETLINK_IP6_FW) || (defined(HAVE_DECL_NETLINK_IP6_FW) && HAVE_DECL_NETLINK_IP6_FW)) 42 # define NETLINK_IP6_FW 13 43 #endif 44 #if !(defined(NETLINK_DNRTMSG) || (defined(HAVE_DECL_NETLINK_DNRTMSG) && HAVE_DECL_NETLINK_DNRTMSG)) 45 # define NETLINK_DNRTMSG 14 46 #endif 47 #if !(defined(NETLINK_KOBJECT_UEVENT) || (defined(HAVE_DECL_NETLINK_KOBJECT_UEVENT) && HAVE_DECL_NETLINK_KOBJECT_UEVENT)) 48 # define NETLINK_KOBJECT_UEVENT 15 49 #endif 50 #if !(defined(NETLINK_GENERIC) || (defined(HAVE_DECL_NETLINK_GENERIC) && HAVE_DECL_NETLINK_GENERIC)) 51 # define NETLINK_GENERIC 16 52 #endif 53 #if !(defined(NETLINK_SCSITRANSPORT) || (defined(HAVE_DECL_NETLINK_SCSITRANSPORT) && HAVE_DECL_NETLINK_SCSITRANSPORT)) 54 # define NETLINK_SCSITRANSPORT 18 55 #endif 56 #if !(defined(NETLINK_ECRYPTFS) || (defined(HAVE_DECL_NETLINK_ECRYPTFS) && HAVE_DECL_NETLINK_ECRYPTFS)) 57 # define NETLINK_ECRYPTFS 19 58 #endif 59 #if !(defined(NETLINK_RDMA) || (defined(HAVE_DECL_NETLINK_RDMA) && HAVE_DECL_NETLINK_RDMA)) 60 # define NETLINK_RDMA 20 61 #endif 62 #if !(defined(NETLINK_CRYPTO) || (defined(HAVE_DECL_NETLINK_CRYPTO) && HAVE_DECL_NETLINK_CRYPTO)) 63 # define NETLINK_CRYPTO 21 64 #endif 65 66 #ifdef IN_MPERS 67 68 # error static const struct xlat netlink_protocols in mpers mode 69 70 #else 71 72 static 73 const struct xlat netlink_protocols[] = { 74 XLAT(NETLINK_ROUTE), 75 XLAT(NETLINK_UNUSED), 76 XLAT(NETLINK_USERSOCK), 77 XLAT(NETLINK_FIREWALL), 78 XLAT(NETLINK_SOCK_DIAG), 79 XLAT(NETLINK_NFLOG), 80 XLAT(NETLINK_XFRM), 81 XLAT(NETLINK_SELINUX), 82 XLAT(NETLINK_ISCSI), 83 XLAT(NETLINK_AUDIT), 84 XLAT(NETLINK_FIB_LOOKUP), 85 XLAT(NETLINK_CONNECTOR), 86 XLAT(NETLINK_NETFILTER), 87 XLAT(NETLINK_IP6_FW), 88 XLAT(NETLINK_DNRTMSG), 89 XLAT(NETLINK_KOBJECT_UEVENT), 90 XLAT(NETLINK_GENERIC), 91 XLAT(NETLINK_SCSITRANSPORT), 92 XLAT(NETLINK_ECRYPTFS), 93 XLAT(NETLINK_RDMA), 94 XLAT(NETLINK_CRYPTO), 95 XLAT_END 96 }; 97 98 #endif /* !IN_MPERS */ 99