~ubuntu-branches/ubuntu/vivid/ipmitool/vivid-updates

« back to all changes in this revision

Viewing changes to src/plugins/lan/asf.h

  • Committer: Package Import Robot
  • Author(s): Luk Claes
  • Date: 2013-05-07 18:12:12 UTC
  • mfrom: (5.1.11 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130507181212-fitwelheknk3tqnq
Tags: 1.8.12-1
Merge new upstream from Ubuntu (Closes: #692292).

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
};
57
57
 
58
58
/* ASF message header */
 
59
#ifdef HAVE_PRAGMA_PACK
 
60
#pragma pack(1)
 
61
#endif
59
62
struct asf_hdr {
60
63
        uint32_t        iana;
61
64
        uint8_t         type;
62
65
        uint8_t         tag;
63
66
        uint8_t         __reserved;
64
67
        uint8_t         len;
65
 
} __attribute__((packed));
 
68
} ATTRIBUTE_PACKING;
 
69
#ifdef HAVE_PRAGMA_PACK
 
70
#pragma pack(0)
 
71
#endif
66
72
 
67
73
int handle_asf(struct ipmi_intf * intf, uint8_t * data, int data_len);
68
74