Home
last modified time | relevance | path

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

/xnu-8796.121.2/bsd/netinet/
H A Dflow_divert.c227 struct flow_divert_pcb *fd_cb = NULL; in flow_divert_pcb_lookup() local
232 fd_cb = RB_FIND(fd_pcb_tree, &group->pcb_tree, &key_item); in flow_divert_pcb_lookup()
233 FDRETAIN(fd_cb); in flow_divert_pcb_lookup()
236 return fd_cb; in flow_divert_pcb_lookup()
240 flow_divert_group_lookup(uint32_t ctl_unit, struct flow_divert_pcb *fd_cb) in flow_divert_group_lookup() argument
245 if (fd_cb != NULL) { in flow_divert_group_lookup()
246 FDLOG0(LOG_ERR, fd_cb, "No active groups, flow divert cannot be used for this socket"); in flow_divert_group_lookup()
249 FDLOG(LOG_ERR, fd_cb, "Cannot lookup group with invalid control unit (%u)", ctl_unit); in flow_divert_group_lookup()
253 if (fd_cb != NULL) { in flow_divert_group_lookup()
254 …FDLOG(LOG_ERR, fd_cb, "Group for control unit %u is NULL, flow divert cannot be used for this sock… in flow_divert_group_lookup()
[all …]