Found 2 other functions taking a
tcp_pcb_listen
argument:
Called by tcp_input() when a segment arrives for a listening connection (from tcp_input()).
Called when a listen pcb is closed. Iterates one pcb list and removes the closed listener pcb from pcb->listener if matching.