diff options
author | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-03-13 06:00:20 +0000 |
---|---|---|
committer | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-03-13 06:00:20 +0000 |
commit | 4ebaef0e1cf0718219b5a31ec182582e4f31b47e (patch) | |
tree | f000e1e3d7222acbc97fd66eed3436cc5dde90e3 /channels/iax2.h | |
parent | 66a57e51e328a0c0b855184c15096758401c0dac (diff) |
Thu Mar 13 07:00:01 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/iax2.h')
-rwxr-xr-x | channels/iax2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/iax2.h b/channels/iax2.h index c3727ac81..da8acadff 100755 --- a/channels/iax2.h +++ b/channels/iax2.h @@ -107,12 +107,12 @@ struct ast_iax2_full_hdr { unsigned short scallno; /* Source call number -- high bit must be 1 */ unsigned short dcallno; /* Destination call number -- high bit is 1 if retransmission */ unsigned int ts; /* 32-bit timestamp in milliseconds (from 1st transmission) */ - unsigned short oseqno; /* Packet number (outgoing) */ - unsigned short iseqno; /* Packet number (next incoming expected) */ + unsigned char oseqno; /* Packet number (outgoing) */ + unsigned char iseqno; /* Packet number (next incoming expected) */ char type; /* Frame type */ unsigned char csub; /* Compressed subclass */ unsigned char iedata[0]; -}; +} __attribute__ ((__packed__)); /* Mini header is used only for voice frames -- delivered unreliably */ struct ast_iax2_mini_hdr { @@ -121,6 +121,6 @@ struct ast_iax2_mini_hdr { /* Frametype implicitly VOICE_FRAME */ /* subclass implicit from last ast_iax2_full_hdr */ unsigned char iedata[0]; -}; +} __attribute__ ((__packed__)); #endif |