svn commit: r327559 - in head: . sys/net
Navdeep Parhar
nparhar at gmail.com
Fri Jan 5 19:20:45 UTC 2018
On Fri, Jan 5, 2018 at 10:23 AM, Eugene Grosbein <eugen at grosbein.net> wrote:
> 06.01.2018 1:03, Steven Hartland wrote:
>
>> Is there a way to determine if the mbuf is a forwarded mbuf of not?
>
> Yes: m->m_pkthdr.rcvif is defined in case of forwarding.
> It is NULL for locally originated packets.
>
Can't rely on this any more:
150 union {
151 struct m_snd_tag *snd_tag; /* send tag, if any */
152 struct ifnet *rcvif; /* rcv interface */
153 };
Regards,
Navdeep
More information about the svn-src-all
mailing list