From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: "'Herbert Xu'" <herbert@gondor.apana.org.au>, netdev@vger.kernel.org
Subject: Re: raw PF_PACKET protocol selection
Date: Tue, 9 Oct 2007 11:13:38 +0400 [thread overview]
Message-ID: <20071009071338.GA15057@2ka.mipt.ru> (raw)
In-Reply-To: <00ac01c80a3a$cc83a6a0$04ac10ac@Jocke>
On Tue, Oct 09, 2007 at 08:08:22AM +0200, Joakim Tjernlund (joakim.tjernlund@transmode.se) wrote:
> > Your program works fine here. You did run it as root, right?
>
> Yes and ETH_P_ALL is the only protocol that prints anything
> I am on 2.6.22
ETH_P_ARP works too.
> > Did you try stracing it?
>
> Just did and now it works, it didn't yesterday :(
> But if I change protocol to ETH_P_MOBITEX, I don't get any
> pkgs(I did change protocol on sending side too)
Did you change eth_type_trans() to catch your proto?
--
Evgeniy Polyakov
next prev parent reply other threads:[~2007-10-09 7:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-08 18:36 raw PF_PACKET protocol selection Joakim Tjernlund
2007-10-09 3:17 ` Herbert Xu
2007-10-09 6:08 ` Joakim Tjernlund
2007-10-09 7:13 ` Evgeniy Polyakov [this message]
2007-10-09 7:27 ` Joakim Tjernlund
2007-10-09 7:34 ` Evgeniy Polyakov
2007-10-09 7:51 ` Joakim Tjernlund
2007-10-09 8:17 ` Evgeniy Polyakov
2007-10-09 9:00 ` Joakim Tjernlund
2007-10-09 7:56 ` Herbert Xu
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=20071009071338.GA15057@2ka.mipt.ru \
--to=johnpol@2ka.mipt.ru \
--cc=herbert@gondor.apana.org.au \
--cc=joakim.tjernlund@transmode.se \
--cc=netdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.