#include <sys/ioctl.h>
struct interface_info *interfaces;
-static struct hardware_link *interface_links;
static void got_one PROTO ((struct interface_info *));
int i;
int sock;
int address_count = 0;
- int ifix = 0;
- struct hardware_link *lp;
struct subnet *subnet;
struct shared_network *share;
struct sockaddr_in *foo;
void dispatch ()
{
- struct sockaddr_in from;
- struct hardware hfrom;
- struct iaddr ifrom;
fd_set r, w, x;
struct interface_info *l;
int max = 0;
int count;
- int result;
- static unsigned char packbuf [4095]; /* Packet input buffer.
- Must be as large as largest
- possible MTU. */
FD_ZERO (&r);
FD_ZERO (&w);
int hlen;
{
struct host_decl *foo;
- int i;
foo = (struct host_decl *)hash_lookup (host_hw_addr_hash,
haddr, hlen);
int len;
{
struct host_decl *foo;
- int i;
foo = (struct host_decl *)hash_lookup (host_uid_hash, data, len);
return foo;
{
struct lease *l;
struct shared_network *s;
- int i;
for (s = shared_networks; s; s = s -> next) {
for (l = s -> leases; l; l = l -> next) {
struct lease *l;
struct shared_network *s;
struct subnet *n;
- int i;
for (s = shared_networks; s; s = s -> next) {
for (n = subnets; n; n = n -> next_sibling) {
int main_buffer_size;
int mainbufix, bufix;
int option_size;
- int result;
- int i;
/* If the client has provided a maximum DHCP message size,
use that. Otherwise, we use the default MTU size (576 bytes). */
{
int bufix = 0;
int option_stored [256];
- int missed = 0;
- int missed_code = 0;
- int missed_length = 0;
- int result;
int i;
int ix;
{
struct sockaddr_in name;
int sock;
- struct socklist *tmp;
int flag;
static int once = 0;
#include <sys/ioctl.h>
struct interface_info *interfaces;
-static struct hardware_link *interface_links;
static void got_one PROTO ((struct interface_info *));
int i;
int sock;
int address_count = 0;
- int ifix = 0;
- struct hardware_link *lp;
struct subnet *subnet;
struct shared_network *share;
struct sockaddr_in *foo;
void dispatch ()
{
- struct sockaddr_in from;
- struct hardware hfrom;
- struct iaddr ifrom;
fd_set r, w, x;
struct interface_info *l;
int max = 0;
int count;
- int result;
- static unsigned char packbuf [4095]; /* Packet input buffer.
- Must be as large as largest
- possible MTU. */
FD_ZERO (&r);
FD_ZERO (&w);
int hlen;
{
struct host_decl *foo;
- int i;
foo = (struct host_decl *)hash_lookup (host_hw_addr_hash,
haddr, hlen);
int len;
{
struct host_decl *foo;
- int i;
foo = (struct host_decl *)hash_lookup (host_uid_hash, data, len);
return foo;
{
struct lease *l;
struct shared_network *s;
- int i;
for (s = shared_networks; s; s = s -> next) {
for (l = s -> leases; l; l = l -> next) {
struct lease *l;
struct shared_network *s;
struct subnet *n;
- int i;
for (s = shared_networks; s; s = s -> next) {
for (n = subnets; n; n = n -> next_sibling) {
int main_buffer_size;
int mainbufix, bufix;
int option_size;
- int result;
- int i;
/* If the client has provided a maximum DHCP message size,
use that. Otherwise, we use the default MTU size (576 bytes). */
{
int bufix = 0;
int option_stored [256];
- int missed = 0;
- int missed_code = 0;
- int missed_length = 0;
- int result;
int i;
int ix;
{
struct sockaddr_in name;
int sock;
- struct socklist *tmp;
int flag;
static int once = 0;