Lines Matching refs:ifp
124 struct ifnet * ifp;
298 link_from_ifnet(struct ifnet * ifp)
302 ifnet_lock_shared(ifp);
303 TAILQ_FOREACH(addr, &ifp->if_addrhead, ifa_link) {
307 ifnet_lock_done(ifp);
311 ifnet_lock_done(ifp);
321 send_packet(struct ifnet * ifp, struct dhcp_packet * pkt, int pkt_size)
330 return dlil_output(ifp, PF_INET, m, 0, (struct sockaddr *)&dest, 0);
562 error = send_packet(context->ifp, request, request_size);
763 error = send_packet(context->ifp, request, request_size);
831 dhcp_context_create(struct ifnet * ifp, int max_try,
842 dl_p = link_from_ifnet(ifp);
883 sizeof(context->ifr.ifr_name), "%s%d", ifp->if_name,
884 ifp->if_unit);
921 context->ifp = ifp;
941 dhcp(struct ifnet * ifp, struct in_addr * iaddr_p, int max_try,
948 context = dhcp_context_create(ifp, max_try, procp, &error);