1 /* Generated by ./xlat/gen.sh from ./xlat/nl_sock_diag_types.in; do not edit. */ 2 #if !(defined(TCPDIAG_GETSOCK) || (defined(HAVE_DECL_TCPDIAG_GETSOCK) && HAVE_DECL_TCPDIAG_GETSOCK)) 3 # define TCPDIAG_GETSOCK 18 4 #endif 5 #if !(defined(DCCPDIAG_GETSOCK) || (defined(HAVE_DECL_DCCPDIAG_GETSOCK) && HAVE_DECL_DCCPDIAG_GETSOCK)) 6 # define DCCPDIAG_GETSOCK 19 7 #endif 8 #if !(defined(SOCK_DIAG_BY_FAMILY) || (defined(HAVE_DECL_SOCK_DIAG_BY_FAMILY) && HAVE_DECL_SOCK_DIAG_BY_FAMILY)) 9 # define SOCK_DIAG_BY_FAMILY 20 10 #endif 11 #if !(defined(SOCK_DESTROY) || (defined(HAVE_DECL_SOCK_DESTROY) && HAVE_DECL_SOCK_DESTROY)) 12 # define SOCK_DESTROY 21 13 #endif 14 15 #ifdef IN_MPERS 16 17 # error static const struct xlat nl_sock_diag_types in mpers mode 18 19 #else 20 21 static 22 const struct xlat nl_sock_diag_types[] = { 23 XLAT(TCPDIAG_GETSOCK), 24 XLAT(DCCPDIAG_GETSOCK), 25 XLAT(SOCK_DIAG_BY_FAMILY), 26 XLAT(SOCK_DESTROY), 27 XLAT_END 28 }; 29 30 #endif /* !IN_MPERS */ 31