| 45 |
40 |
| 46 #define MSGTYPE_BINDINGREQUEST 0x0001 |
41 #define MSGTYPE_BINDINGREQUEST 0x0001 |
| 47 #define MSGTYPE_BINDINGRESPONSE 0x0101 |
42 #define MSGTYPE_BINDINGRESPONSE 0x0101 |
| 48 |
43 |
| 49 #define ATTRIB_MAPPEDADDRESS 0x0001 |
44 #define ATTRIB_MAPPEDADDRESS 0x0001 |
| 50 |
|
| 51 #ifndef _SIZEOF_ADDR_IFREQ |
|
| 52 # define _SIZEOF_ADDR_IFREQ(a) sizeof(a) |
|
| 53 #endif |
|
| 54 |
45 |
| 55 struct stun_header { |
46 struct stun_header { |
| 56 guint16 type; |
47 guint16 type; |
| 57 guint16 len; |
48 guint16 len; |
| 58 guint32 transid[4]; |
49 guint32 transid[4]; |