Lines Matching refs:pcb
145 void (*connect) (ppp_pcb *pcb, void *ctx);
148 void (*listen) (ppp_pcb *pcb, void *ctx);
151 void (*disconnect) (ppp_pcb *pcb, void *ctx);
153 err_t (*free) (ppp_pcb *pcb, void *ctx);
155 err_t (*write)(ppp_pcb *pcb, void *ctx, struct pbuf *p);
157 err_t (*netif_output)(ppp_pcb *pcb, void *ctx, struct pbuf *p, u_short protocol);
159 void (*send_config)(ppp_pcb *pcb, void *ctx, u32_t accm, int pcomp, int accomp);
161 void (*recv_config)(ppp_pcb *pcb, void *ctx, u32_t accm, int pcomp, int accomp);
284 void (*init) (ppp_pcb *pcb);
286 void (*input) (ppp_pcb *pcb, u_char *pkt, int len);
288 void (*protrej) (ppp_pcb *pcb);
290 void (*lowerup) (ppp_pcb *pcb);
292 void (*lowerdown) (ppp_pcb *pcb);
294 void (*open) (ppp_pcb *pcb);
296 void (*close) (ppp_pcb *pcb, const char *reason);
305 void (*datainput) (ppp_pcb *pcb, u_char *pkt, int len);
402 void ppp_start(ppp_pcb *pcb);
405 void ppp_link_failed(ppp_pcb *pcb);
408 void ppp_link_end(ppp_pcb *pcb);
411 void ppp_input(ppp_pcb *pcb, struct pbuf *pb);
419 err_t ppp_write(ppp_pcb *pcb, struct pbuf *p);
422 void ppp_link_terminated(ppp_pcb *pcb);
424 void new_phase(ppp_pcb *pcb, int p);
426 int ppp_send_config(ppp_pcb *pcb, int mtu, u32_t accm, int pcomp, int accomp);
427 int ppp_recv_config(ppp_pcb *pcb, int mru, u32_t accm, int pcomp, int accomp);
430 int sifaddr(ppp_pcb *pcb, u32_t our_adr, u32_t his_adr, u32_t netmask);
431 int cifaddr(ppp_pcb *pcb, u32_t our_adr, u32_t his_adr);
433 int sifproxyarp(ppp_pcb *pcb, u32_t his_adr);
434 int cifproxyarp(ppp_pcb *pcb, u32_t his_adr);
437 int sdns(ppp_pcb *pcb, u32_t ns1, u32_t ns2);
438 int cdns(ppp_pcb *pcb, u32_t ns1, u32_t ns2);
441 int sifvjcomp(ppp_pcb *pcb, int vjcomp, int cidcomp, int maxcid);
443 int sifup(ppp_pcb *pcb);
444 int sifdown (ppp_pcb *pcb);
449 int sif6addr(ppp_pcb *pcb, eui64_t our_eui64, eui64_t his_eui64);
450 int cif6addr(ppp_pcb *pcb, eui64_t our_eui64, eui64_t his_eui64);
451 int sif6up(ppp_pcb *pcb);
452 int sif6down (ppp_pcb *pcb);
456 int sifnpmode(ppp_pcb *pcb, int proto, enum NPmode mode);
459 void netif_set_mtu(ppp_pcb *pcb, int mtu);
460 int netif_get_mtu(ppp_pcb *pcb);
464 int ccp_test(ppp_pcb *pcb, u_char *opt_ptr, int opt_len, int for_transmit);
466 void ccp_set(ppp_pcb *pcb, u8_t isopen, u8_t isup, u8_t receive_method, u8_t transmit_method);
467 void ccp_reset_comp(ppp_pcb *pcb);
468 void ccp_reset_decomp(ppp_pcb *pcb);
470 int ccp_fatal_error(ppp_pcb *pcb);
475 int get_idle_time(ppp_pcb *pcb, struct ppp_idle *ip);
553 void link_required(ppp_pcb *pcb); /* we are starting to use the link */
554 void link_terminated(ppp_pcb *pcb); /* we are finished with the link */
555 void link_down(ppp_pcb *pcb); /* the LCP layer has left the Opened state */
556 void upper_layers_down(ppp_pcb *pcb); /* take all NCPs down */
557 void link_established(ppp_pcb *pcb); /* the link is up; authenticate now */
558 void start_networks(ppp_pcb *pcb); /* start all the network control protos */
559 void continue_networks(ppp_pcb *pcb); /* start network [ip, etc] control protos */
562 int auth_check_passwd(ppp_pcb *pcb, char *auser, int userlen, char *apasswd, int passwdlen, const c…
564 void auth_peer_fail(ppp_pcb *pcb, int protocol);
566 void auth_peer_success(ppp_pcb *pcb, int protocol, int prot_flavor, const char *name, int namelen);
569 void auth_withpeer_fail(ppp_pcb *pcb, int protocol);
571 void auth_withpeer_success(ppp_pcb *pcb, int protocol, int prot_flavor);
574 void np_up(ppp_pcb *pcb, int proto); /* a network protocol has come up */
575 void np_down(ppp_pcb *pcb, int proto); /* a network protocol has gone down */
576 void np_finished(ppp_pcb *pcb, int proto); /* a network protocol no longer needs link */
578 int get_secret(ppp_pcb *pcb, const char *client, const char *server, char *secret, int *secret_len,…
624 void ppp_dump_packet(ppp_pcb *pcb, const char *tag, unsigned char *p, int len);