Searched refs:poep_code (Results 1 – 9 of 9) sorted by relevance
325 if (poep->poep_code == POECODE_PADI) { in handle_input()327 } else if (poep->poep_code == POECODE_PADR) { in handle_input()331 poe_codename(poep->poep_code), ehost(&ptc->ptc_address)); in handle_input()335 poe_codename(poep->poep_code)); in handle_input()345 if (retv <= 0 && poep->poep_code == POECODE_PADI) { in handle_input()354 if (poep->poep_code == POECODE_PADR) { in handle_input()381 ptc->ptc_name, poe_codename(poep->poep_code)); in handle_input()
1494 myname, poe_codename(poep->poep_code), in find_server()1499 if ((poep->poep_code == POECODE_PADT || in find_server()1500 poep->poep_code == POECODE_PADS) && in find_server()1514 if (poep->poep_code == POECODE_PADS) { in find_server()1535 switch (poep->poep_code) { in find_server()1564 poe_codename(poep->poep_code), in find_server()1565 poep->poep_code); in find_server()
89 #define poe_code(p) ((p)->poep_code)
161 poep->poep_code = codeval; in poe_mkheader()
1898 ispadi = poep->poep_code == POECODE_PADI; in locate_service()
332 switch (poep->poep_code) { in handle_pppoe_input()345 if (poep->poep_code == POECODE_PADM) { in handle_pppoe_input()380 if (poep->poep_code == POECODE_PADM) { in handle_pppoe_input()391 if (poep->poep_code == POECODE_PADM) { in handle_pppoe_input()398 warn("unexpected PPPoE code %d from %s", poep->poep_code, in handle_pppoe_input()
95 uint8_t code = poep->poep_code; in interpret_pppoe()130 if (poep->poep_code != 0 && poep->poep_length > 0) { in interpret_pppoe()135 if (poep->poep_code == 0) { in interpret_pppoe()
54 uint8_t poep_code; /* POECODE_* below */ member
940 poep->poep_code = POECODE_DATA; in sppptun_outpkt()968 ((poep_t *)datamb->b_rptr)->poep_code == in sppptun_outpkt()2101 isdata = (poep->poep_code == POECODE_DATA); in sppptun_recv()2105 i = poep->poep_code; in sppptun_recv()