Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] ethernet type

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Amit Paliwal <Amit.Paliwal@xxxxxxxxxxxxxxx>
Date: Wed, 4 Jul 2007 11:57:11 +0530


Hi,

I registered my proprietary protocol over ethernet and set its typw to say 0x0102.
to test my application i construct and send a raw ethernet packet from my machine(Windows XP)........

but wireshark captures ethernet type as 0x0201 which is the network order so i need to manipulate
my ethernet type to 0x0201, than wireshark receives it as 0x0102............

Intel machines probably uses little endian format.

I want to ask is there any provision in Wireshark's code that checks for it so that next time if from some other machine
ethernet typw will come it will see that it has to take it in little endian format or big endian format, or do i need to modify the code somewhere......
______________________________________________________________________
  • Follow-Ups:
    • Re: [Wireshark-dev] ethernet type
      • From: Gilbert Ramirez
    • Re: [Wireshark-dev] ethernet type
      • From: Joerg Mayer
  • Prev by Date: Re: [Wireshark-dev] 0.99.6 release postponed
  • Next by Date: Re: [Wireshark-dev] ethernet type
  • Previous by thread: Re: [Wireshark-dev] Wireshark 99.5 for HP-UX
  • Next by thread: Re: [Wireshark-dev] ethernet type
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation