From 7fbb1300490f4e375c98090bfe0b03e07c73b299 Mon Sep 17 00:00:00 2001 From: Darren Reed Date: Sun, 2 May 2004 15:07:37 +0000 Subject: [PATCH] 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. --- sys/netinet/tcp_input.c | 2 +- sys/netinet/tcp_reass.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index d0c1f9b2946..967da227522 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 d0c1f9b2946..967da227522 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