Home
last modified time | relevance | path

Searched refs:prefix_count (Results 1 – 3 of 3) sorted by relevance

/xnu-11417.121.6/bsd/net/
H A Dtrie_utility.c110 net_trie_init(struct net_trie *new_trie, size_t prefix_count, size_t leaf_count, size_t bytes_count) in net_trie_init() argument
130 if (new_trie == NULL || prefix_count <= 0 || leaf_count <= 0 || bytes_count <= 0) { in net_trie_init()
135 if (os_add3_overflow(prefix_count, leaf_count, 1, &nodes_count)) { /* + 1 for the root node */ in net_trie_init()
140 if (os_add_overflow(prefix_count, 1, &maps_count)) { /* + 1 for the root node */ in net_trie_init()
H A Dtrie_utility.h87 boolean_t net_trie_init(struct net_trie *new_trie, size_t prefix_count, size_t leaf_count, size_t b…
/xnu-11417.121.6/bsd/netinet/
H A Dflow_divert.c3045 int prefix_count = -1; in flow_divert_handle_app_map_create() local
3063 …t_get_tlv(packet, offset, FLOW_DIVERT_TLV_PREFIX_COUNT, sizeof(prefix_count), &prefix_count, NULL); in flow_divert_handle_app_map_create()
3065 if (prefix_count < 0 || error) { in flow_divert_handle_app_map_create()
3066 …d prefix count (%d) or an error occurred while reading the prefix count: %d", prefix_count, error); in flow_divert_handle_app_map_create()
3096 …if (os_add3_overflow(prefix_count, signing_id_count, 1, &nodes_count)) { /* + 1 for the root node … in flow_divert_handle_app_map_create()
3102 if (os_add_overflow(prefix_count, 1, &maps_count)) { /* + 1 for the root node */ in flow_divert_handle_app_map_create()