Home
last modified time | relevance | path

Searched refs:poep_t (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.h76 extern poep_t *poe_mkheader(void *dptr, uint8_t codeval, int sessionid);
77 extern boolean_t poe_tagcheck(const poep_t *poep, int length,
79 extern int poe_add_str(poep_t *poep, uint16_t ttype, const char *str);
80 extern int poe_add_long(poep_t *poep, uint16_t ttype, uint32_t val);
81 extern int poe_two_longs(poep_t *poep, uint16_t ttype, uint32_t val1,
83 extern int poe_tag_copy(poep_t *poep, const uint8_t *tagp);
H A Dcommon.c150 poep_t *
153 poep_t *poep; in poe_mkheader()
156 assert(dptr != NULL && IS_P2ALIGNED(dptr, sizeof (poep_t *))); in poe_mkheader()
159 poep = (poep_t *)dptr; in poe_mkheader()
172 poe_tagcheck(const poep_t *poep, int length, const uint8_t *tptr) in poe_tagcheck()
201 poe_tag_insert(poep_t *poep, uint16_t ttype, const void *data, size_t dlen) in poe_tag_insert()
225 poe_add_str(poep_t *poep, uint16_t ttype, const char *str) in poe_add_str()
235 poe_add_long(poep_t *poep, uint16_t ttype, uint32_t val) in poe_add_long()
246 poe_two_longs(poep_t *poep, uint16_t ttype, uint32_t val1, uint32_t val2) in poe_two_longs()
261 poe_tag_copy(poep_t *poep, const uint8_t *tagp) in poe_tag_copy()
H A Dpppoed.h43 extern int locate_service(poep_t *poep, int plen, const char *iname,
45 extern int launch_service(int tunfd, poep_t *poep, void *srvp,
H A Dpppoed.c259 poep_t *poep = (poep_t *)databuf; in handle_input()
350 (void) poe_add_str((poep_t *)pkt_output, POETT_NAMERR, in handle_input()
358 poep = (poep_t *)pkt_output; in handle_input()
H A Dpppoec.c260 const poep_t *poemsg_data; /* Pointer to PPPoE packet */
445 display_pppoe(FILE *out, const poep_t *poep, int plen, const ppptun_atype *pap) in display_pppoe()
585 send_pppoe(const poep_t *poep, const char *msgname, in send_pppoe()
619 poep_t *poep; in send_padi()
654 poep_t *poep; in find_all_servers()
689 poep = (poep_t *)pkt_input; in find_all_servers()
805 newmsg->poemsg_data = (const poep_t *)(newmsg + 1); in save_message()
832 poep_t *poep; in send_padr()
1407 poep_t *poep; in find_server()
1479 poep = (poep_t *)pkt_input; in find_server()
H A Doptions.c1882 locate_service(poep_t *poep, int plen, const char *iname, ppptun_atype *pap, in locate_service()
1885 poep_t *opoe; in locate_service()
2072 launch_service(int tunfd, poep_t *poep, void *srvp, struct ppptun_control *ptc) in launch_service()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_pppoe.c93 interpret_pppoe(int flags, poep_t *poep, int len) in interpret_pppoe()
98 if (len < sizeof (poep_t)) in interpret_pppoe()
101 payload = (uint8_t *)poep + sizeof (poep_t); in interpret_pppoe()
127 len -= sizeof (poep_t); in interpret_pppoe()
H A Dsnoop.h232 extern int interpret_pppoe(int, poep_t *, int);
H A Dsnoop_ether.c347 (void) interpret_pppoe(flags, (poep_t *)data, len); in interpret_ether()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c309 const poep_t *poep; in handle_pppoe_input()
328 poep = (const poep_t *)data->buf; in handle_pppoe_input()
329 tagp = (const uint8_t *)poep + offsetof(poep_t, poep_length); in handle_pppoe_input()
/titanic_50/usr/src/uts/common/net/
H A Dpppoe.h57 } poep_t; typedef
/titanic_50/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c791 poep_t *poep; in sppptun_outpkt()
938 poep = (poep_t *)mp->b_rptr; in sppptun_outpkt()
968 ((poep_t *)datamb->b_rptr)->poep_code == in sppptun_outpkt()
2077 const poep_t *poep; in sppptun_recv()
2091 MBLKL(mp) < sizeof (poep_t)) && in sppptun_recv()
2092 !pullupmsg(mp, sizeof (poep_t))) in sppptun_recv()
2094 poep = (const poep_t *)mp->b_rptr; in sppptun_recv()