Home
last modified time | relevance | path

Searched refs:fsm_opt (Results 1 – 10 of 10) sorted by relevance

/freebsd/usr.sbin/ppp/
H A Dccp.h88 struct fsm_opt val;
103 struct fsm_opt opt; /* Set by implementation's OptInit() */
126 const char *(*Disp)(struct fsm_opt *); /* Use result immediately ! */
130 int (*Set)(struct bundle *, struct fsm_opt *, const struct ccp_config *);
131 void *(*Init)(struct bundle *, struct fsm_opt *);
139 void (*OptInit)(struct bundle *, struct fsm_opt *,
141 int (*Set)(struct bundle *, struct fsm_opt *, const struct ccp_config *);
142 void *(*Init)(struct bundle *, struct fsm_opt *);
H A Dfsm.h170 struct fsm_opt { struct
179 (o) = (struct fsm_opt *)((u_char *)(o) + (length)); \ argument
197 extern struct fsm_opt *fsm_readopt(u_char **);
198 extern void fsm_rej(struct fsm_decode *, const struct fsm_opt *);
199 extern void fsm_ack(struct fsm_decode *, const struct fsm_opt *);
200 extern void fsm_nak(struct fsm_decode *, const struct fsm_opt *);
H A Dpred.c154 Pred1InitInput(struct bundle *bundle __unused, struct fsm_opt *o __unused) in Pred1InitInput()
164 Pred1InitOutput(struct bundle *bundle __unused, struct fsm_opt *o __unused) in Pred1InitOutput()
299 Pred1DispOpts(struct fsm_opt *o __unused) in Pred1DispOpts()
305 Pred1InitOptsOutput(struct bundle *bundle __unused, struct fsm_opt *o, in Pred1InitOptsOutput()
312 Pred1SetOpts(struct bundle *bundle __unused, struct fsm_opt *o, in Pred1SetOpts()
H A Dfsm.c1138 struct fsm_opt *
1141 struct fsm_opt *o = (struct fsm_opt *)*cp; in fsm_readopt()
1150 if (o->hdr.len > sizeof(struct fsm_opt)) { in fsm_readopt()
1152 o->hdr.len, (int)sizeof(struct fsm_opt)); in fsm_readopt()
1153 o->hdr.len = sizeof(struct fsm_opt); in fsm_readopt()
1160 fsm_opt(u_char *opt, int optlen, const struct fsm_opt *o) in fsm_opt() function
1180 fsm_rej(struct fsm_decode *dec, const struct fsm_opt *o) in fsm_rej()
1184 dec->rejend += fsm_opt(dec->rejend, FSM_OPTLEN - (dec->rejend - dec->rej), o); in fsm_rej()
1188 fsm_ack(struct fsm_decode *dec, const struct fsm_opt *o) in fsm_ack()
1192 dec->ackend += fsm_opt(dec->ackend, FSM_OPTLEN - (dec->ackend - dec->ack), o); in fsm_ack()
[all …]
H A Dmppe.c382 MPPEDispOpts(struct fsm_opt *o) in MPPEDispOpts()
512 MPPEInitOptsOutput(struct bundle *bundle, struct fsm_opt *o, in MPPEInitOptsOutput()
536 MPPESetOptsOutput(struct bundle *bundle, struct fsm_opt *o, in MPPESetOptsOutput()
575 MPPESetOptsInput(struct bundle *bundle, struct fsm_opt *o, in MPPESetOptsInput()
645 MPPE_InitState(struct fsm_opt *o) in MPPE_InitState()
679 MPPEInitInput(struct bundle *bundle __unused, struct fsm_opt *o) in MPPEInitInput()
735 MPPEInitOutput(struct bundle *bundle __unused, struct fsm_opt *o) in MPPEInitOutput()
H A Ddeflate.c434 DeflateDispOpts(struct fsm_opt *o) in DeflateDispOpts()
443 DeflateInitOptsOutput(struct bundle *bundle __unused, struct fsm_opt *o, in DeflateInitOptsOutput()
452 DeflateSetOptsOutput(struct bundle *bundle __unused, struct fsm_opt *o, in DeflateSetOptsOutput()
467 DeflateSetOptsInput(struct bundle *bundle __unused, struct fsm_opt *o, in DeflateSetOptsInput()
489 DeflateInitInput(struct bundle *bundle __unused, struct fsm_opt *o) in DeflateInitInput()
512 DeflateInitOutput(struct bundle *bundle __unused, struct fsm_opt *o) in DeflateInitOutput()
H A Dipv6cp.c622 struct fsm_opt *o; in ipv6cp_SendConfigReq()
624 o = (struct fsm_opt *)buff; in ipv6cp_SendConfigReq()
663 struct fsm_opt opt; in ipv6cp_ValidateInterfaceID()
690 struct fsm_opt *opt; in ipv6cp_DecodeConfig()
H A Dlcp.c385 struct fsm_opt *o; in LcpSendConfigReq()
396 o = (struct fsm_opt *)buff; in LcpSendConfigReq()
623 struct fsm_opt nak; in lcp_auth_nak()
672 struct fsm_opt *opt, nak; in LcpDecodeConfig()
H A Dipcp.c763 struct fsm_opt *o; in IpcpSendConfigReq()
765 o = (struct fsm_opt *)buff; in IpcpSendConfigReq()
1065 struct fsm_opt *opt, nak; in IpcpDecodeConfig()
H A Dccp.c573 struct fsm_opt *opt; in CcpDecodeConfig()