Lines Matching defs:session
86 uint16_t session;
105 #define PPPOE_TAG_RELAYSID 0x0110 /* relay session id */
175 int sc_state; /* discovery phase or session connected */
177 uint16_t sc_session; /* PPPoE session id */
189 callout_t sc_timeout; /* timeout while not in session state */
504 * Find the interface handling the specified session.
510 pppoe_find_softc_by_session(u_int session, struct ifnet *rcvif, krw_t lock)
514 if (session == 0)
520 && sc->sc_session == session
564 ", no session found\n");
626 /* analyze and handle a single received packet while not in session state */
631 uint16_t session, plen;
677 session = ntohs(ph->session);
1034 sc->sc_session = session;
1036 pppoe_printf(sc, "session 0x%x connected\n", session);
1048 sc = pppoe_find_softc_by_session(session, rcvif,
1083 pppoe_printf(sc, "unknown code (0x%04x) session = 0x%04x\n",
1084 ph->code, session);
1127 uint16_t session, plen;
1174 session = ntohs(ph->session);
1178 sc = pppoe_find_softc_by_session(session, rcvif, RW_READER);
1185 * session stage packets for other hosts when parent
1191 pppoe_printf(NULL, "input for unknown session %#x, "
1192 "sending PADT\n", session);
1193 pppoe_send_padt(rcvif, session, shost);
1264 DPRINTF(sc, "(%x) state=%d, session=0x%x output -> %s, len=%d\n",
1828 pppoe_send_padt(struct ifnet *outgoing_if, u_int session, const uint8_t *dest)
1839 PPPOE_ADD_HEADER(p, PPPOE_CODE_PADT, session, 0);
2100 pppoe_printf(sc, "session 0x%x terminated, %s\n",