linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] PATCH: oRTP QOS/DSCP support


From: Nicholas J Humfrey
Subject: Re: [Linphone-developers] PATCH: oRTP QOS/DSCP support
Date: Wed, 2 Aug 2006 12:52:31 +0100


I have done a little bit of investigating and it looks like DSCP goes in the "Traffic Class" field of the IPv6 headers - this is 8-bit like the TOS field in IPv4 header - so I imagine it is treated the same. Code:

setsockopt(fd, IPPROTO_IPV6, IPV6_TCLASS, &tclass, sizeof(tclass));


nick.

On 1 Aug 2006, at 07:46, Simon Morlat wrote:

Thanks a lot for the patch !
It is now in cvs.
I've added the case for IPv6, I don't know yet if it works.

Simon

Le vendredi 28 juillet 2006 19:22, Nicholas J Humfrey a écrit :
Apologies, the previously attached patch was incorrect.

New patch is here:
http:/www.ecs.soton.ac.uk/~njh/qos/ortp-dscp-patch.diff


nick.

On 28 Jul 2006, at 17:50, Nicholas J Humfrey wrote:
Hi,

I have written a patch to the oRTP CVS to add Quality of Service
(QOS)/ Differentiated Services Code Point (DSCP) support. It adds
two new functions:

int rtp_session_set_dscp(RtpSession *session, int dscp);
int rtp_session_get_dscp(RtpSession *session);

DSCP re-uses the old TOS field in the IPv4 packet header.

EF (expedited forwarding, DSCP value 0x2E) is commonly used by
Voice Over IP applications.


nick.

_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]