Re: Flow of broadcast/multicast packets in pf when a bridge is present

2019-12-28 Thread Andreas Longwitz
In the meantime I have understand I was wrong about the code snippet >mc2 = m_dup(m, M_NOWAIT); >if (mc2 != NULL) { > /* Keep the layer3 header aligned */ > int i = min(mc2->m_pkthdr.len, max_protohdr); > mc2 = m_copyup(mc2, i, ETHER_ALIGN); >} >if (mc2 != NULL) {

Re: Flow of broadcast/multicast packets in pf when a bridge is present

2019-12-28 Thread Kristof Provost
> On 28 Dec 2019, at 12:52, Andreas Longwitz wrote: > > In the meantime I have understand I was wrong about the code snippet > >> mc2 = m_dup(m, M_NOWAIT); >> if (mc2 != NULL) { >> /* Keep the layer3 header aligned */ >> int i = min(mc2->m_pkthdr.len, max_protohdr); >> mc2