Lines Matching defs:interface
117 * within 0.0.0.0/8 as interface index.
138 #define CHECK_BAD_INTERVAL 5 /* when an interface is known bad */
194 # define RS_IF 0x001 /* for network interface */
206 struct interface *rts_ifp;
233 * not unbroken interface routes
266 /* An "interface" is similar to a kernel ifnet structure, except it also
269 struct interface {
270 struct interface *int_next, **int_prev;
271 struct interface *int_ahash, **int_ahash_prev;
272 struct interface *int_bhash, **int_bhash_prev;
273 struct interface *int_rlink, **int_rlink_prev;
274 struct interface *int_nhash, **int_nhash_prev;
295 u_char int_adj_outmetric; /* instead of interface metric */
318 #define IS_ALIAS 0x0000001 /* interface alias */
319 #define IS_SUBNET 0x0000002 /* interface on subnetted network */
320 #define IS_REMOTE 0x0000004 /* interface is not on this machine */
380 #define AGS_IF 0x020 /* for an interface */
456 extern struct interface *rip_sock_mcast; /* current multicast interface */
488 extern struct interface *ifnet; /* all interfaces */
489 extern struct interface *remote_if; /* remote interfaces */
490 extern int have_ripv1_out; /* have a RIPv1 interface */
510 extern void rip_on(struct interface *);
514 struct interface *, struct rip *, int);
518 extern void supply(struct sockaddr_in *, struct interface *,
551 extern void get_parms(struct interface *);
566 extern void trace_if(const char *, struct interface *);
570 struct interface *, struct rip *, int);
575 extern void set_rdisc_mg(struct interface *, int);
577 extern void if_bad_rdisc(struct interface *);
578 extern void if_ok_rdisc(struct interface *);
579 extern void read_rip(int, struct interface *);
622 extern naddr ripv1_mask_net(naddr, struct interface *);
623 extern naddr ripv1_mask_host(naddr,struct interface *);
627 extern struct interface *check_dup(naddr, naddr, naddr, int);
628 extern int check_remote(struct interface *);
629 extern int addrouteforif(struct interface *);
632 extern int if_ok(struct interface *, const char *);
633 extern void if_sick(struct interface *);
634 extern void if_bad(struct interface *);
635 extern void if_link(struct interface *);
636 extern struct interface *ifwithaddr(naddr, int, int);
637 extern struct interface *ifwithname(char *, naddr);
638 extern struct interface *ifwithindex(u_short, int);
639 extern struct interface *iflookup(naddr);
641 extern struct auth *find_auth(struct interface *);