MMESize.c 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*====================================================================*
  2. *
  3. * Copyright (c) 2013 Qualcomm Atheros, Inc.
  4. *
  5. * All rights reserved.
  6. *
  7. *====================================================================*/
  8. /*====================================================================*
  9. *
  10. * void MMESize (void);
  11. *
  12. *
  13. *--------------------------------------------------------------------*/
  14. #ifndef MMESIZE_SOURCE
  15. #define MMESIZE_SOURCE
  16. #include "../mme/mme.h"
  17. void MMESize (void)
  18. {
  19. printf ("sizeof (struct message) = " SIZE_T_SPEC "\n", sizeof (struct message));
  20. printf ("sizeof (struct homeplug1) = " SIZE_T_SPEC "\n", sizeof (struct homeplug1));
  21. printf ("sizeof (struct qualcomm1) = " SIZE_T_SPEC "\n", sizeof (struct qualcomm1));
  22. printf ("sizeof (struct ethernet_hdr) = " SIZE_T_SPEC "\n", sizeof (struct ethernet_hdr));
  23. printf ("sizeof (struct homeplug_hdr) = " SIZE_T_SPEC "\n", sizeof (struct homeplug_hdr));
  24. printf ("sizeof (struct homeplug_fmi) = " SIZE_T_SPEC "\n", sizeof (struct homeplug_fmi));
  25. printf ("sizeof (struct qualcomm_hdr) = " SIZE_T_SPEC "\n", sizeof (struct qualcomm_hdr));
  26. printf ("sizeof (struct fragment_hdr) = " SIZE_T_SPEC "\n", sizeof (struct fragment_hdr));
  27. printf ("sizeof (struct qualcomm_fmi) = " SIZE_T_SPEC "\n", sizeof (struct qualcomm_fmi));
  28. return;
  29. }
  30. #endif