Lines Matching refs:interface

50 struct interface *ifnet;
97 static void if_bad(struct interface *, boolean_t);
98 static boolean_t addrouteforif(struct interface *);
99 static int get_if_kstats(struct interface *, struct phyi_data *);
110 NULL, ahash, offsetof(struct interface, int_ahash),
111 offsetof(struct interface, int_addr),
118 NULL, ahash, offsetof(struct interface, int_bhash),
119 offsetof(struct interface, int_brdaddr),
133 NULL, nhash, offsetof(struct interface, int_nhash),
134 offsetof(struct interface, int_name),
138 struct interface dummy_ifp;
312 if_link(struct interface *ifp, uint32_t ifindex) in if_link()
316 link_in((void **)&ifnet, ifp, offsetof(struct interface, int_link)); in if_link()
346 offsetof(struct interface, int_ilist)); in if_link()
352 struct interface *
357 struct interface *ifp, *possible = NULL; in ifwithaddr()
392 struct interface *
395 struct interface *ifp; in ifwithname()
434 struct interface *
437 struct interface *ifp; in findremoteif()
448 struct interface *
451 struct interface *ifp; in findifaddr()
465 struct interface *
495 addr_on_ifp(in_addr_t addr, struct interface *ifp, in addr_on_ifp()
496 struct interface **best) in addr_on_ifp()
498 struct interface *p_best = *best; in addr_on_ifp()
538 struct interface *
541 struct interface *ifp, *maybe; in iflookup()
576 const struct interface *ifp) /* as seen on this interface */ in ripv1_mask_net()
636 const struct interface *ifp) /* as seen on this interface */ in ripv1_mask_host()
683 struct interface *
691 struct interface *best_ifp = NULL; in check_dup()
692 struct interface *ifp; in check_dup()
746 check_remote(struct interface *ifp) in check_remote()
775 ifdel(struct interface *ifp) in ifdel()
786 link_out(ifp, offsetof(struct interface, int_link)); in ifdel()
794 link_out(ifp, offsetof(struct interface, int_ilist)); in ifdel()
878 if_sick(struct interface *ifp, boolean_t recurse) in if_sick()
880 struct interface *ifp1; in if_sick()
902 if_bad(struct interface *ifp, boolean_t recurse) in if_bad()
904 struct interface *ifp1; in if_bad()
962 if_ok(struct interface *ifp, const char *type, boolean_t recurse) in if_ok()
964 struct interface *ifp1; in if_ok()
999 remote_address_ok(struct interface *ifp, in_addr_t addr) in remote_address_ok()
1031 struct interface ifs, *ifp, *ifp1; in ifscan()
1768 check_net_syn(struct interface *ifp) in check_net_syn()
1817 addrouteforif(struct interface *ifp) in addrouteforif()
1924 get_if_kstats(struct interface *ifp, struct phyi_data *newdata) in get_if_kstats()
1987 should_supply(struct interface *ifp) in should_supply()