public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] batman-adv: Raw Socket Communication
Date: Fri, 30 Nov 2012 10:41:12 +0800	[thread overview]
Message-ID: <201211301041.12227.lindner_marek@yahoo.de> (raw)
In-Reply-To: <CALDpWg6Ci0DDUs=Y8TKWn98uwLXnhG1Mdb5NEje1jdvJJoiFdA@mail.gmail.com>


Hi,

> By looking at the packet.h from the batctl source code. I found this:
> 
> #define BATADV_ETH_P_BATMAN  0x4305 /* unofficial/not registered Ethertype
> */
> 
> I guess it would be the packet type batman would recognized. When I
> set the type to 0x4305.
> However, I cannot even see any output from the receiver side when I
> run batctl tcpdump bat0 on it.

you apparently have misunderstood the meaning of "batctl does not know your 
packet type". Even if you used wireshark or tcpdump or any other packet dump 
analyzer - nobody knows your packet because you just made it up yourself!

Now comes the funny part: Nobody needs to know your packet type except for 
your application! As long as your application can read what you are sending 
you are good.

If you have more questions I urge you to join our IRC channel (#batman on 
freenode) and continue the discussion there. You seem to be confused about 
what is going on.

Cheers,
Marek

      parent reply	other threads:[~2012-11-30  2:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28  4:15 [B.A.T.M.A.N.] batman-adv: Raw Socket Communication liu muye
2012-11-28  5:02 ` Marek Lindner
2012-11-28 23:02 ` liu muye
2012-11-28 23:09   ` liu muye
2012-11-28 23:18     ` Antonio Quartulli
2012-11-28 23:29     ` liu muye
2012-11-28 23:35       ` Antonio Quartulli
2012-11-28 23:48       ` liu muye
2012-11-28 23:56         ` Antonio Quartulli
2012-11-29  0:02         ` liu muye
2012-11-29  0:05           ` Antonio Quartulli
2012-11-29  0:09           ` liu muye
2012-11-29  2:49             ` liu muye
2012-11-29  3:25               ` Marek Lindner
2012-11-29  3:28                 ` Antonio Quartulli
2012-11-29 19:52               ` liu muye
2012-11-29 20:33                 ` Sven Eckelmann
2012-11-30  2:41                 ` Marek Lindner [this message]

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=201211301041.12227.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.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