Home
last modified time | relevance | path

Searched refs:poep_code (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoed.c325 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()
H A Dpppoec.c1494 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()
H A Dcommon.h87 #define poe_code(p) ((p)->poep_code)
H A Dcommon.c159 poep->poep_code = codeval; in poe_mkheader()
H A Doptions.c1899 ispadi = poep->poep_code == POECODE_PADI; in locate_service()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c332 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()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_pppoe.c93 uint8_t code = poep->poep_code; in interpret_pppoe()
128 if (poep->poep_code != 0 && poep->poep_length > 0) { in interpret_pppoe()
133 if (poep->poep_code == 0) { in interpret_pppoe()
/illumos-gate/usr/src/uts/common/net/
H A Dpppoe.h52 uint8_t poep_code; /* POECODE_* below */ member
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c941 poep->poep_code = POECODE_DATA; in sppptun_outpkt()
969 ((poep_t *)datamb->b_rptr)->poep_code == in sppptun_outpkt()
2105 isdata = (poep->poep_code == POECODE_DATA); in sppptun_recv()
2109 i = poep->poep_code; in sppptun_recv()