piboffset3.txt 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #!/usr/local/bin/cmassoc/offset
  2. # This offset file demonstrates PIB offsets for the newer Panther/Lynx
  3. # parameter blocks; Use this file with programs odd and odc to visualize
  4. # pib structure;
  5. # ===================================================================
  6. # Manifest Image Header
  7. # -------------------------------------------------------------------
  8. 0 Manifest Header
  9. 2 MajorVersion Starts with 1.
  10. 2 MinorVersion Starts with 1.
  11. 4 AppletExecuteMask
  12. 4 ImageNvmAddress
  13. 4 ImageMemoryAddress
  14. 4 ImageLength
  15. 4 ImageChecksum
  16. 4 EntryPoint
  17. 4 NextNvmHeader
  18. 4 PreviousNvmHeader
  19. 4 EntryType
  20. 2 ModuleID
  21. 2 ModuleSubID
  22. 2 AppletEntryVersion
  23. 46 Reserved
  24. 4 HeaderChecksum
  25. # ===================================================================
  26. # Manifest Data
  27. # -------------------------------------------------------------------
  28. 0 Manifest Body
  29. 768 Manifest The manifest is a TLV (Type-Length-Value) block that can change size depending on the information stored in it. The size is recorded in the Manifest Header that preceeds this block.
  30. # ===================================================================
  31. # PIB Image Header
  32. # -------------------------------------------------------------------
  33. 0 Parameter Block Header
  34. 2 MajorVersion Starts with 1.
  35. 2 MinorVersion Starts with 1.
  36. 4 AppletExecuteMask
  37. 4 ImageNvmAddress
  38. 4 ImageMemoryAddress
  39. 4 ImageLength
  40. 4 ImageChecksum
  41. 4 EntryPoint
  42. 4 NextNvmHeader
  43. 4 PreviousNvmHeader
  44. 4 EntryType
  45. 2 ModuleID
  46. 2 ModuleSubID
  47. 2 AppletEntryVersion
  48. 46 Reserved
  49. 4 HeaderChecksum
  50. # ===================================================================
  51. # PIB Header
  52. # -------------------------------------------------------------------
  53. 0 Version Header
  54. 12 RSVD now deprecated;
  55. # ===================================================================
  56. # PIB Header
  57. # -------------------------------------------------------------------
  58. 0 Version Header
  59. 12 RSVD
  60. 6 MACAddress Ethernet hardware address; default is 00:B0:52:00:00:01
  61. 16 DAK Device Access Key; Single 128 bit value; set by vendor at factory and preserved by the firmware
  62. 2 RSVD
  63. 64 HFID_Manufacturer Manufacture identification string; NUL terminated; set by vendor at factory and preserved by the firmware
  64. 16 NMK Network Membership Key; Single 128 bit value
  65. 64 HFID_User User identification string; NUL terminated; set by user as desired
  66. 64 HFID_AVLN Network identification string; NUL terminated; set by user as desired
  67. 1 CCoSelection 0=AutoCCo, 1=NeverCCo, 2=AlwaysCCo, 3=User Assigned
  68. 1 CoexistSelection
  69. 1 PLFreqSelection
  70. 1 RSV
  71. 6 PreferredNID Encrypted NMK; must be re-computed when NMK changes; see HomePlug AV specification section 4.4.3.1 Network Identifier (NID) for more information
  72. 1 HybridModeMask
  73. 1 AVLNMembership
  74. 7812 EXTRA