version 1.37, 1996/09/30 16:16:45 |
version 1.38, 1996/10/16 19:33:39 |
|
|
* |
* |
* @(#)udp_usrreq.c 8.4 (Berkeley) 1/21/94 |
* @(#)udp_usrreq.c 8.4 (Berkeley) 1/21/94 |
*/ |
*/ |
#include "kgdb.h" |
#include "ipkdb.h" |
|
|
#include <sys/param.h> |
#include <sys/param.h> |
#include <sys/malloc.h> |
#include <sys/malloc.h> |
Line 281 udp_input(m, va_alist) |
|
Line 281 udp_input(m, va_alist) |
|
} |
} |
*ip = save_ip; |
*ip = save_ip; |
ip->ip_len += iphlen; |
ip->ip_len += iphlen; |
#if NKGDB > 0 |
#if NIPKDB > 0 |
if (checkkgdb(&ip->ip_src, |
if (checkipkdb(&ip->ip_src, |
uh->uh_sport, |
uh->uh_sport, |
uh->uh_dport, |
uh->uh_dport, |
m, |
m, |
iphlen + sizeof(struct udphdr), |
iphlen + sizeof(struct udphdr), |
len - sizeof(struct udphdr))) |
len - sizeof(struct udphdr))) |
/* It was a debugger connect packet, just drop it now */ |
/* It was a debugger connect packet, just drop it now */ |
goto bad; |
goto bad; |
#endif |
#endif |