Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/ip6_output.c
Show First 20 Lines • Show All 316 Lines • ▼ Show 20 Lines | ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, | ||||
if (inp != NULL) { | if (inp != NULL) { | ||||
INP_LOCK_ASSERT(inp); | INP_LOCK_ASSERT(inp); | ||||
M_SETFIB(m, inp->inp_inc.inc_fibnum); | M_SETFIB(m, inp->inp_inc.inc_fibnum); | ||||
if ((flags & IP_NODEFAULTFLOWID) == 0) { | if ((flags & IP_NODEFAULTFLOWID) == 0) { | ||||
/* unconditionally set flowid */ | /* unconditionally set flowid */ | ||||
m->m_pkthdr.flowid = inp->inp_flowid; | m->m_pkthdr.flowid = inp->inp_flowid; | ||||
M_HASHTYPE_SET(m, inp->inp_flowtype); | M_HASHTYPE_SET(m, inp->inp_flowtype); | ||||
} | } | ||||
#ifdef NUMA | |||||
m->m_pkthdr.numa_domain = inp->inp_numa_domain; | |||||
#endif | |||||
} | } | ||||
#if defined(IPSEC) || defined(IPSEC_SUPPORT) | #if defined(IPSEC) || defined(IPSEC_SUPPORT) | ||||
/* | /* | ||||
* IPSec checking which handles several cases. | * IPSec checking which handles several cases. | ||||
* FAST IPSEC: We re-injected the packet. | * FAST IPSEC: We re-injected the packet. | ||||
* XXX: need scope argument. | * XXX: need scope argument. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 2,814 Lines • Show Last 20 Lines |