summaryrefslogtreecommitdiffstats
path: root/tinyRTP/include
diff options
context:
space:
mode:
authorMamadou DIOP <bossiel@yahoo.fr>2016-05-24 00:11:39 +0200
committerMamadou DIOP <bossiel@yahoo.fr>2016-05-24 00:11:39 +0200
commit3383de3026cd0afb06747069c05a600fd07ec02e (patch)
tree421b8f5a13c6da7770ce781e199265dc3c7076be /tinyRTP/include
parentaff961eb2374344cb9a62cd9c4f0fae1edf4dbc0 (diff)
downloaddoubango-3383de3026cd0afb06747069c05a600fd07ec02e.zip
doubango-3383de3026cd0afb06747069c05a600fd07ec02e.tar.gz
Make ICE dual-satck (IPv46) more versatile
Diffstat (limited to 'tinyRTP/include')
-rwxr-xr-xtinyRTP/include/tinyrtp/trtp_manager.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/tinyRTP/include/tinyrtp/trtp_manager.h b/tinyRTP/include/tinyrtp/trtp_manager.h
index e409c7b..61d9fcb 100755
--- a/tinyRTP/include/tinyrtp/trtp_manager.h
+++ b/tinyRTP/include/tinyrtp/trtp_manager.h
@@ -90,8 +90,11 @@ typedef struct trtp_manager_s {
tnet_port_t remote_port;
struct sockaddr_storage remote_addr;
- char* public_ip;
- tnet_port_t public_port;
+ struct {
+ char* ip;
+ tnet_port_t port;
+ tnet_socket_type_t type;
+ } public_addr;
struct {
uint32_t local;
@@ -117,8 +120,11 @@ typedef struct trtp_manager_s {
struct sockaddr_storage remote_addr;
tnet_socket_t* local_socket;
- char* public_ip;
- tnet_port_t public_port;
+ struct {
+ char* ip;
+ tnet_port_t port;
+ tnet_socket_type_t type;
+ } public_addr;
struct {
const void* usrdata;
OpenPOWER on IntegriCloud