Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/tcp_syncache.c
Show First 20 Lines • Show All 771 Lines • ▼ Show 20 Lines | #endif | ||||
/* | /* | ||||
* If there's an mbuf and it has a flowid, then let's initialise the | * If there's an mbuf and it has a flowid, then let's initialise the | ||||
* inp with that particular flowid. | * inp with that particular flowid. | ||||
*/ | */ | ||||
if (m != NULL && M_HASHTYPE_GET(m) != M_HASHTYPE_NONE) { | if (m != NULL && M_HASHTYPE_GET(m) != M_HASHTYPE_NONE) { | ||||
inp->inp_flowid = m->m_pkthdr.flowid; | inp->inp_flowid = m->m_pkthdr.flowid; | ||||
inp->inp_flowtype = M_HASHTYPE_GET(m); | inp->inp_flowtype = M_HASHTYPE_GET(m); | ||||
#ifdef NUMA | |||||
inp->inp_numa_domain = m->m_pkthdr.numa_domain; | |||||
#endif | |||||
} | } | ||||
/* | /* | ||||
* Install in the reservation hash table for now, but don't yet | * Install in the reservation hash table for now, but don't yet | ||||
* install a connection group since the full 4-tuple isn't yet | * install a connection group since the full 4-tuple isn't yet | ||||
* configured. | * configured. | ||||
*/ | */ | ||||
inp->inp_lport = sc->sc_inc.inc_lport; | inp->inp_lport = sc->sc_inc.inc_lport; | ||||
▲ Show 20 Lines • Show All 1,510 Lines • Show Last 20 Lines |