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: Simon Morlat
Subject: Re: [Linphone-developers] PATCH: oRTP QOS/DSCP support
Date: Mon, 21 Aug 2006 14:21:45 +0200
User-agent: KMail/1.9.3

Thanks for the investigation, I'll update the source code.

SImon

Le mercredi 2 août 2006 13:52, Nicholas J Humfrey a écrit :
> 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




reply via email to

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