Home
last modified time | relevance | path

Searched refs:fsm (Results 1 – 25 of 34) sorted by relevance

12

/external/syslinux/core/lwip/src/netif/ppp/
Dfsm.h78 typedef struct fsm { struct
95 } fsm; argument
99 void (*resetci)(fsm*); /* Reset our Configuration Information */
100 int (*cilen)(fsm*); /* Length of our Configuration Information */
101 void (*addci)(fsm*, u_char*, int*); /* Add our Configuration Information */
102 int (*ackci)(fsm*, u_char*, int); /* ACK our Configuration Information */
103 int (*nakci)(fsm*, u_char*, int); /* NAK our Configuration Information */
104 int (*rejci)(fsm*, u_char*, int); /* Reject our Configuration Information */
105 int (*reqci)(fsm*, u_char*, int*, int); /* Request peer's Configuration Information */
106 void (*up)(fsm*); /* Called when fsm reaches LS_OPENED state */
[all …]
Dfsm.c85 static void fsm_rconfreq (fsm *, u_char, u_char *, int);
86 static void fsm_rconfack (fsm *, int, u_char *, int);
87 static void fsm_rconfnakrej (fsm *, int, int, u_char *, int);
88 static void fsm_rtermreq (fsm *, int, u_char *, int);
89 static void fsm_rtermack (fsm *);
90 static void fsm_rcoderej (fsm *, u_char *, int);
91 static void fsm_sconfreq (fsm *, int);
104 fsm_init(fsm *f) in fsm_init()
121 fsm_lowerup(fsm *f) in fsm_lowerup()
158 fsm_lowerdown(fsm *f) in fsm_lowerdown()
[all …]
Dlcp.c98 static fsm lcp_fsm[NUM_PPP]; /* LCP fsm structure (global)*/
115 static void lcp_resetci (fsm*); /* Reset our CI */
116 static int lcp_cilen (fsm*); /* Return length of our CI */
117 static void lcp_addci (fsm*, u_char*, int*); /* Add our CI to pkt */
118 static int lcp_ackci (fsm*, u_char*, int); /* Peer ack'd our CI */
119 static int lcp_nakci (fsm*, u_char*, int); /* Peer nak'd our CI */
120 static int lcp_rejci (fsm*, u_char*, int); /* Peer rej'd our CI */
121 static int lcp_reqci (fsm*, u_char*, int*, int); /* Rcv peer CI */
122 static void lcp_up (fsm*); /* We're UP */
123 static void lcp_down (fsm*); /* We're DOWN */
[all …]
Dipcp.c86 static void ipcp_resetci (fsm *); /* Reset our CI */
87 static int ipcp_cilen (fsm *); /* Return length of our CI */
88 static void ipcp_addci (fsm *, u_char *, int *); /* Add our CI */
89 static int ipcp_ackci (fsm *, u_char *, int); /* Peer ack'd our CI */
90 static int ipcp_nakci (fsm *, u_char *, int); /* Peer nak'd our CI */
91 static int ipcp_rejci (fsm *, u_char *, int); /* Peer rej'd our CI */
92 static int ipcp_reqci (fsm *, u_char *, int *, int); /* Rcv CI */
93 static void ipcp_up (fsm *); /* We're UP */
94 static void ipcp_down (fsm *); /* We're DOWN */
96 static void ipcp_script (fsm *, char *); /* Run an up/down script */
[all …]
Dipcp.h98 extern fsm ipcp_fsm[];
/external/ppp/pppd/
Dfsm.h66 typedef struct fsm { struct
84 } fsm; argument
89 __P((fsm *));
91 __P((fsm *));
93 __P((fsm *, u_char *, int *));
95 __P((fsm *, u_char *, int));
97 __P((fsm *, u_char *, int, int));
99 __P((fsm *, u_char *, int));
101 __P((fsm *, u_char *, int *, int));
103 __P((fsm *));
[all …]
Dfsm.c61 static void fsm_rconfreq __P((fsm *, int, u_char *, int));
62 static void fsm_rconfack __P((fsm *, int, u_char *, int));
63 static void fsm_rconfnakrej __P((fsm *, int, int, u_char *, int));
64 static void fsm_rtermreq __P((fsm *, int, u_char *, int));
65 static void fsm_rtermack __P((fsm *));
66 static void fsm_rcoderej __P((fsm *, u_char *, int));
67 static void fsm_sconfreq __P((fsm *, int));
81 fsm *f; in fsm_init()
99 fsm *f; in fsm_lowerup()
129 fsm *f; in fsm_lowerdown()
[all …]
Dlcp.c190 fsm lcp_fsm[NUM_PPP]; /* LCP fsm structure (global)*/
205 static void lcp_resetci __P((fsm *)); /* Reset our CI */
206 static int lcp_cilen __P((fsm *)); /* Return length of our CI */
207 static void lcp_addci __P((fsm *, u_char *, int *)); /* Add our CI to pkt */
208 static int lcp_ackci __P((fsm *, u_char *, int)); /* Peer ack'd our CI */
209 static int lcp_nakci __P((fsm *, u_char *, int, int)); /* Peer nak'd our CI */
210 static int lcp_rejci __P((fsm *, u_char *, int)); /* Peer rej'd our CI */
211 static int lcp_reqci __P((fsm *, u_char *, int *, int)); /* Rcv peer CI */
212 static void lcp_up __P((fsm *)); /* We're UP */
213 static void lcp_down __P((fsm *)); /* We're DOWN */
[all …]
Dipv6cp.c196 static void ipv6cp_resetci __P((fsm *)); /* Reset our CI */
197 static int ipv6cp_cilen __P((fsm *)); /* Return length of our CI */
198 static void ipv6cp_addci __P((fsm *, u_char *, int *)); /* Add our CI */
199 static int ipv6cp_ackci __P((fsm *, u_char *, int)); /* Peer ack'd our CI */
200 static int ipv6cp_nakci __P((fsm *, u_char *, int, int));/* Peer nak'd our CI */
201 static int ipv6cp_rejci __P((fsm *, u_char *, int)); /* Peer rej'd our CI */
202 static int ipv6cp_reqci __P((fsm *, u_char *, int *, int)); /* Rcv CI */
203 static void ipv6cp_up __P((fsm *)); /* We're UP */
204 static void ipv6cp_down __P((fsm *)); /* We're DOWN */
205 static void ipv6cp_finished __P((fsm *)); /* Don't need lower layer */
[all …]
Dipxcp.c81 static void ipxcp_resetci __P((fsm *)); /* Reset our CI */
82 static int ipxcp_cilen __P((fsm *)); /* Return length of our CI */
83 static void ipxcp_addci __P((fsm *, u_char *, int *)); /* Add our CI */
84 static int ipxcp_ackci __P((fsm *, u_char *, int)); /* Peer ack'd our CI */
85 static int ipxcp_nakci __P((fsm *, u_char *, int, int));/* Peer nak'd our CI */
86 static int ipxcp_rejci __P((fsm *, u_char *, int)); /* Peer rej'd our CI */
87 static int ipxcp_reqci __P((fsm *, u_char *, int *, int)); /* Rcv CI */
88 static void ipxcp_up __P((fsm *)); /* We're UP */
89 static void ipxcp_down __P((fsm *)); /* We're DOWN */
90 static void ipxcp_finished __P((fsm *)); /* Don't need lower layer */
[all …]
Dccp.c199 fsm ccp_fsm[NUM_PPP];
208 static void ccp_resetci __P((fsm *));
209 static int ccp_cilen __P((fsm *));
210 static void ccp_addci __P((fsm *, u_char *, int *));
211 static int ccp_ackci __P((fsm *, u_char *, int));
212 static int ccp_nakci __P((fsm *, u_char *, int, int));
213 static int ccp_rejci __P((fsm *, u_char *, int));
214 static int ccp_reqci __P((fsm *, u_char *, int *, int));
215 static void ccp_up __P((fsm *));
216 static void ccp_down __P((fsm *));
[all …]
Dipcp.c103 static void ipcp_resetci __P((fsm *)); /* Reset our CI */
104 static int ipcp_cilen __P((fsm *)); /* Return length of our CI */
105 static void ipcp_addci __P((fsm *, u_char *, int *)); /* Add our CI */
106 static int ipcp_ackci __P((fsm *, u_char *, int)); /* Peer ack'd our CI */
107 static int ipcp_nakci __P((fsm *, u_char *, int, int));/* Peer nak'd our CI */
108 static int ipcp_rejci __P((fsm *, u_char *, int)); /* Peer rej'd our CI */
109 static int ipcp_reqci __P((fsm *, u_char *, int *, int)); /* Rcv CI */
110 static void ipcp_up __P((fsm *)); /* We're UP */
111 static void ipcp_down __P((fsm *)); /* We're DOWN */
112 static void ipcp_finished __P((fsm *)); /* Don't need lower layer */
[all …]
Decp.c118 fsm ecp_fsm[NUM_PPP];
149 fsm *f = &ecp_fsm[unit];
DMakefile.linux14 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap-new.c md5.c ccp.c \
18 HEADERS = ccp.h session.h chap-new.h ecp.h fsm.h ipcp.h \
23 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o \
Decp.h39 extern fsm ecp_fsm[];
Dccp.h46 extern fsm ccp_fsm[];
Dipv6cp.h163 extern fsm ipv6cp_fsm[];
Dipxcp.h88 extern fsm ipxcp_fsm[];
Dipcp.h88 extern fsm ipcp_fsm[];
Dlcp.h115 extern fsm lcp_fsm[];
DAndroid.mk14 fsm.c \
/external/valgrind/coregrind/m_debuginfo/
Ddebuginfo.c185 di->fsm.filename = ML_(dinfo_strdup)("di.debuginfo.aDI.2", filename); in alloc_DebugInfo()
186 di->fsm.maps = VG_(newXA)( in alloc_DebugInfo()
214 if (di->fsm.maps) VG_(deleteXA)(di->fsm.maps); in free_DebugInfo()
215 if (di->fsm.filename) ML_(dinfo_free)(di->fsm.filename); in free_DebugInfo()
216 if (di->fsm.dbgname) ML_(dinfo_free)(di->fsm.dbgname); in free_DebugInfo()
325 curr->fsm.filename ? curr->fsm.filename in discard_DebugInfo()
408 for (i = 0; i < VG_(sizeXA)(di1->fsm.maps); i++) { in do_DebugInfos_overlap()
409 const DebugInfoMapping* map1 = VG_(indexXA)(di1->fsm.maps, i); in do_DebugInfos_overlap()
410 for (j = 0; j < VG_(sizeXA)(di2->fsm.maps); j++) { in do_DebugInfos_overlap()
411 const DebugInfoMapping* map2 = VG_(indexXA)(di2->fsm.maps, j); in do_DebugInfos_overlap()
[all …]
Dreadmacho.c718 vg_assert(di->fsm.have_rx_map); in ML_()
719 vg_assert(di->fsm.have_rw_map); in ML_()
721 for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) { in ML_()
722 const DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, i); in ML_()
735 "%s (rx at %#lx, rw at %#lx)\n", di->fsm.filename, in ML_()
740 msli = map_image_aboard( di, di->fsm.filename ); in ML_()
983 dsymfilename = find_separate_debug_file( di->fsm.filename ); in ML_()
1018 vg_assert(di->fsm.filename); in ML_()
1019 if (is_systemish_library_name(di->fsm.filename)) in ML_()
1024 VG_(message)(Vg_DebugMsg, "%s:\n", di->fsm.filename); in ML_()
[all …]
Dreadelf.c688 vg_assert(di->fsm.have_rx_map); in get_elf_symbol_info()
1352 if (di->fsm.dbgname == NULL) in find_debug_file()
1353 di->fsm.dbgname = ML_(dinfo_strdup)("di.fdf.4", debugpath); in find_debug_file()
1602 vg_assert(di->fsm.have_rx_map == True); in ML_()
1603 vg_assert(di->fsm.have_rw_map == True); in ML_()
1605 vg_assert(di->fsm.filename); in ML_()
1620 for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) { in ML_()
1621 DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, i); in ML_()
1652 di->fsm.filename ); in ML_()
1657 mimg = ML_(img_from_local_file)(di->fsm.filename); in ML_()
[all …]
Dreadpdb.c2337 VG_(addToXA)(di->fsm.maps, &map); in ML_()
2338 di->fsm.have_rx_map = True; in ML_()
2354 VG_(addToXA)(di->fsm.maps, &map); in ML_()
2355 di->fsm.have_rw_map = True; in ML_()
2377 if (di->fsm.have_rx_map && di->fsm.have_rw_map && !di->have_dinfo) { in ML_()
2378 vg_assert(di->fsm.filename); in ML_()
2382 TRACE_SYMTAB("------ name = %s\n", di->fsm.filename); in ML_()
2389 for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) { in ML_()
2390 const DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, i); in ML_()
2396 for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) { in ML_()
[all …]

12