Hello list,
I am trying to port some code that I wrote from 5.0 to 5.2. What is the
equivalent of the code below for 5.2.
5.0:
ifq = &ipintrq;
s = splnet();
if (_IF_QFULL(ifq)) {
_IF_DROP(ifq);
m_freem(m);
} else {
IF_ENQUEUE(ifq,m);
}
splx(s);
5.2: ??????
if (!netisr_queue(NETISR_IP, m)) {
printf("%s: queue full", __FUNCTION__)
return ENOBUFS;
}
Thank you,
Jerry