From: 08beesmmkazmi@seecs.edu.pk (Syed Muhammad Mohsin Kazmi)
To: kernelnewbies@lists.kernelnewbies.org
Subject: problem regarding ether_type
Date: Sun, 26 Feb 2012 22:35:23 +0500 [thread overview]
Message-ID: <CAAZheXm3n0j2QqiUuaPD5DjZui-PXKCkcTA63225o+vUuidZCA@mail.gmail.com> (raw)
Hi,
I am trying to write down the very basic version of TRILL in linux.
TRILL is a protocol which encapsulates the entire packet including ethernet
header to forward it to end nodes without the danger of temporary loops.
Then it is decapsulated at the bridge having the end host for which the
packet is being destined.
I have written a sample module which encapsulates the entire packet with
TRILL header over that a new ethernet header. The ether_type of TRILL is
0x88c8. I have put it in ether_type of mac_header. when i ping from one
machine to another one, the bridging module having TRILL hooks,
encapsulates the packets and send them to forwarding function (br_forward)
in bridge. I am not recalculating the checksum. I receive the packets on
other bridge but hook in br_handle_frame function to decapsulate the
TRILL encapsulated traffic. I use a check of ether_type == ETHERTYPE_TRILL
before calling decapsulating function. But it does not enter into the check
to call the decapsulating function.
I don't know what is going wrong with it. any idea and help regarding this
problem?
Thanks in advance...!
Regards,
Syed M. Mohsin Kazmi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120226/4a11ac17/attachment.html
reply other threads:[~2012-02-26 17:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAZheXm3n0j2QqiUuaPD5DjZui-PXKCkcTA63225o+vUuidZCA@mail.gmail.com \
--to=08beesmmkazmi@seecs.edu.pk \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).