[Click] Accessing the ingress interface of a packet
Pekka Nikander
pekka.nikander at nomadiclab.com
Sat Jan 1 15:47:09 EST 2011
A typical way of doing that is to Paint the packet soon after receiving it from the interface, before muxing it with other traffic. You can the use a PaintSwitch to demux it according to the interface it came through.
--Pekka
On 2011-01 -01, at 22:26 , Philip Prindeville wrote:
> (Forgive the newbie questions... I'm having to learn Click in a hurry as I ramp up on a project.)
>
> Is there a built-in element that returns the ingress interface of a packet?
>
> I'm trying to write an elementclass in Click that modifies a packet and then sends it back out the same interface it came in on, but don't want to have one instance of it per-interface that it is used on.
>
> Thanks.
>
> -Philip
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list