Initializing ports in a vector

So I’m trying to initialize a vector of ports so that I can use it to
check if
the incoming port is tx or rx.

Should I use a regular vector type, rather than a pmt vector? Because
pmt
vectors expect a pmt_t as its element type, whereas port definitions are
of type
mb_port_sptr.

  • George

I went with my instinct and used a vector.

I added all of the missing functionality we discussed tonight Eric,
aside from
the transmit frame stuff… I’m ready to fall asleep :slight_smile: Tomorrow, we
shall have
fragments!

So, I’m covering both RX and TX in my current checked in version.

Look it over when you get a chance, and I’ll move on to transmitting raw
frames
until then.

  • George

On Wed, Apr 11, 2007 at 03:32:14AM -0400, George N. wrote:

  • George

Very good! Will do.

Eric