Commit 3216adbf authored by Pekka Pessi's avatar Pekka Pessi

tport_type_udp.c: added field names to tport_vtable_t initialization

Ignore-this: dd4c265fe49edca54d6bca1bf89d2a7f

darcs-hash:20090603172519-db55f-3cdcf6e413167bbc4ad38369fdb75c8d40137291.gz
parent 9e92f388
...@@ -69,38 +69,52 @@ static char const __func__[] = "tport_type_udp"; ...@@ -69,38 +69,52 @@ static char const __func__[] = "tport_type_udp";
tport_vtable_t const tport_udp_client_vtable = tport_vtable_t const tport_udp_client_vtable =
{ {
"udp", tport_type_client, /* vtp_name */ "udp",
sizeof (tport_primary_t), /* vtp_public */ tport_type_client,
tport_udp_init_client, /* vtp_pri_size */ sizeof (tport_primary_t),
NULL, /* vtp_init_primary */ tport_udp_init_client,
NULL, /* vtp_deinit_primary */ NULL,
NULL, /* vtp_wakeup_pri */ NULL,
sizeof (tport_t), /* vtp_connect */ NULL,
NULL, /* vtp_secondary_size */ sizeof (tport_t),
NULL, /* vtp_init_secondary */ NULL,
NULL, /* vtp_deinit_secondary */ NULL,
NULL, /* vtp_shutdown */ NULL,
NULL, /* vtp_set_events */ NULL,
tport_recv_dgram, /* vtp_wakeup */ NULL,
tport_send_dgram, /* vtp_recv */ tport_recv_dgram,
/* vtp_send */ tport_send_dgram,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ NULL,
/* vtp_secondary_timer */ NULL,
}; };
tport_vtable_t const tport_udp_vtable = tport_vtable_t const tport_udp_vtable =
{ {
"udp", tport_type_local, /* vtp_name */ "udp",
sizeof (tport_primary_t), /* vtp_public */ tport_type_local,
tport_udp_init_primary, /* vtp_pri_size */ sizeof (tport_primary_t),
NULL, /* vtp_init_primary */ tport_udp_init_primary,
NULL, /* vtp_deinit_primary */ NULL,
NULL, /* vtp_wakeup_pri */ NULL,
sizeof (tport_t), /* vtp_connect */ NULL,
NULL, /* vtp_secondary_size */ sizeof (tport_t),
NULL, /* vtp_init_secondary */ NULL,
NULL, /* vtp_deinit_secondary */ NULL,
NULL, /* vtp_shutdown */ NULL,
NULL, /* vtp_set_events */ NULL,
tport_recv_dgram, /* vtp_wakeup */ NULL,
tport_send_dgram, /* vtp_recv */ tport_recv_dgram,
/* vtp_send */ tport_send_dgram,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ NULL,
/* vtp_secondary_timer */ NULL,
}; };
static void tport_check_trunc(tport_t *tp, su_addrinfo_t *ai); static void tport_check_trunc(tport_t *tp, su_addrinfo_t *ai);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment