Lines Matching defs:interface

59  *	use of per-interface ip_forwarding state.
112 #define CHECK_BAD_INTERVAL 5 /* when an interface is known bad */
169 * IF_NAME_LEN is the maximum size of interface names represented within
174 * interface names as well.
192 RO_IF, /* interface route */
200 struct interface *rts_ifp;
222 #define RS_IF 0x0001 /* for network interface */
252 * not unbroken interface routes but not broken interfaces
296 * number. This will consist of zero or one "main" interface plus
302 struct interface *phyi_interface;
314 * An "interface" is similar to a kernel ifnet structure, except it also
317 struct interface {
368 #define IS_ALIAS 0x00000001 /* interface alias */
369 #define IS_SUBNET 0x00000002 /* interface on subnetted network */
370 #define IS_REMOTE 0x00000004 /* interface is not on this machine */
380 #define IS_DUP 0x00001000 /* duplicates another interface */
417 * Is an IP interface up?
444 struct interface *ag_ifp;
458 #define AGS_IF 0x020 /* for an interface */
465 #define AGS_PASSIVE 0x400 /* passive "remote" interface route */
478 struct interface *k_ifp;
497 #define KS_IF 0x0800 /* interface route */
498 #define KS_PASSIVE 0x1000 /* passive remote interface route */
499 #define KS_DEPRE_IF 0x2000 /* IPMP deprecated interface route */
504 struct interface *dr_ifp;
578 extern struct interface *rip_sock_interface; /* current output interface */
612 extern struct interface *ifnet; /* all interfaces */
614 extern boolean_t have_ripv1_out; /* have a RIPv1 interface */
618 extern struct interface dummy_ifp; /* wildcard interface */
635 extern void rip_on(struct interface *);
639 struct interface *, struct rip *, int);
643 extern void supply(struct sockaddr_in *, struct interface *,
678 extern void get_parms(struct interface *);
693 extern void trace_if(const char *, struct interface *);
699 struct interface *, struct rip *, int);
704 extern void set_rdisc_mg(struct interface *, int);
706 extern void if_bad_rdisc(struct interface *);
707 extern void if_rewire_rdisc(struct interface *, struct interface *);
708 extern void if_ok_rdisc(struct interface *);
717 extern struct interface *receiving_interface(struct msghdr *, boolean_t);
719 extern boolean_t should_supply(struct interface *);
721 extern void rdisc_suppress(struct interface *);
722 extern void rdisc_restore(struct interface *);
733 extern void kern_flush_ifp(struct interface *);
734 extern void kern_rewire_ifp(struct interface *, struct interface *);
737 extern void ag_check(in_addr_t, in_addr_t, in_addr_t, struct interface *,
741 struct interface *, int);
751 extern void rtbad_sub(struct rt_entry *, struct interface *);
761 struct interface *if_old;
762 struct interface *if_new;
769 extern in_addr_t ripv1_mask_net(in_addr_t, const struct interface *);
770 extern in_addr_t ripv1_mask_host(in_addr_t, const struct interface *);
773 extern boolean_t remote_address_ok(struct interface *, in_addr_t);
774 extern struct interface *check_dup(const char *, in_addr_t, in_addr_t,
776 extern boolean_t check_remote(struct interface *);
781 extern void if_ok(struct interface *, const char *, boolean_t);
782 extern void if_sick(struct interface *, boolean_t);
783 extern void if_link(struct interface *, uint32_t);
784 extern struct interface *ifwithaddr(in_addr_t, boolean_t, boolean_t);
785 extern struct interface *ifwithindex(ulong_t, boolean_t);
786 extern struct interface *ifwithname(const char *);
788 extern boolean_t addr_on_ifp(in_addr_t, struct interface *,
789 struct interface **);
790 extern struct interface *findremoteif(in_addr_t);
791 extern struct interface *findifaddr(in_addr_t);
792 extern struct interface *iflookup(in_addr_t);
793 extern struct auth *find_auth(struct interface *);
795 extern void rip_mcast_on(struct interface *);
796 extern void rip_mcast_off(struct interface *);