• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptpd/pptpd-1.3.4/

Lines Matching defs:interfaces

13 // 1) Relaying from PPP (VPN tunnel) interfaces, hereby creating a virtual
20 // server. Broadcasts will always be relayed to/from all given interfaces. And
24 // more PPP (VPN tunnel) interfaces will now see eachother and work over
48 // show what it is doing. Bcrelay will syslog the IP interfaces it tries
49 // to read/relay UDP broadcasts from/to. These interfaces are called
50 // the 'active interfaces', bcrelay will syslog the initial set of active
51 // interfaces and whenever the set changes. Currently there is no difference
129 #define MAXIF 255 // Maximum interfaces to use
130 #define MAX_SELECT_WAIT 3 // Maximum time (in secs) to wait for input on the socket/interfaces
131 // A time-out triggers the discovery of new interfaces.
133 // interfaces is triggered. Only when a packet keeps coming in
135 // this #define becomes 0 and a rediscovery of the interfaces is
155 * struct that keeps track of the interfaces of the system
215 static char interfaces[32];
394 sprintf(interfaces,"%s|%s", ifin, ifout);
440 * Open general ethernet socket, only used to discover interfaces.
447 * Discover interfaces (initial set) and create a dedicated socket bound to the interface
460 NVBCR_PRINTF(("Displaying INITIAL active interfaces..\n"));
463 logstr_cntr = sprintf(logstr, "Initial active interfaces: ");
508 /* TimeOut, rediscover interfaces */
509 NVBCR_PRINTF(("Select timeout, rediscover interfaces\n"));
540 /* Close disappeared interfaces */
554 NVBCR_PRINTF(("Active interface set changed --> displaying current active interfaces..\n"));
576 /* rcg interfaces have pending input */
605 /* going to relay a broadcast packet on all the other interfaces */
626 * was the case for PPP interfaces, for ETH interfaces an unknown
642 // Only do this for PPP interfaces.
692 * Don't forget to discover new interfaces if we keep getting
699 /* no_discifs_cntr became 0, rediscover interfaces */
700 NVBCR_PRINTF(("no_discifs_cntr became 0, rediscover interfaces\n"));
731 /* Close disappeared interfaces */
745 NVBCR_PRINTF(("Active interface set changed --> displaying current active interfaces..\n"));
771 // Discover active interfaces
774 static struct iflist iflist[MAXIF+1]; // Allow for MAXIF interfaces
787 regcomp(&preg, interfaces, REG_ICASE|REG_EXTENDED);
790 ioctl(s, SIOCGIFCONF, &ifs); // Discover active interfaces
840 * Get remote IP address (only for PPP interfaces)