Home
last modified time | relevance | path

Searched refs:flowhash (Results 1 – 11 of 11) sorted by relevance

/xnu-11215/bsd/kern/
H A Dsocket_flows.c477 struct soflow_hash_head *flowhash = NULL; in soflow_db_free() local
486 flowhash = &db->soflow_db_hashbase[i]; in soflow_db_free()
556 struct soflow_hash_head *flowhash = NULL; in soflow_db_lookup_entry_internal() local
588 flowhash = &db->soflow_db_hashbase[inp_hash_element]; in soflow_db_lookup_entry_internal()
623 struct soflow_hash_head *flowhash = NULL; in soflow_db_lookup_by_feature_context_id() local
628 flowhash = &db->soflow_db_hashbase[inp_hash_element]; in soflow_db_lookup_by_feature_context_id()
725 struct soflow_hash_head *flowhash = NULL; in soflow_db_add_entry() local
1379 struct soflow_hash_head *flowhash = NULL; in soflow_gc_cleanup() local
1402 flowhash = &db->soflow_db_hashbase[i]; in soflow_gc_cleanup()
1521 struct soflow_hash_head *flowhash = NULL; in soflow_db_apply() local
[all …]
/xnu-11215/bsd/netinet/
H A Din_pcb.c3486 u_int32_t flowhash = 0; in inp_calc_flowhash()
3507 if (flowhash == 0) { in inp_calc_flowhash()
3513 inp->inp_flowhash = flowhash; in inp_calc_flowhash()
3535 return flowhash; in inp_calc_flowhash()
3541 inp_flowadv(uint32_t flowhash) in inp_flowadv() argument
3545 inp = inp_fc_getinp(flowhash, 0); in inp_flowadv()
3570 key_inp.inp_flowhash = flowhash; in inp_fc_getinp()
3745 u_int32_t flowhash = inp->inp_flowhash; in inp_flush() local
3754 if (flowhash == 0) { in inp_flush()
3822 if (!flowhash) { in inp_findinpcb_procinfo()
[all …]
/xnu-11215/bsd/net/
H A Dpf.c428 pd->flowhash = (*state)->state_key->flowhash; \
2211 if (flowhash == 0) { in pf_calc_state_key_flowhash()
2217 return flowhash; in pf_calc_state_key_flowhash()
4421 sk->flowhash = 0; in pf_state_key_release_flowid()
4480 sk->flowhash = psk->flowhash; in pf_alloc_state_key()
5733 psk.flowhash = pd->flowhash; in pf_test_rule()
5740 pd->flowhash = 0; in pf_test_rule()
5998 pd->flowhash = sk->flowhash; in pf_test_rule()
7706 pd->flowhash = (*state)->state_key->flowhash; in pf_test_state_udp()
8419 pd->flowhash = (*state)->state_key->flowhash; in pf_test_state_icmp()
[all …]
H A Dnecp.c10554 inp->inp_policyresult.flowhash = 0; in necp_socket_find_policy_match()
10588 inp->inp_policyresult.flowhash == flowhash) { in necp_socket_find_policy_match()
10687 inp->inp_policyresult.flowhash = flowhash; in necp_socket_find_policy_match()
10732 inp->inp_policyresult.flowhash = flowhash; in necp_socket_find_policy_match()
10785 inp->inp_policyresult.flowhash = flowhash; in necp_socket_find_policy_match()
10800 inp->inp_policyresult.flowhash = flowhash; in necp_socket_find_policy_match()
10822 inp->inp_policyresult.flowhash = flowhash; in necp_socket_find_policy_match()
10841 inp->inp_policyresult.flowhash = flowhash; in necp_socket_find_policy_match()
12732 u_int32_t flowhash = 0; in necp_socket_is_allowed_to_send_recv_internal() local
12857 inp->inp_policyresult.flowhash == flowhash) { in necp_socket_is_allowed_to_send_recv_internal()
[all …]
H A Dpfvar.h1018 u_int32_t flowhash; member
1153 u_int32_t flowhash; member
1465 u_int32_t flowhash; /* flow hash to identify the sender */ member
H A Ddlil.c11256 ifnet_flowadv(uint32_t flowhash) in ifnet_flowadv() argument
11261 ifce = ifnet_fc_get(flowhash); in ifnet_flowadv()
11297 uint32_t flowhash; in ifnet_fc_add() local
11301 flowhash = ifp->if_flowhash; in ifnet_fc_add()
11304 keyfc.ifce_flowhash = flowhash; in ifnet_fc_add()
11329 ifce->ifce_flowhash = flowhash; in ifnet_fc_add()
11338 ifnet_fc_get(uint32_t flowhash) in ifnet_fc_get() argument
11344 keyfc.ifce_flowhash = flowhash; in ifnet_fc_get()
11385 uint32_t flowhash = 0; in ifnet_calc_flowhash() local
11405 if (flowhash == 0) { in ifnet_calc_flowhash()
[all …]
H A Dnecp.h1423 u_int32_t flowhash; member
H A Dpf_ioctl.c1281 sp->flowhash = sk->flowhash; in pf_state_export()
1340 ASSERT(sk->flowhash != 0); in pf_state_import()
H A Dcontent_filter.c1688 u_int32_t flowhash = (u_int32_t)(cfil_sock_id & 0x0ffffffff); in cfil_socket_from_sock_id() local
1701 inp->inp_flowhash == flowhash && in cfil_socket_from_sock_id()
1758 cfil_sock_id, gencnt, flowhash); in cfil_socket_from_sock_id()
/xnu-11215/bsd/conf/
H A DMakefile.template376 flowhash.o_CWARNFLAGS_ADD += -Wno-sign-conversion
H A Dfiles223 bsd/net/flowhash.c optional networking bound-checks