-
Notifications
You must be signed in to change notification settings - Fork 52
Add Realtek Ethernet switch tag link-layer header types. #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
95f175d to
3a76496
Compare
|
So do all packets begin with a 6-octet destination address, a 6-octet source address, and a 2-octet Ethernet type of 0x8899? And can you ever get a mixture of those packets and regular Ethernet packets when capturing? |
AFAIK, yes. I couldn't capture any frame that does not follow that sequence. I even wrote a wireshark dissector (lua):
It is not expected. I guess the switch would drop a packet from the CPU port without the proprietary tag. It would not know how to forward it. If it was the CPU (linux) that received it, the current driver will warn and possibly drop it. |
|
Please note that the packet diagrams, as they are now, display all fields 1 octet long (including MAC addresses and EtherType). To fix this, please look at the size ruler on the left side of the existing Marvell DSA packet diagram. Also it would be better to spell "Realktek" properly. |
Oh, I see. The +6, +1... I'll add them. Thanks If I do not use a custom DLT for this tag, where should I anchor a doc like this? |
|
https://en.wikipedia.org/wiki/Realtek_Remote_Control_Protocol seems to be appropriate. It is possible to format packet diagrams nicely in Mediawiki (example), although I do not remember ever trying that. In the most basic case a PRE block with ASCII art would be better than nothing, I guess. |
|
OK. Wikipedia it is. Thanks. Closing this PR |
|
Draft submitted: https://en.wikipedia.org/wiki/Draft:Realtek_Layer_2_Protocols |
|
See print-realtek.c in the main branch; I took print-rrcp.c and modified it to handle protocols other than RRCP, and added references to some Realtek documents describing RRCP, RLDP, and REP packets, as well as something that might describe one form of Realtek tag. If this doesn't make it into the Wikipedia (which it might not), then:
|
|
I'm reopening this for adding tag support to print-realtek.c. (I'd do it myself but I don't have files with which to test it.) |
|
Never mind, that's for tcpdump, not for tcpdump-htdocs. |

No description provided.