doubt

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

 







dear sir,
             I have the following doubt on Linux Kernel..


I am doing the header compression at kernel level for VoIP packets.. The
packet which comes juat after IP layer consists of RTP header(12 bytes),
UDP header(8 bytes) and IP header (20 bytes).. After addition of all the
headers it goes to ethernet layer. Now what I have done is I am detaching
all the headers ( RTP/UDP/IP) and adding a compressed RTP header as per RFC
2508 (cRTP). The problem I am facing is in ethernet layer...
my doubt is.

1) If I am sending a compressed packet from transmitting end then how the
receiving side will come to know that it is a ful packet or compressed
packet???

2) As defined in the header file ifether.h so many ethernet packet types ,
if I use my own definition for full RTP packet & compressed RTP packet,
will it work...???

I have written the compression code at transmitter as well as at
receiver..but the problem is ion ethernet layer the packet type what I am
setting is not reflected at the receiver.. How can I transmit the packet
type on ethernet layer??


please clarify my doubts at which I have strucked up.. please answer my
query for which I will be grateful to you..I am eagerly waiting for the
answer..



regards
debarchan  dash
software engineer
Larsen & Toubro Infotech Limited
Bangalore, India

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux