[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190624.072918.1626161455453937687.davem@davemloft.net>
Date: Mon, 24 Jun 2019 07:29:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: john.rutherford@...tech.com.au
Cc: netdev@...r.kernel.org
Subject: Re: [net-next v2] tipc: add loopback device tracking
From: john.rutherford@...tech.com.au
Date: Mon, 24 Jun 2019 16:44:35 +1000
> Since node internal messages are passed directly to socket it is not
> possible to observe this message exchange via tcpdump or wireshark.
>
> We now remedy this by making it possible to clone such messages and send
> the clones to the loopback interface. The clones are dropped at reception
> and have no functional role except making the traffic visible.
>
> The feature is turned on/off by enabling/disabling the loopback "bearer"
> "eth:lo".
>
> Acked-by: Jon Maloy <jon.maloy@...csson.com>
> Signed-off-by: John Rutherford <john.rutherford@...tech.com.au>
What a waste, just clone the packet, attach loopback to it, and go:
if (dev_nit_active(loopback_dev))
dev_queue_xmit_nit(skb, loopback_dev);
Powered by blists - more mailing lists