summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2004-05-02 15:07:37 +0000
committerdarrenr <darrenr@FreeBSD.org>2004-05-02 15:07:37 +0000
commit4e8ce3156b2e721b2f1cd4901ca3c5dd63dfd15b (patch)
tree1dc4b2443af0e44a5b9be9952ecf4ea976c843d0 /sys
parent169828407e3ccfe5037f59a5dca3fe9fead9bf44 (diff)
downloadFreeBSD-src-4e8ce3156b2e721b2f1cd4901ca3c5dd63dfd15b.zip
FreeBSD-src-4e8ce3156b2e721b2f1cd4901ca3c5dd63dfd15b.tar.gz
oops, I forgot this file in a prior commit (change was still sitting here,
uncommitted): Rename ip_claim_next_hop() to m_claim_next_hop(), give it an extra arg (the type of tag to claim) and push it out of ip_var.h into mbuf.h alongside all of the other macros that work ok mbuf's and tag's.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_input.c2
-rw-r--r--sys/netinet/tcp_reass.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index d0c1f9b..967da22 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -445,7 +445,7 @@ tcp_input(m, off0)
#endif
/* Grab info from PACKET_TAG_IPFORWARD tag prepended to the chain. */
- next_hop = ip_claim_next_hop(m);
+ next_hop = m_claim_next_hop(m, PACKET_TAG_IPFORWARD);
#ifdef INET6
isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0;
#endif
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index d0c1f9b..967da22 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -445,7 +445,7 @@ tcp_input(m, off0)
#endif
/* Grab info from PACKET_TAG_IPFORWARD tag prepended to the chain. */
- next_hop = ip_claim_next_hop(m);
+ next_hop = m_claim_next_hop(m, PACKET_TAG_IPFORWARD);
#ifdef INET6
isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0;
#endif
OpenPOWER on IntegriCloud