summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.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_input.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_input.c')
-rw-r--r--sys/netinet/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index a4b5844..063bfa4 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -318,7 +318,7 @@ ip_input(struct mbuf *m)
M_ASSERTPKTHDR(m);
- args.next_hop = ip_claim_next_hop(m);
+ args.next_hop = m_claim_next_hop(m, PACKET_TAG_IPFORWARD);
args.rule = ip_dn_claim_rule(m);
if (m->m_flags & M_FASTFWD_OURS) {
OpenPOWER on IntegriCloud