Return to ip_input.c CVS log | Up to [cvs.NetBSD.org] / src / sys / netinet |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.3, 1993/05/20 03:50:25 | version 1.3.4.2, 1993/11/14 17:54:46 | ||
---|---|---|---|
|
|
||
#include "time.h" | #include "time.h" | ||
#include "kernel.h" | #include "kernel.h" | ||
#include "machine/cpu.h" | |||
#include "../net/if.h" | #include "../net/if.h" | ||
#include "../net/route.h" | #include "../net/route.h" | ||
|
|
||
register struct ipq *fp; | register struct ipq *fp; | ||
register struct in_ifaddr *ia; | register struct in_ifaddr *ia; | ||
int hlen, s; | int hlen, s; | ||
#ifdef PARANOID | #ifdef DIAGNOSTIC | ||
static int busy = 0; | static int busy = 0; | ||
if (busy) | if (busy) | ||
|
|
||
IF_DEQUEUE(&ipintrq, m); | IF_DEQUEUE(&ipintrq, m); | ||
splx(s); | splx(s); | ||
if (m == 0) { | if (m == 0) { | ||
#ifdef PARANOID | #ifdef DIAGNOSTIC | ||
--busy; | --busy; | ||
#endif | #endif | ||
return; | return; |