Searched refs:next_pcb (Results 1 – 2 of 2) sorted by relevance
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_utun.c | 1491 struct utun_pcb *next_pcb = NULL; in utun_find_by_unit() local 1494 TAILQ_FOREACH(next_pcb, &utun_head, utun_chain) { in utun_find_by_unit() 1495 if (next_pcb->utun_unit == unit) { in utun_find_by_unit() 1554 struct utun_pcb *next_pcb = TAILQ_LAST(&utun_head, utun_list); in utun_ctl_setup() local 1555 if (next_pcb != NULL) { in utun_ctl_setup() 1557 chosen_unique_id = next_pcb->utun_unique_id + 1; in utun_ctl_setup() 1558 next_pcb = NULL; in utun_ctl_setup() 1567 TAILQ_FOREACH(next_pcb, &utun_head, utun_chain) { in utun_ctl_setup() 1568 if (next_pcb->utun_unique_id > chosen_unique_id) { in utun_ctl_setup() 1573 chosen_unique_id = next_pcb->utun_unique_id + 1; in utun_ctl_setup() [all …]
|
| H A D | if_ipsec.c | 2525 struct ipsec_pcb *next_pcb = NULL; in ipsec_find_by_unit() local 2528 TAILQ_FOREACH(next_pcb, &ipsec_head, ipsec_chain) { in ipsec_find_by_unit() 2529 if (next_pcb->ipsec_unit == unit) { in ipsec_find_by_unit() 2590 struct ipsec_pcb *next_pcb = TAILQ_LAST(&ipsec_head, ipsec_list); in ipsec_ctl_setup() local 2591 if (next_pcb != NULL) { in ipsec_ctl_setup() 2593 chosen_unique_id = next_pcb->ipsec_unique_id + 1; in ipsec_ctl_setup() 2594 next_pcb = NULL; in ipsec_ctl_setup() 2603 TAILQ_FOREACH(next_pcb, &ipsec_head, ipsec_chain) { in ipsec_ctl_setup() 2604 if (next_pcb->ipsec_unique_id > chosen_unique_id) { in ipsec_ctl_setup() 2609 chosen_unique_id = next_pcb->ipsec_unique_id + 1; in ipsec_ctl_setup() [all …]
|