poep_t
const poep_t *poep;
poep = (const poep_t *)data->buf;
tagp = (const uint8_t *)poep + offsetof(poep_t, poep_length);
poep_t *
poep_t *poep;
assert(dptr != NULL && IS_P2ALIGNED(dptr, sizeof (poep_t *)));
poep = (poep_t *)dptr;
poe_tagcheck(const poep_t *poep, int length, const uint8_t *tptr)
poe_tag_insert(poep_t *poep, uint16_t ttype, const void *data, size_t dlen)
poe_add_str(poep_t *poep, uint16_t ttype, const char *str)
poe_add_long(poep_t *poep, uint16_t ttype, uint32_t val)
poe_two_longs(poep_t *poep, uint16_t ttype, uint32_t val1, uint32_t val2)
poe_tag_copy(poep_t *poep, const uint8_t *tagp)
extern poep_t *poe_mkheader(void *dptr, uint8_t codeval, int sessionid);
extern boolean_t poe_tagcheck(const poep_t *poep, int length,
extern int poe_add_str(poep_t *poep, uint16_t ttype, const char *str);
extern int poe_add_long(poep_t *poep, uint16_t ttype, uint32_t val);
extern int poe_two_longs(poep_t *poep, uint16_t ttype, uint32_t val1,
extern int poe_tag_copy(poep_t *poep, const uint8_t *tagp);
locate_service(poep_t *poep, int plen, const char *iname, ppptun_atype *pap,
poep_t *opoe;
launch_service(int tunfd, poep_t *poep, void *srvp, struct ppptun_control *ptc)
poep_t *poep;
poep = (poep_t *)pkt_input;
const poep_t *poemsg_data; /* Pointer to PPPoE packet */
display_pppoe(FILE *out, const poep_t *poep, int plen, const ppptun_atype *pap)
send_pppoe(const poep_t *poep, const char *msgname,
poep_t *poep;
poep_t *poep;
poep = (poep_t *)pkt_input;
newmsg->poemsg_data = (const poep_t *)(newmsg + 1);
poep_t *poep;
poep_t *poep = (poep_t *)databuf;
(void) poe_add_str((poep_t *)pkt_output, POETT_NAMERR,
poep = (poep_t *)pkt_output;
extern int locate_service(poep_t *poep, int plen, const char *iname,
extern int launch_service(int tunfd, poep_t *poep, void *srvp,
extern int interpret_pppoe(int, poep_t *, int);
(void) interpret_pppoe(flags, (poep_t *)data, len);
len -= sizeof (poep_t);
interpret_pppoe(int flags, poep_t *poep, int len)
if (len < sizeof (poep_t))
payload = (uint8_t *)poep + sizeof (poep_t);
const poep_t *poep;
MBLKL(mp) < sizeof (poep_t)) &&
!pullupmsg(mp, sizeof (poep_t)))
poep = (const poep_t *)mp->b_rptr;
poep_t *poep;
poep = (poep_t *)mp->b_rptr;
((poep_t *)datamb->b_rptr)->poep_code ==