Home
last modified time | relevance | path

Searched refs:fsmheader (Results 1 – 5 of 5) sorted by relevance

/external/libppp/src/
Dpap.c86 struct fsmheader lh; in pap_Req()
100 lh.length = htons(plen + sizeof(struct fsmheader)); in pap_Req()
101 bp = m_get(plen + sizeof(struct fsmheader), MB_PAPOUT); in pap_Req()
102 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in pap_Req()
103 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader); in pap_Req()
116 struct fsmheader lh; in SendPapCode()
125 lh.length = htons(plen + sizeof(struct fsmheader)); in SendPapCode()
126 bp = m_get(plen + sizeof(struct fsmheader), MB_PAPOUT); in SendPapCode()
127 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in SendPapCode()
128 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader); in SendPapCode()
Dfsm.c75 typedef void (recvfn)(struct fsm *, struct fsmheader *, struct mbuf *);
192 struct fsmheader lh; in fsm_Output()
210 plen = sizeof(struct fsmheader) + count; in fsm_Output()
215 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in fsm_Output()
217 memcpy(MBUF_CTOP(bp) + sizeof(struct fsmheader), ptr, count); in fsm_Output()
466 FsmRecvConfigReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp) in FsmRecvConfigReq()
609 FsmRecvConfigAck(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp) in FsmRecvConfigAck()
672 FsmRecvConfigNak(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp) in FsmRecvConfigNak()
738 FsmRecvTermReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp) in FsmRecvTermReq()
774 FsmRecvTermAck(struct fsm *fp, struct fsmheader *lhp __unused, struct mbuf *bp) in FsmRecvTermAck()
[all …]
Dauth.h43 struct fsmheader hdr;
Dfsm.h142 struct fsmheader { struct
Dchap.c104 struct fsmheader lh; in ChapOutput()
107 plen = sizeof(struct fsmheader) + count; in ChapOutput()
112 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in ChapOutput()
114 memcpy(MBUF_CTOP(bp) + sizeof(struct fsmheader), ptr, count); in ChapOutput()