Geoff Salmon
2013-02-11 22:49:16 UTC
Here's an updated patch set with a couple changes.
1. the first patch is new and fixes a problem where the host to
network byte order conversion was being done even for empty messages
sent by the pmc
2. avoids the extra copy of the manufacturerIdentity, profileIdentity,
and the physical and protocol addresses when sending CLOCK_DESCRIPTION
messages
3. avoids memory alignment problems by memcpy-ing the uint16_t fields
in CLOCK_DESCRIPTION messages
4. simplifies the changes to pmc by removing the additional bin2str
and text2str functions
Geoff Salmon (5):
avoid hton conversion when sending empty management messages
support TLVs with flexible size
adds CLOCK_DESCRIPTION struct
support GET CLOCK_DESCRIPTION and USER_DESCRIPTION mgmt messages
pmc: get CLOCK_DESCRIPTION and USER_DESCRIPTION
clock.c | 14 ++++++
clock.h | 7 +++
ddt.h | 5 ++
msg.c | 12 ++---
msg.h | 7 +++
pmc.c | 78 +++++++++++++++++++++++++++++-
port.c | 61 ++++++++++++++++++++++++
tlv.c | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
tlv.h | 38 +++++++++++++--
9 files changed, 368 insertions(+), 17 deletions(-)
1. the first patch is new and fixes a problem where the host to
network byte order conversion was being done even for empty messages
sent by the pmc
2. avoids the extra copy of the manufacturerIdentity, profileIdentity,
and the physical and protocol addresses when sending CLOCK_DESCRIPTION
messages
3. avoids memory alignment problems by memcpy-ing the uint16_t fields
in CLOCK_DESCRIPTION messages
4. simplifies the changes to pmc by removing the additional bin2str
and text2str functions
Geoff Salmon (5):
avoid hton conversion when sending empty management messages
support TLVs with flexible size
adds CLOCK_DESCRIPTION struct
support GET CLOCK_DESCRIPTION and USER_DESCRIPTION mgmt messages
pmc: get CLOCK_DESCRIPTION and USER_DESCRIPTION
clock.c | 14 ++++++
clock.h | 7 +++
ddt.h | 5 ++
msg.c | 12 ++---
msg.h | 7 +++
pmc.c | 78 +++++++++++++++++++++++++++++-
port.c | 61 ++++++++++++++++++++++++
tlv.c | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
tlv.h | 38 +++++++++++++--
9 files changed, 368 insertions(+), 17 deletions(-)
--
1.7.9.5
1.7.9.5