Mailing List archive

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

[linux-dvb] Re: IP Multicast reception over DVB-T



I don't have any experience with DVB packets, but if it looks anything like an multicast Ethernet frame then it should be:

<DA Mac address> <SA Mac address> <Ethertype> <IP headers>

MAC addresses are 6 bytes (48 bits)
For an IP multicast packet the multicast DA should be

01 00 5e xx xx xx

Where "xx xx xx" mapped from the least significat 3 bytes of the IP address


3e b5 4d 06 04 c1 00 00  02 5e 00 01 45 00 05 40    >.M......^..E..@
> 43 28 40 00 7e 11 0c 8b c0 a8 03 49 e0 02 04 06

It looks like you have:

3e b5 4d 06 04 c1 = Mac Source Address?
00 00 02 5e 00 01 = Multicast Mac Destination address byte reversed??
(I think it should actually be 01 00 5e 02 04 06)

[ Looks like "Ethertype" field is missing, should be 0x800 for normal IP over ethernet encapsulation - perhaps it is not included ]

45 = IPv4, header length 20 bytes
(9 bytes later)
11 = IP type field = 17 = UDP
0c 8b = IP Checksum
c0 a8 03 49 = 192.168.3.73 (IP Source - looks OK)
e0 02 04 06 = 224.2.4.6 (IP destination - looks OK)
Perhaps there are some byte and/or field ordering issues?

You should be able to do a comparison by doing the the same multicast on your LAN (over maybe even the loopback interface)

I'll download the ETSI spec and take another look later.

Jon








--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index