Lines Matching refs:interface

115 #define	CHECK_BAD_INTERVAL	5	/* when an interface is known bad */
169 # define RS_IF 0x001 /* for network interface */
181 struct interface *rts_ifp;
208 * not unbroken interface routes
241 /* An "interface" is similar to a kernel ifnet structure, except it also
244 struct interface {
245 LIST_ENTRY(interface) int_list;
246 LIST_ENTRY(interface) remote_list;
247 struct interface *int_ahash, **int_ahash_prev;
248 struct interface *int_bhash, **int_bhash_prev;
249 struct interface *int_nhash, **int_nhash_prev;
270 u_char int_adj_outmetric; /* instead of interface metric */
293 #define IS_ALIAS 0x0000001 /* interface alias */
294 #define IS_SUBNET 0x0000002 /* interface on subnetted network */
295 #define IS_REMOTE 0x0000004 /* interface is not on this machine */
333 LIST_HEAD(ifhead, interface);
356 #define AGS_IF 0x020 /* for an interface */
431 extern const struct interface *rip_sock_mcast; /* current multicast interface */
463 extern int have_ripv1_out; /* have a RIPv1 interface */
484 void rip_on(struct interface *);
488 struct interface *, struct rip *, int);
492 void supply(struct sockaddr_in *, struct interface *,
525 void get_parms(struct interface *);
540 void trace_if(const char *, struct interface *);
544 struct interface *, struct rip *, int);
549 void set_rdisc_mg(struct interface *, int);
551 void if_bad_rdisc(struct interface *);
552 void if_ok_rdisc(struct interface *);
553 void read_rip(int, struct interface *);
591 naddr ripv1_mask_net(naddr, struct interface *);
592 naddr ripv1_mask_host(naddr,struct interface *);
595 struct interface *check_dup(naddr, naddr, naddr, int);
596 int check_remote(struct interface *);
599 int if_ok(struct interface *, const char *);
600 void if_sick(struct interface *);
601 void if_link(struct interface *);
602 struct interface *ifwithaddr(naddr addr, int bcast, int remote);
603 struct interface *ifwithindex(u_short, int);
604 struct interface *iflookup(naddr);
606 struct auth *find_auth(struct interface *);