Marion
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Snooping non-IP packets
Thanks Damjan !
Just to be sure, when I use the device-input feature arc thus --
VNET_FEATURE_INIT (myfeature, static) =
{
.arc_name = "device-input",
.node_name = "mynode",
Thanks Damjan !
Just to be sure, when I use the device-input feature arc thus --
VNET_FEATURE_INIT (myfeature, static) =
{
.arc_name = "device-input",
.node_name = "mynode",
.runs_before = VNET_FEATURES ("ethernet-input"),
};
I get to see only the non-IP packets inside
If by chance you are in a bridge setup, then you can use the new l2 feature arc
- there is an arc that sees exactly that - packets that are neither ipv4 nor
IPv6 - you can see the https://gerrit.fd.io/r/#/c/15165/ where I switched the
acl plugin over to it...
--a
> On 29 Oct 2018, at 19:01,
Yes, you can just use device-input feature arc instead.
Please note that packets on that arc are not (optionally) assigned to
sub-interfaces yet.
So if you have vlan subinterface, packets will show up as main interface
packets and with
original l2 header.
--
Damjan
> On 29 Oct 2018, at
Hi,
I am using DPDK Plugin
I want to write a node which will get to observe all the non-IP packets.
By observe, I mean that I want my node to see the non-IP packets, but
when I return from my node, the packets should traverse the original
graph of VPP which they would have followed had my node