Subject: Re: patch for pre/post-IPSEC traffic with IPv4
To: None <email@example.com>
From: Darren Reed <firstname.lastname@example.org>
Date: 05/02/2003 11:59:42
In some mail from email@example.com, sie said:
> >> the best to perform bpf_mtap() is right before IF_ENQUEUE() in
> >> esp_input().
> >Is m_pkthdr.rcvif going to point to the correct interface at this point ?
> rcvif should already be set by L2 logic (ether driver like
> sys/dev/pci/if_de.c, or ppp driver like sys/net/if_spppsubr.c).
> IPsec tunnel decapsulation does not (and should not) change it,
> so the value should be the correct value already.
That's good...I'll need to look at the output path too, just to make
sure it's valid there as well.