Searched refs:encaps_gre (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptpd/pptpd-1.3.4/
H A Dpptpgre.h15 extern int encaps_gre(int fd, void *pack, unsigned len);
H A Dpptpctrl.c260 if (encaps_gre(-1, NULL, 0) || decaps_hdlc(-1, NULL, 0)) {
279 if(decaps_hdlc(-1, encaps_gre, gre_fd))
281 } else if (encaps_gre(-1, NULL, 0))
283 encaps_gre(gre_fd, NULL, 0); /* send ack with no payload */
315 if (pty_fd != -1 && FD_ISSET(pty_fd, &fds) && decaps_hdlc(pty_fd, encaps_gre, gre_fd) < 0) {
H A Dpptpgre.c434 int encaps_gre(int fd, void *pack, unsigned len) function
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptp/
H A Dpptp_gre.c56 int encaps_gre (int fd, void *pack, unsigned int len);
526 if (decaps_hdlc(pty_fd, encaps_gre, gre_fd) < 0)
531 encaps_gre(gre_fd, NULL, 0);
834 /*** encaps_gre ***************************************************************/
835 int encaps_gre (int fd, void *pack, unsigned int len) function

Completed in 69 milliseconds