summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-11-30 10:40:28 +0000
committerru <ru@FreeBSD.org>2001-11-30 10:40:28 +0000
commitcfe5212a8b36139b260e85fe117efef6bbbc5a4b (patch)
tree82b53760121aef4c5d76f4488915d6330e0edb1b /sys/netinet/ip_var.h
parentdedc5f403f182feca669fb72974226b658f334af (diff)
downloadFreeBSD-src-cfe5212a8b36139b260e85fe117efef6bbbc5a4b.zip
FreeBSD-src-cfe5212a8b36139b260e85fe117efef6bbbc5a4b.tar.gz
- Make ip_rtaddr() global, and use it to look up the correct source
address in icmp_reflect(). - Two new "struct icmpstat" members: icps_badaddr and icps_noroute. PR: kern/31575 Obtained from: BSD/OS MFC after: 1 week
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 2a84b38..d8f7a0b 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -164,6 +164,8 @@ extern int (*ip_mforward) __P((struct ip *, struct ifnet *, struct mbuf *,
struct ip_moptions *));
int ip_output __P((struct mbuf *,
struct mbuf *, struct route *, int, struct ip_moptions *));
+struct in_ifaddr *
+ ip_rtaddr __P((struct in_addr, struct route *));
void ip_savecontrol __P((struct inpcb *, struct mbuf **, struct ip *,
struct mbuf *));
void ip_slowtimo __P((void));
OpenPOWER on IntegriCloud