nlpid.c 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Redistribution and use in source and binary forms, with or without
  3. * modification, are permitted provided that: (1) source code
  4. * distributions retain the above copyright notice and this paragraph
  5. * in its entirety, and (2) distributions including binary code include
  6. * the above copyright notice and this paragraph in its entirety in
  7. * the documentation or other materials provided with the distribution.
  8. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
  9. * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
  10. * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  11. * FOR A PARTICULAR PURPOSE.
  12. *
  13. * Original code by Hannes Gredler (hannes@gredler.at)
  14. */
  15. #ifdef HAVE_CONFIG_H
  16. #include "config.h"
  17. #endif
  18. #include <netdissect-stdinc.h>
  19. #include "netdissect.h"
  20. #include "nlpid.h"
  21. const struct tok nlpid_values[] = {
  22. { NLPID_NULLNS, "NULL" },
  23. { NLPID_Q933, "Q.933" },
  24. { NLPID_LMI, "LMI" },
  25. { NLPID_SNAP, "SNAP" },
  26. { NLPID_CLNP, "CLNP" },
  27. { NLPID_ESIS, "ES-IS" },
  28. { NLPID_ISIS, "IS-IS" },
  29. { NLPID_CONS, "CONS" },
  30. { NLPID_IDRP, "IDRP" },
  31. { NLPID_SPB, "ISIS_SPB" },
  32. { NLPID_MFR, "FRF.15" },
  33. { NLPID_IP, "IPv4" },
  34. { NLPID_PPP, "PPP" },
  35. { NLPID_X25_ESIS, "X25 ES-IS" },
  36. { NLPID_IP6, "IPv6" },
  37. { 0, NULL }
  38. };