rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #01047
Re: tun2udp
Thank you, now I know what you means,but I still have a question
The tunnel is created between a tun and a raw socket,
How to send a IP/UDP/RTP packet to a virtual interface?
Thanks
2013/6/3 Didier Barvaux <didier@xxxxxxxxxxx>
>
> > > First, the packet is a IP/UDP/RTP packet, so where is the origion
> > > packet from?
> >
> > >I'm not sure to understand you question. The IP/UDP/RTP packet comes
> > >from any application that generates such a packet: software SIP
> > >phone, PIBX...
> >
> > I means that if these Ip/UDP/RTP packet's headers are constructed by
> > the application itself?
> > can you explain the principle of the iprohc's tunnel to me.I don't
> > understand it well...
>
> The IP/ROHC tunnel takes whatever IP packet coming on the virtual
> network interface it created, compresses them with the ROHC library and
> encapsulates them in IP packets. The tunnel does not generate the
> original IP packets, they are created and sent by any application that
> sends its traffic to the virtual network interface of the tunnel.
>
>
> IP/UDP/RTP/data IP/ROHC/data
> SIP/RTP ------------------> IP/ROHC -------------...
> application tunnel
>
>
> IP/ROHC/data IP/UDP/RTP/data
> ..------------> IP/ROHC -----------------> SIP/RTP
> tunnel application
>
>
> Regards,
> Didier
>
> _______________________________________________
> Mailing list: https://launchpad.net/~rohc
> Post to : rohc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rohc
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References