I'm looking at implementing setting the IP TOS for SIP messages.
My first idea is to add a tport tag, say, TPTAG_TOS( x ).
And in each of the vtable functions of tport,
tport_udp_init_primary(), tport_tcp_init_primary(), and tport_sctp_init_primary(),  and tport_base_connect(),
add a
setsockopt( socket, IPPROTO_IP, IP_TOS, &tos, sizeof(tos) )

Is this sufficient ?
Are there other places I would need to add this setting ?
Should I add tos to the tport_params_t ?

Colin..

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to