summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2004-05-02 06:36:30 +0000
committerdarrenr <darrenr@FreeBSD.org>2004-05-02 06:36:30 +0000
commit8f62dbebe1b55307f420e4b9164fb86ec654824f (patch)
treea0e03ab4812c05ff712bfcffaddb0fcd9e1622f8 /sys/netinet/ip_output.c
parent4eddf7cee686c3991128069a01ffe77d4b9a21a6 (diff)
downloadFreeBSD-src-8f62dbebe1b55307f420e4b9164fb86ec654824f.zip
FreeBSD-src-8f62dbebe1b55307f420e4b9164fb86ec654824f.tar.gz
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/netinet/ip_output.c')
-rw-r--r--sys/netinet/ip_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index d57b749..12fb495 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -157,7 +157,7 @@ ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro,
M_ASSERTPKTHDR(m);
- args.next_hop = ip_claim_next_hop(m);
+ args.next_hop = m_claim_next_hop(m, PACKET_TAG_IPFORWARD);
dummytag = m_tag_find(m, PACKET_TAG_DUMMYNET, NULL);
if (dummytag != NULL) {
struct dn_pkt_tag *dt = (struct dn_pkt_tag *)(dummytag+1);
OpenPOWER on IntegriCloud