Lines Matching defs:interface

213 			log_fatal("Can't record interface %s:%s",
216 log_fatal("%s: interface name too long (is %ld)",
291 " [-sf script-file] [interface]*"
639 " requested interface %s", argv[i]);
659 /* Support only one (requested) interface for Prefix Delegation. */
661 usage("PD %s only supports one requested interface", "-P");
672 "interface on which to be applied");
910 interface's hardware address interpreted as an integer.
945 /* Start a configuration state machine for each interface. */
1095 /* Discover the network interface. */
1232 * Several per-interface variables are used to keep track of the process:
1233 * active_lease: the lease that is being used on the interface
1287 * appropriate per-interface flags.
1311 /* Make a DHCPDISCOVER packet, and set appropriate per-interface
1513 if (packet->interface->hw_address.hlen - 1 != packet->raw->hlen ||
1514 memcmp(&packet->interface->hw_address.hbuf[1],
1520 c = &packet -> interface -> hw_address.hbuf [1];
1522 name, packet->interface->hw_address.hlen - 1,
1537 struct interface_info *ip = packet -> interface;
1905 for (ap = packet -> interface -> client -> config -> reject_list;
1957 for (ap = packet -> interface -> client -> config -> reject_list;
1988 for (ap = packet->interface->client->config->reject_list ;
2007 packet->interface->name,
2021 packet->interface->name, piaddr(packet->client_addr));
2029 for (client = packet->interface->client ; client ;
2163 interface_reference(&packet->interface, interfaces, MDL);
2216 struct interface_info *ip = packet -> interface;
2480 struct interface_info *ip = packet -> interface;
2530 /* On some scripts, 'EXPIRE' causes the interface to be ifconfig'd
2532 * interface unusable by state_init(), which we call next. So, we
2533 * need to 'PREINIT' the interface to bring it back up.
2562 we haven't found anything for this interface yet. */
2582 client -> interface -> name);
2637 client -> name ? client -> name : client -> interface -> name,
2647 result = send_packet(client->interface, NULL, &client->packet,
2658 "interface.", MDL, client->packet_length,
2659 client->interface->name);
2952 /* Now do a preinit on the interface so that we can
3036 client->name ? client->name : client->interface->name,
3059 "over %s interface.", MDL,
3066 result = send_packet(client->interface, NULL, &client->packet,
3071 " over %s interface.", MDL,
3073 client->interface->name);
3097 (client->name ? client->name : client->interface->name),
3107 result = send_packet(client->interface, NULL, &client->packet,
3118 " interface.", MDL, client->packet_length,
3119 client->interface->name);
3160 client->name ? client->name : client->interface->name,
3182 " over %s interface.", MDL,
3188 result = send_packet(client->interface, NULL, &client->packet,
3193 " over %s interface.", MDL,
3195 client->interface->name);
3456 * we use the low 4 bytes from the interface address
3458 if (client->interface->hw_address.hlen > 4) {
3459 hw_idx = client->interface->hw_address.hlen - 4;
3463 hw_len = client->interface->hw_address.hlen;
3466 client->interface->hw_address.hbuf + hw_idx,
3531 client -> packet.htype = client -> interface -> hw_address.hbuf [0];
3533 client -> packet.hlen = client -> interface -> hw_address.hlen - 1;
3538 if (can_receive_unicast_unconfigured (client -> interface))
3550 if (client -> interface -> hw_address.hlen > 0)
3552 &client -> interface -> hw_address.hbuf [1],
3553 (unsigned)(client -> interface -> hw_address.hlen - 1));
3605 client -> packet.htype = client -> interface -> hw_address.hbuf [0];
3607 client -> packet.hlen = client -> interface -> hw_address.hlen - 1;
3623 if (can_receive_unicast_unconfigured (client -> interface))
3639 if (client -> interface -> hw_address.hlen > 0)
3641 &client -> interface -> hw_address.hbuf [1],
3642 (unsigned)(client -> interface -> hw_address.hlen - 1));
3680 client -> packet.htype = client -> interface -> hw_address.hbuf [0];
3682 client -> packet.hlen = client -> interface -> hw_address.hlen - 1;
3686 if (can_receive_unicast_unconfigured (client -> interface))
3700 &client -> interface -> hw_address.hbuf [1],
3701 client -> interface -> hw_address.hlen);
3742 client -> packet.htype = client -> interface -> hw_address.hbuf [0];
3744 client -> packet.hlen = client -> interface -> hw_address.hlen - 1;
3757 &client -> interface -> hw_address.hbuf [1],
3758 client -> interface -> hw_address.hlen);
3907 * every daemon, so this winds up being a per-interface identifier...which
3918 /* For now, just use the first interface on the list. */
4038 stat = fprintf(leaseFile, " interface \"%s\";\n",
4039 client->interface->name);
4202 fprintf (leaseFile, " interface \"%s\";\n",
4203 client -> interface -> name);
4331 if (client -> interface) {
4332 client_envadd (client, "", "interface", "%s",
4333 client -> interface -> name);
4864 /* Make a DHCPRELEASE packet, and set appropriate per-interface
4923 int dhclient_interface_shutdown_hook (struct interface_info *interface)
4925 do_release (interface -> client);
4963 tmp -> client -> interface = tmp;
4973 isc_result_t dhclient_interface_startup_hook (struct interface_info *interface)
4983 interface_reference (&interface -> next, interfaces, MDL);
4986 interface_reference (&interfaces, interface, MDL);
5144 /* Do the right thing for each interface. */
5432 client->interface->hw_address.hbuf,
5433 client->interface->hw_address.hlen);
5694 /* Append to reject list for the source interface. */
5695 list->next = packet->interface->client->config->reject_list;
5696 packet->interface->client->config->reject_list = list;