Lines Matching refs:status_cb
75 static void status_cb(ppp_pcb *pcb, int err_code, void *ctx) {
84 printf("status_cb: Connected\n");
102 printf("status_cb: Invalid parameter\n");
106 printf("status_cb: Unable to open PPP session\n");
110 printf("status_cb: Invalid I/O device for PPP\n");
114 printf("status_cb: Unable to allocate resources\n");
118 printf("status_cb: User interrupt\n");
122 printf("status_cb: Connection lost\n");
126 printf("status_cb: Failed authentication challenge\n");
130 printf("status_cb: Failed to meet protocol\n");
134 printf("status_cb: Connection timeout\n");
138 printf("status_cb: Idle Timeout\n");
142 printf("status_cb: Max connect time reached\n");
146 printf("status_cb: Loopback detected\n");
150 printf("status_cb: Unknown error code %d\n", err_code);
207 * status_cb, PPP status callback, called on PPP status change (up, down, …)
211 output_cb, status_cb, ctx_cb);
228 * status_cb, PPP status callback, called on PPP status change (up, down, …)
234 status_cb, ctx_cb);
255 * status_cb, PPP status callback, called on PPP status change (up, down, …)
361 * Then you must wait your status_cb() to be called, it may takes from a few