Lines Matching refs:ifp
124 struct ifnet * ifp;
292 link_from_ifnet(struct ifnet * ifp)
294 return ((struct sockaddr_dl *)(void *)ifp->if_lladdr->ifa_addr);
303 send_packet(struct ifnet * ifp, struct dhcp_packet * pkt, int pkt_size)
312 return dlil_output(ifp, PF_INET, m, 0, (struct sockaddr *)&dest, 0, NULL);
544 error = send_packet(context->ifp, request, request_size);
745 error = send_packet(context->ifp, request, request_size);
813 dhcp_context_create(struct ifnet * ifp, int max_try,
824 dl_p = link_from_ifnet(ifp);
865 sizeof(context->ifr.ifr_name), "%s%d", ifp->if_name,
866 ifp->if_unit);
903 context->ifp = ifp;
923 dhcp(struct ifnet * ifp, struct in_addr * iaddr_p, int max_try,
930 context = dhcp_context_create(ifp, max_try, procp, &error);