netinfo
struct netinfo ru_nets[1];
/ sizeof(struct netinfo) +1)
#define OVER_MAXPACKETSIZE (MAXPACKETSIZE+sizeof(struct netinfo)*2)
struct netinfo *n;
struct netinfo *base;
struct netinfo *lim;
struct netinfo *n, *lim;
lim = (struct netinfo *)((char*)rip + cc);
static void input_route(naddr, naddr, struct rt_spare *, struct netinfo *);
struct netinfo *n)
static int getnet(char *, struct netinfo *);
struct netinfo *n, *lim;
lim = (struct netinfo *)((char*)n + size) - 1;
struct netinfo *rt)
struct netinfo *n, *lim;
lim = (struct netinfo *)((char*)msg + size);
struct netinfo *ni_forw, *ni_prev;
struct netinfo *nhead;
struct netinfo *p;
nhead = (struct netinfo *)(void *)&netcb;
struct netinfo *p;
struct netinfo *p;
struct netinfo *p;
struct netinfo *p;
struct netinfo *p;
struct netinfo *p;
struct netinfo *p, *q;
struct netinfo *ni_forw, *ni_prev;
struct netinfo *net, /* receive from this network */
election(struct netinfo *net)
struct netinfo *ntp;
struct netinfo *next;
extern struct netinfo *nettab;
extern struct netinfo *fromnet, *slavenet;
addmach(char *name, struct sockaddr_in *addr, struct netinfo *ntp)
rmnetmachs(struct netinfo *ntp)
masterup(struct netinfo *net)
struct netinfo *ntp;
struct netinfo *fromnet;
struct netinfo *netfrom)
struct netinfo *ntp;
static struct netinfo *old_slavenet;
struct netinfo *ntp;
struct netinfo;
struct hosttbl *addmach(char *, struct sockaddr_in *, struct netinfo *);
struct tsp *readmsg(int, char *, struct timeval *, struct netinfo *);
struct sockaddr_in *, char *, int, struct netinfo *, int);
int election(struct netinfo *);
void lookformaster(struct netinfo *);
void makeslave(struct netinfo *);
void masterup(struct netinfo *);
void msterup(struct netinfo *);
void rmnetmachs(struct netinfo *);
void suppress(struct sockaddr_in *, char *, struct netinfo *);
static void pickslavenet(struct netinfo *);
struct netinfo *ntp;
struct netinfo *ntip;
struct netinfo *savefromnet;
ntp = malloc(sizeof(struct netinfo));
suppress(struct sockaddr_in *addr, char *name, struct netinfo *net)
lookformaster(struct netinfo *ntp)
struct netinfo *ntp;
makeslave(struct netinfo *net)
struct netinfo *ntp;
struct netinfo *ntp;
pickslavenet(struct netinfo *ntp)
struct netinfo *nettab = 0;
struct netinfo *slavenet;