Searched refs:NS_FORWARD (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/net/
H A Dnetmap.h192 #define NS_FORWARD 0x0004 /* pass packet 'forward' */ macro
339 #define NR_FORWARD 0x0004 /* enable NS_FORWARD for ring */
341 * Enables the NS_FORWARD slot flag for the ring.
/freebsd-current/sys/dev/netmap/
H A Dnetmap.c1167 * Netmap also supports transparent forwarding (NS_FORWARD and NR_FORWARD
1171 * them with the NS_FORWARD flag. During the next RXSYNC or poll(), they
1176 * mark them with the NS_FORWARD flag. During the next RXSYNC or poll(),
1225 * marked NS_FORWARD (or all of them if forced) into a queue of mbufs.
1241 if ((slot->flags & NS_FORWARD) == 0 && !force)
1247 slot->flags &= ~NS_FORWARD; // XXX needed ?
1281 * Send to the NIC rings packets marked NS_FORWARD between
1315 if ((src->flags & NS_FORWARD) == 0 && !netmap_fwd)
3904 * ring->head) marked with NS_FORWARD on hw rx rings are passed up

Completed in 260 milliseconds