version 1.43, 1999/07/01 08:12:51 |
version 1.44, 1999/07/05 07:24:38 |
|
|
#include <netinet/ip.h> |
#include <netinet/ip.h> |
#include <netinet/ip_var.h> |
#include <netinet/ip_var.h> |
#include <netinet/ip_mroute.h> |
#include <netinet/ip_mroute.h> |
|
#include <netinet/ip_icmp.h> |
#include <netinet/in_pcb.h> |
#include <netinet/in_pcb.h> |
#include <netinet/in_var.h> |
#include <netinet/in_var.h> |
|
|
|
|
#include <netinet6/ipsec.h> |
#include <netinet6/ipsec.h> |
#endif /*IPSEC*/ |
#endif /*IPSEC*/ |
|
|
|
extern u_char ip_protox[]; |
|
extern struct protosw inetsw[]; |
struct inpcbtable rawcbtable; |
struct inpcbtable rawcbtable; |
|
|
int rip_bind __P((struct inpcb *, struct mbuf *)); |
int rip_bind __P((struct inpcb *, struct mbuf *)); |
Line 202 rip_input(m, va_alist) |
|
Line 205 rip_input(m, va_alist) |
|
} else |
} else |
sorwakeup(last->inp_socket); |
sorwakeup(last->inp_socket); |
} else { |
} else { |
m_freem(m); |
if (inetsw[ip_protox[ip->ip_p]].pr_input == rip_input) { |
ipstat.ips_noproto++; |
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PROTOCOL,0,0); |
ipstat.ips_delivered--; |
ipstat.ips_noproto++; |
|
ipstat.ips_delivered--; |
|
} else |
|
m_freem(m); |
} |
} |
return; |
return; |
} |
} |