Lines Matching defs:ifp
48 static int iftraceinit(struct interface *ifp, struct ifdebug *ifd);
49 static void dumpif(FILE *fp, struct interface *ifp);
53 traceinit(struct interface *ifp)
55 if (iftraceinit(ifp, &ifp->int_input) &&
56 iftraceinit(ifp, &ifp->int_output))
60 (ifp->int_name != NULL) ? ifp->int_name : "(noname)");
64 iftraceinit(struct interface *ifp, struct ifdebug *ifd)
78 ifd->ifd_if = ifp;
219 dumpif(FILE *fp, struct interface *ifp)
221 if (ifp->int_input.ifd_count != 0 || ifp->int_output.ifd_count != 0) {
223 (ifp->int_name != NULL) ? ifp->int_name : "(noname)");
224 dumptrace(fp, "to", &ifp->int_output);
225 dumptrace(fp, "from", &ifp->int_input);