Mercurial > pidgin
comparison src/stun.h @ 11829:4669e7461968
[gaim-migrate @ 14120]
Regular comment changes. I'm sorry to force a big recompilation. It had to be done at some point, though, and I've tried to do this all in one day.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 26 Oct 2005 00:34:26 +0000 |
parents | 9563b768e8e2 |
children | 90d7e0f342fa |
comparison
equal
deleted
inserted
replaced
11828:5c50be815a4e | 11829:4669e7461968 |
---|---|
28 /**************************************************************************/ | 28 /**************************************************************************/ |
29 /** @name STUN API */ | 29 /** @name STUN API */ |
30 /**************************************************************************/ | 30 /**************************************************************************/ |
31 | 31 |
32 struct stun_nattype { | 32 struct stun_nattype { |
33 gint status; // 0 - unknown (no STUN server reachable), 1 - discovering, 2 - discovered | 33 gint status; /* 0 - unknown (no STUN server reachable) */ |
34 gint type; // 0 - public ip | 34 /* 1 - discovering */ |
35 // 1 - NAT (unknown type) | 35 /* 2 - discovered */ |
36 // 2 - full cone | 36 |
37 // 3 - restricted cone | 37 gint type; /* 0 - public ip */ |
38 // 4 - port restricted cone | 38 /* 1 - NAT (unknown type) */ |
39 // 5 - symmetric | 39 /* 2 - full cone */ |
40 /* 3 - restricted cone */ | |
41 /* 4 - port restricted cone */ | |
42 /* 5 - symmetric */ | |
43 | |
40 char publicip[16]; | 44 char publicip[16]; |
41 }; | 45 }; |
42 | 46 |
43 struct stun_header { | 47 struct stun_header { |
44 short type; | 48 short type; |