Lines Matching refs:tpl
547 struct tcpcb_listen *tpl = &GetTcbListen(); in Initialize() local
555 memset(tpl, 0x00, sizeof(struct tcpcb_listen)); in Initialize()
556 tpl->instance = &aInstance; in Initialize()
568 struct tcpcb_listen *tpl = &GetTcbListen(); in Listen() local
572 memcpy(&tpl->laddr, &aSockName.mAddress, sizeof(tpl->laddr)); in Listen()
573 tpl->lport = port; in Listen()
574 tpl->t_state = TCP6S_LISTEN; in Listen()
583 struct tcpcb_listen *tpl = &GetTcbListen(); in StopListening() local
585 memset(&tpl->laddr, 0x00, sizeof(tpl->laddr)); in StopListening()
586 tpl->lport = 0; in StopListening()
587 tpl->t_state = TCP6S_CLOSED; in StopListening()
614 const struct tcpcb_listen *tpl = &GetTcbListen(); in Matches() local
616 VerifyOrExit(tpl->t_state == TCP6S_LISTEN); in Matches()
617 VerifyOrExit(tpl->lport == HostSwap16(aMessageInfo.GetSockPort())); in Matches()
689 struct tcpcb_listen *tpl = &listener->GetTcbListen(); in HandleMessage() local
692 nextAction = tcp_input(ip6Header, tcpHeader, &aMessage, nullptr, tpl, &sig); in HandleMessage()
801 struct tcpcb_listen *tpl = &listener.GetTcbListen(); in CanBind() local
803 if (tpl->lport == port) in CanBind()
806 VerifyOrExit(!reinterpret_cast<Address *>(&tpl->laddr)->IsUnspecified()); in CanBind()
807 VerifyOrExit(memcmp(&tpl->laddr, &aSockName.mAddress, sizeof(tpl->laddr)) != 0); in CanBind()