Subject: Re: patch for pre/post-IPSEC traffic with IPv4
To: Darren Reed <>
From: None <>
List: tech-net
Date: 05/02/2003 10:25:04
>> 	the best to perform bpf_mtap() is right before IF_ENQUEUE() in
>> 	esp[46]_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.