[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51E55D91.5050000@redhat.com>
Date: Tue, 16 Jul 2013 16:49:53 +0200
From: Daniel Borkmann <dborkman@...hat.com>
To: Vladimir Kondratiev <qca_vkondrat@....qualcomm.com>
CC: netdev@...r.kernel.org, Jiri Pirko <jpirko@...hat.com>
Subject: Re: [patch net-next v2] nlmon: use standard rtnetlink link api for
add/del devices
On 07/16/2013 04:08 PM, Vladimir Kondratiev wrote:
> Jiri Pirko <jiri <at> resnulli.us> writes:
>
>> It is not nice when netdev is created right after module load and with
>> some implicit name. So rather change nlmon to use standard rtnl link API.
>
> Could you please elaborate a bit - how to capture netlink skb's after your
> patch? Before, it was netdev that may be used with tcpdump. Now, there is
> no such netdev. How to create it?
modprobe nlmon
ip link add type nlmon
ip link set nlmon0 up
tcpdump -i nlmon0 ....
ip link set nlmon0 down
ip link del dev nlmon0
rmmod nlmon
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists