• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/

Lines Matching refs:unit

185 static void restore_loop(void);	/* Transfer ppp unit back to loopback */
364 * Demand mode - prime the old ppp device to relinquish the unit.
368 error("ioctl(transfer ppp unit): %m");
400 * Create a new PPP unit.
412 error("Couldn't attach to PPP unit %d: %m", ifunit);
428 /* Check that we got the same unit again. */
430 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x);
510 * operation, and reconnect the ppp unit to the loopback if in demand
525 error("Couldn't release PPP unit: %m");
569 * make_ppp_unit - make a new ppp unit for ppp_dev_fd.
579 warn("Couldn't allocate PPP unit %d as it is already in use");
584 error("Couldn't create new ppp unit: %m");
611 fatal("Couldn't attach to PPP unit %d: %m", ifunit);
616 * make_new_bundle - create a new PPP unit (i.e. a bundle)
627 /* make us a ppp unit */
636 * bundle_attach - attach our link to a given PPP unit.
637 * We assume the unit is controlled by another pppd.
647 fatal("Couldn't attach to interface unit %d: %m\n", ifnum);
650 fatal("Couldn't connect to interface unit %d: %m", ifnum);
941 void output (int unit, unsigned char *p, int len)
1075 netif_set_mtu(int unit, int mtu)
1176 int ccp_test (int unit, u_char *opt_ptr, int opt_len, int for_transmit)
1196 void ccp_flags_set (int unit, int isopen, int isup)
1276 int ccp_fatal_error (int unit)
1495 int sifdefaultroute (int unit, u_int32_t ouraddr, u_int32_t gateway)
1535 int cifdefaultroute (int unit, u_int32_t ouraddr, u_int32_t gateway)
1569 int sifproxyarp (int unit, u_int32_t his_adr)
1620 int cifproxyarp (int unit, u_int32_t his_adr)
1881 * discipline here, in order to create a ppp unit. But that is
2201 int sifaddr (int unit, u_int32_t our_adr, u_int32_t his_adr,
2302 int cifaddr (int unit, u_int32_t our_adr, u_int32_t his_adr)
2355 int sif6addr (int unit, eui64_t our_eui64, eui64_t his_eui64)
2405 int cif6addr (int unit, eui64_t our_eui64, eui64_t his_eui64)
2528 /* allocate ourselves a ppp unit */
2570 * restore_loop - reattach the ppp unit to the loopback.
2572 * The kernel ppp driver automatically reattaches the ppp unit to
2626 int sipxfaddr (int unit, unsigned long int network, unsigned char * node )
2677 int cipxfaddr (int unit)