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.
This commit is contained in:
Darren Reed 2004-05-02 15:07:37 +00:00
parent 8acafdf5e7
commit 7fbb130049
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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