Lines Matching defs:unit

188  * which is attached to the ppp unit and is used for controlling it.
409 * Demand mode - prime the old ppp device to relinquish the unit.
413 error("ioctl(transfer ppp unit): %m, line %d", __LINE__);
484 * Create a new PPP unit.
496 error("Couldn't attach to PPP unit %d: %m", ifunit);
511 /* Check that we got the same unit again. */
513 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x);
588 * operation, and reconnect the ppp unit to the loopback if in demand
614 * make_ppp_unit - make a new ppp unit for ppp_dev_fd.
636 warn("Couldn't allocate PPP unit %d as it is already in use", req_unit);
641 error("Couldn't create new ppp unit: %m");
664 fatal("Couldn't attach to PPP unit %d: %m", ifunit);
669 * make_new_bundle - create a new PPP unit (i.e. a bundle)
680 /* make us a ppp unit */
689 * bundle_attach - attach our link to a given PPP unit.
690 * We assume the unit is controlled by another pppd.
707 fatal("Couldn't attach to interface unit %d: %m\n", ifnum);
710 fatal("Couldn't connect to interface unit %d: %m", ifnum);
1014 void output (int unit, unsigned char *p, int len)
1159 netif_set_mtu(int unit, int mtu)
1175 netif_get_mtu(int unit)
1267 ccp_test(int unit, u_char *opt_ptr, int opt_len, int for_transmit)
1287 void ccp_flags_set (int unit, int isopen, int isup)
1368 int ccp_fatal_error (int unit)
1591 int sifdefaultroute (int unit, u_int32_t ouraddr, u_int32_t gateway)
1633 int cifdefaultroute (int unit, u_int32_t ouraddr, u_int32_t gateway)
1667 int sifproxyarp (int unit, u_int32_t his_adr)
1718 int cifproxyarp (int unit, u_int32_t his_adr)
1972 * discipline here, in order to create a ppp unit. But that is
2302 int sifaddr (int unit, u_int32_t our_adr, u_int32_t his_adr,
2403 int cifaddr (int unit, u_int32_t our_adr, u_int32_t his_adr)
2456 int sif6addr (int unit, eui64_t our_eui64, eui64_t his_eui64)
2506 int cif6addr (int unit, eui64_t our_eui64, eui64_t his_eui64)
2629 /* allocate ourselves a ppp unit */
2698 int sipxfaddr (int unit, unsigned long int network, unsigned char * node )
2749 int cipxfaddr (int unit)