XMOS daisy chain board ethernet type issue

If you have a simple question and just want an answer.
Post Reply
Bayanaa
Active Member
Posts: 33
Joined: Fri Feb 07, 2014 3:03 pm

XMOS daisy chain board ethernet type issue

Post by Bayanaa »

Hello all, I am using xmos daisy chain and using open avb under linux.
openavb example compares xmos ethernet type with openavb predefined ethernet type (u_char glob_ether_type[] = { 0x22, 0xf0 }; ) in order to extract audio samples.
 
in xmos definition of ethernet types are following as in the daisy chain source code.
 

Code: Select all

in daisy chain source code:
#define AVB_1722_ETHERTYPE          (0x22f0)
and for srp ethernet type :
#define AVB_SRP_ETHERTYPE           (0x22ea)
 
1.which one of these two ethernet type address I can get on computer?
 
When I use wireshark, it does not show above ethernet type values. It shows 0x2c,0x4c,0x00,0x36 instead. etc.
 
in the source code of daisy chain ethernet type addresses are bitwise right shifted (>> 8, and masked & 0xff).
What does (>> 8) and (& 0xff) doing exactly?
2. because of above operations, I cannot receive the 0x22f0 on wireshark result?
I attached the wireshark capture file. Please see and help me to resolve this issue.
 
Thank you.
Attachments
wshrk1.pcapng.tar_.gz
(1.67 KiB) Downloaded 361 times
wshrk1.pcapng.tar_.gz
(1.67 KiB) Downloaded 361 times


Post Reply