Lines Matching defs:session
146 static struct pppoe_softc* pppoe_find_softc_by_session(u_int session, struct netif *rcvif);
315 * Find the interface handling the specified session.
320 static struct pppoe_softc* pppoe_find_softc_by_session(u_int session, struct netif *rcvif) {
325 && sc->sc_session == session
350 PPPDEBUG(LOG_DEBUG, ("pppoe: alien host unique tag, no session found\n"));
368 /* analyze and handle a single received packet while not in session state */
373 u16_t session, plen;
405 session = 0;
417 session = lwip_ntohs(ph->session);
613 sc->sc_session = session;
615 PPPDEBUG(LOG_DEBUG, ("pppoe: %c%c%"U16_F": session 0x%x connected\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, session));
621 * that PPP session is down. Asking the PPP stack to end the session
634 PPPDEBUG(LOG_DEBUG, ("%c%c%"U16_F": unknown code (0x%"X16_F") session = 0x%"X16_F"\n",
636 (u16_t)ph->code, session));
638 PPPDEBUG(LOG_DEBUG, ("pppoe: unknown code (0x%"X16_F") session = 0x%"X16_F"\n", (u16_t)ph->code, session));
651 u16_t session, plen;
682 session = lwip_ntohs(ph->session);
683 sc = pppoe_find_softc_by_session(session, netif);
686 PPPDEBUG(LOG_DEBUG, ("pppoe: input for unknown session 0x%x, sending PADT\n", session));
687 pppoe_send_padt(netif, session, shost);
738 PPPDEBUG(LOG_DEBUG, ("pppoe: %c%c%"U16_F" (%x) state=%d, session=0x%x output -> %02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F", len=%d\n",
1031 pppoe_send_padt(struct netif *outgoing_if, u_int session, const u8_t *dest)
1056 PPPOE_ADD_HEADER(p, PPPOE_CODE_PADT, session, 0);
1193 PPPDEBUG(LOG_DEBUG, ("pppoe: %c%c%"U16_F": session 0x%x terminated, %s\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, sc->sc_session, message));