Lines Matching refs:session
209 * Find the interface handling the specified session.
215 pppoe_find_softc_by_session(u_int session, struct netif *rcvif)
219 if (session == 0) {
225 && sc->sc_session == session) {
259 PPPDEBUG(LOG_DEBUG, ("pppoe: alien host unique tag, no session found\n"));
283 /* analyze and handle a single received packet while not in session state */
288 u16_t session, plen;
320 session = 0;
331 session = ntohs(ph->session);
521 sc->sc_session = session;
523 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));
535 printf("%c%c%"U16_F": unknown code (0x%"X16_F") session = 0x%"X16_F"\n",
537 (u16_t)ph->code, session);
539 printf("pppoe: unknown code (0x%"X16_F") session = 0x%"X16_F"\n", (u16_t)ph->code, session);
563 u16_t session, plen;
601 session = ntohs(ph->session);
602 sc = pppoe_find_softc_by_session(session, netif);
605 printf("pppoe: input for unknown session 0x%x, sending PADT\n", session);
606 pppoe_send_padt(netif, session, shost);
654 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",
947 pppoe_send_padt(struct netif *outgoing_if, u_int session, const u8_t *dest)
966 PPPOE_ADD_HEADER(p, PPPOE_CODE_PADT, session, 0);
1117 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));