summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_icmp.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-05-04 13:09:19 +0000
committerandre <andre@FreeBSD.org>2005-05-04 13:09:19 +0000
commite6d10efc2a28df376035767e5e60dc1a717178c1 (patch)
treedf78b85af4d568fda8517c5409445b468d558251 /sys/netinet/ip_icmp.h
parentc9c0d4d0d6f2957fc31eff768b148f2b7bd0055a (diff)
downloadFreeBSD-src-e6d10efc2a28df376035767e5e60dc1a717178c1.zip
FreeBSD-src-e6d10efc2a28df376035767e5e60dc1a717178c1.tar.gz
Pass icmp_error() the MTU argument directly instead of
an interface pointer. This simplifies a couple of uses and removes some XXX workarounds.
Diffstat (limited to 'sys/netinet/ip_icmp.h')
-rw-r--r--sys/netinet/ip_icmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_icmp.h b/sys/netinet/ip_icmp.h
index 020dd96..e212083 100644
--- a/sys/netinet/ip_icmp.h
+++ b/sys/netinet/ip_icmp.h
@@ -202,7 +202,7 @@ struct icmp {
(type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
#ifdef _KERNEL
-void icmp_error(struct mbuf *, int, int, n_long, struct ifnet *);
+void icmp_error(struct mbuf *, int, int, n_long, int);
void icmp_input(struct mbuf *, int);
int ip_next_mtu(int, int);
#endif
OpenPOWER on IntegriCloud