Lines Matching defs:xnb_pkt

144 struct xnb_pkt;
160 static int xnb_ring2pkt(struct xnb_pkt *pkt,
163 static void xnb_txpkt2rsp(const struct xnb_pkt *pkt,
165 static struct mbuf *xnb_pkt2mbufc(const struct xnb_pkt *pkt, struct ifnet *ifp);
166 static int xnb_txpkt2gnttab(const struct xnb_pkt *pkt,
174 struct xnb_pkt *pkt,
176 static int xnb_rxpkt2gnttab(const struct xnb_pkt *pkt,
181 static int xnb_rxpkt2rsp(const struct xnb_pkt *pkt,
204 struct xnb_pkt{
250 /** xnb_pkt method: initialize it */
252 xnb_pkt_initialize(struct xnb_pkt *pxnb)
257 /** xnb_pkt method: mark the packet as valid */
259 xnb_pkt_validate(struct xnb_pkt *pxnb)
264 /** xnb_pkt method: mark the packet as invalid */
266 xnb_pkt_invalidate(struct xnb_pkt *pxnb)
271 /** xnb_pkt method: Check whether the packet is valid */
273 xnb_pkt_is_valid(const struct xnb_pkt *pxnb)
279 /** xnb_pkt method: print the packet's contents in human-readable format*/
281 xnb_dump_pkt(const struct xnb_pkt *pkt) {
1479 * Build a struct xnb_pkt based on netif_tx_request's from a netif tx ring.
1488 xnb_ring2pkt(struct xnb_pkt *pkt, const netif_tx_back_ring_t *tx_ring,
1611 xnb_txpkt2rsp(const struct xnb_pkt *pkt, netif_tx_back_ring_t *ring,
1668 xnb_pkt2mbufc(const struct xnb_pkt *pkt, struct ifnet *ifp)
1712 xnb_txpkt2gnttab(const struct xnb_pkt *pkt, struct mbuf *mbufc,
1822 struct xnb_pkt pkt;
1879 * Create an xnb_pkt based on the contents of an mbuf chain.
1881 * \param[out] pkt Storage for the newly generated xnb_pkt
1891 xnb_mbufc2pkt(const struct mbuf *mbufc, struct xnb_pkt *pkt,
1964 xnb_rxpkt2gnttab(const struct xnb_pkt *pkt, const struct mbuf *mbufc,
2039 xnb_rxpkt2rsp(const struct xnb_pkt *pkt, const gnttab_copy_table gnttab,
2406 struct xnb_pkt pkt;