Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/net/
H A Dif_utun.c1490 struct utun_pcb *next_pcb = NULL; in utun_find_by_unit() local
1493 TAILQ_FOREACH(next_pcb, &utun_head, utun_chain) { in utun_find_by_unit()
1494 if (next_pcb->utun_unit == unit) { in utun_find_by_unit()
1553 struct utun_pcb *next_pcb = TAILQ_LAST(&utun_head, utun_list); in utun_ctl_setup() local
1554 if (next_pcb != NULL) { in utun_ctl_setup()
1556 chosen_unique_id = next_pcb->utun_unique_id + 1; in utun_ctl_setup()
1557 next_pcb = NULL; in utun_ctl_setup()
1566 TAILQ_FOREACH(next_pcb, &utun_head, utun_chain) { in utun_ctl_setup()
1567 if (next_pcb->utun_unique_id > chosen_unique_id) { in utun_ctl_setup()
1572 chosen_unique_id = next_pcb->utun_unique_id + 1; in utun_ctl_setup()
[all …]
H A Dif_ipsec.c2524 struct ipsec_pcb *next_pcb = NULL; in ipsec_find_by_unit() local
2527 TAILQ_FOREACH(next_pcb, &ipsec_head, ipsec_chain) { in ipsec_find_by_unit()
2528 if (next_pcb->ipsec_unit == unit) { in ipsec_find_by_unit()
2589 struct ipsec_pcb *next_pcb = TAILQ_LAST(&ipsec_head, ipsec_list); in ipsec_ctl_setup() local
2590 if (next_pcb != NULL) { in ipsec_ctl_setup()
2592 chosen_unique_id = next_pcb->ipsec_unique_id + 1; in ipsec_ctl_setup()
2593 next_pcb = NULL; in ipsec_ctl_setup()
2602 TAILQ_FOREACH(next_pcb, &ipsec_head, ipsec_chain) { in ipsec_ctl_setup()
2603 if (next_pcb->ipsec_unique_id > chosen_unique_id) { in ipsec_ctl_setup()
2608 chosen_unique_id = next_pcb->ipsec_unique_id + 1; in ipsec_ctl_setup()
[all …]