Lines Matching defs:ifp
510 ifnet_t ifp,
526 if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
542 result = ifnet_llbroadcast_copy_bytes(ifp, LLADDR(ll_dest), ll_dest_len
556 return dlil_resolve_multi(ifp, (const struct sockaddr*)net_dest,
569 ifp->if_index);
595 if (ifp->if_flags & IFF_NOARP) {
614 dlil_send_arp(ifp, ARPOP_REQUEST, NULL, route->rt_ifa->ifa_addr,
635 ifnet_t ifp,
662 if (ia->ia_ifp == ifp) {
678 if (!bcmp(CONST_LLADDR(sender_hw), ifnet_lladdr(ifp), sender_hw->sdl_len)) {
690 ifp->if_name, ifp->if_unit,
695 in_collision->link_data.if_family = ifp->if_family;
696 in_collision->link_data.if_unit = ifp->if_unit;
697 strncpy(&in_collision->link_data.if_name[0], ifp->if_name, IFNAMSIZ);
719 sender_ip->sin_addr.s_addr != 0), 0, &route, ifp->if_index);
726 && (ifp->if_eflags & IFEF_ARPLL) != 0
734 &route, ifp->if_index);
737 if (route->rt_ifp != ifp && gateway->sdl_alen != 0
751 ifp->if_name, ifp->if_unit,
758 ifp->if_name, ifp->if_unit);
767 dlil_send_arp_internal(ifp, ARPOP_REQUEST,
768 (struct sockaddr_dl*)TAILQ_FIRST(&ifp->if_addrhead)->ifa_addr,
778 || (ifp->if_eflags & IFEF_ARPLL) != 0) {
780 1, 0, &route, ifp->if_index);
794 if (route->rt_ifp != ifp) {
795 if (!IN_LINKLOCAL(ntohl(sender_ip->sin_addr.s_addr)) || (ifp->if_eflags & IFEF_ARPLL) == 0) {
803 ifp->if_name, ifp->if_unit);
822 route->rt_ifp = ifp;
824 gateway->sdl_index = ifp->if_index;
836 ifp->if_name, ifp->if_unit);
846 ifp->if_name, ifp->if_unit);
875 dlil_output(ifp, PF_INET, m0, (caddr_t)route, rt_key(route), 0);
890 &route, ifp->if_index);
903 ifp->if_index);
912 if (route->rt_ifp == ifp) {
921 dlil_send_arp(ifp, ARPOP_REPLY, NULL, (const struct sockaddr*)target_ip,
929 struct ifnet *ifp,
934 dlil_send_arp(ifp, ARPOP_REQUEST, NULL, ifa->ifa_addr, NULL, ifa->ifa_addr);