Lines Matching defs:ifnet
152 static int xnb_ifmedia_upd(struct ifnet *ifp);
153 static void xnb_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr);
158 struct mbuf **mbufc, struct ifnet *ifnet,
165 static struct mbuf *xnb_pkt2mbufc(const struct xnb_pkt *pkt, struct ifnet *ifp);
185 static int xnb_ioctl(struct ifnet*, u_long, caddr_t);
186 static void xnb_start_locked(struct ifnet*);
187 static void xnb_start(struct ifnet*);
403 struct ifnet *xnb_ifp;
1187 struct ifnet *ifp;
1229 /* Set up ifnet structure */
1433 struct ifnet *ifp;
1663 xnb_pkt2mbufc(const struct xnb_pkt *pkt, struct ifnet *ifp)
1804 * \param[in] ifnet Interface to which the packet will be sent
1815 struct ifnet *ifnet, gnttab_copy_table gnttab)
1828 if_inc_counter(ifnet, IFCOUNTER_IPACKETS, 1);
1840 if_inc_counter(ifnet, IFCOUNTER_IERRORS, 1);
1844 *mbufc = xnb_pkt2mbufc(&pkt, ifnet);
1854 if_inc_counter(ifnet, IFCOUNTER_IQDROPS, 1);
2199 struct ifnet *ifp;
2208 xnb_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
2318 xnb_start_locked(struct ifnet *ifp)
2423 xnb_start(struct ifnet *ifp)
2437 struct ifnet *ifp;
2469 xnb_ifmedia_upd(struct ifnet *ifp)
2479 xnb_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr)