Lines Matching defs:session

146 static struct pppoe_softc* pppoe_find_softc_by_session(u_int session, struct netif *rcvif);
317 * Find the interface handling the specified session.
322 static struct pppoe_softc* pppoe_find_softc_by_session(u_int session, struct netif *rcvif) {
327 && sc->sc_session == session
352 PPPDEBUG(LOG_DEBUG, ("pppoe: alien host unique tag, no session found\n"));
370 /* analyze and handle a single received packet while not in session state */
375 u16_t session, plen;
411 session = 0;
422 session = lwip_ntohs(ph->session);
614 sc->sc_session = session;
616 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));
622 * that PPP session is down. Asking the PPP stack to end the session
635 PPPDEBUG(LOG_DEBUG, ("%c%c%"U16_F": unknown code (0x%"X16_F") session = 0x%"X16_F"\n",
637 (u16_t)ph->code, session));
639 PPPDEBUG(LOG_DEBUG, ("pppoe: unknown code (0x%"X16_F") session = 0x%"X16_F"\n", (u16_t)ph->code, session));
652 u16_t session, plen;
683 session = lwip_ntohs(ph->session);
684 sc = pppoe_find_softc_by_session(session, netif);
687 PPPDEBUG(LOG_DEBUG, ("pppoe: input for unknown session 0x%x, sending PADT\n", session));
688 pppoe_send_padt(netif, session, shost);
739 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",
1029 pppoe_send_padt(struct netif *outgoing_if, u_int session, const u8_t *dest)
1049 PPPOE_ADD_HEADER(p, PPPOE_CODE_PADT, session, 0);
1186 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));