NFM-BPF

I was wondering whether the functionality of the nfm-bpf shared library in
the TDK is restricted to receiving or is it also able to transmit data.
I am looking for a low level interface for network traffic handling. Any
suggestions?

No, nfm-bpf.so does not allow out going traffic.

There use to be nfm-nraw.so but I guess it’s not in the TDK.
Write one of your own is not that difficult though :slight_smile:

-xtang

david chivers <david@emulatorsinternational.com> wrote in message
news:cohs5s$66h$1@inn.qnx.com

I was wondering whether the functionality of the nfm-bpf shared library in
the TDK is restricted to receiving or is it also able to transmit data.
I am looking for a low level interface for network traffic handling. Any
suggestions?



\

Dear Xiaodan,

Thanks for your response, I did try to write my own and it appeared to
work with the older network drivers devn-rtl and devn-ne2000, but does not
work with the drivers devn-speedo or devn-tigon3. These drivers were
connected to modern fast ethernet and giga ethernet adaptors.
Something appears to go wrong with the TX_DONE, resulting in a packet not
being transmitted on the network. I tried monitoring with tcpdump but the
packet does not appear although the trace info says it’s been sent!!!

Hope you can help me

David

Xiaodan Tang wrote:

No, nfm-bpf.so does not allow out going traffic.

There use to be nfm-nraw.so but I guess it’s not in the TDK.
Write one of your own is not that difficult though > :slight_smile:

-xtang

david chivers <> david@emulatorsinternational.com> > wrote in message
news:cohs5s$66h$> 1@inn.qnx.com> …

I was wondering whether the functionality of the nfm-bpf shared library in
the TDK is restricted to receiving or is it also able to transmit data.
I am looking for a low level interface for network traffic handling. Any
suggestions?



\

Sounds like the packet data is not DMAable, or you forgot to set the
physical address in
each net_iov_t.

-xtang

david chivers <david@emulatorsinternational.com> wrote in message
news:cojs3e$ksl$1@inn.qnx.com

Dear Xiaodan,

Thanks for your response, I did try to write my own and it appeared to
work with the older network drivers devn-rtl and devn-ne2000, but does not
work with the drivers devn-speedo or devn-tigon3. These drivers were
connected to modern fast ethernet and giga ethernet adaptors.
Something appears to go wrong with the TX_DONE, resulting in a packet not
being transmitted on the network. I tried monitoring with tcpdump but the
packet does not appear although the trace info says it’s been sent!!!

Hope you can help me

David

Xiaodan Tang wrote:

No, nfm-bpf.so does not allow out going traffic.

There use to be nfm-nraw.so but I guess it’s not in the TDK.
Write one of your own is not that difficult though > :slight_smile:

-xtang

david chivers <> david@emulatorsinternational.com> > wrote in message
news:cohs5s$66h$> 1@inn.qnx.com> …

I was wondering whether the functionality of the nfm-bpf shared
library in
the TDK is restricted to receiving or is it also able to transmit
data.
I am looking for a low level interface for network traffic handling.
Any
suggestions?










\

Xiaodan you are a Genius!!!

You were right we had forgotten to fill in the physical address
information.

We owe you one if you are ever in Holland!! You can see our collection, I
understand that you are interested in DEC retro computers.

With great thanks

David

Xiaodan Tang wrote:

Sounds like the packet data is not DMAable, or you forgot to set the
physical address in
each net_iov_t.

-xtang

david chivers <> david@emulatorsinternational.com> > wrote in message
news:cojs3e$ksl$> 1@inn.qnx.com> …
Dear Xiaodan,

Thanks for your response, I did try to write my own and it appeared to
work with the older network drivers devn-rtl and devn-ne2000, but does not
work with the drivers devn-speedo or devn-tigon3. These drivers were
connected to modern fast ethernet and giga ethernet adaptors.
Something appears to go wrong with the TX_DONE, resulting in a packet not
being transmitted on the network. I tried monitoring with tcpdump but the
packet does not appear although the trace info says it’s been sent!!!

Hope you can help me

David

Xiaodan Tang wrote:

No, nfm-bpf.so does not allow out going traffic.

There use to be nfm-nraw.so but I guess it’s not in the TDK.
Write one of your own is not that difficult though > :slight_smile:

-xtang

david chivers <> david@emulatorsinternational.com> > wrote in message
news:cohs5s$66h$> 1@inn.qnx.com> …

I was wondering whether the functionality of the nfm-bpf shared
library in
the TDK is restricted to receiving or is it also able to transmit
data.
I am looking for a low level interface for network traffic handling.
Any
suggestions?










\

david chivers <david@emulatorsinternational.com> wrote:
dc > Xiaodan you are a Genius!!!

dc > You were right we had forgotten to fill in the physical address
dc > information.

dc > We owe you one if you are ever in Holland!! You can see our collection, I
dc > understand that you are interested in DEC retro computers.

dc > With great thanks

dc > David

The guy that would really like to see that is Robert Krten.
I understand he has a few of his own.

Bill Caroselli <qtps@earthlink.net> wrote:

david chivers <> david@emulatorsinternational.com> > wrote:
dc > Xiaodan you are a Genius!!!

dc > You were right we had forgotten to fill in the physical address
dc > information.

dc > We owe you one if you are ever in Holland!! You can see our collection, I
dc > understand that you are interested in DEC retro computers.

dc > With great thanks

dc > David

The guy that would really like to see that is Robert Krten.
I understand he has a few of his own.

I hadn’t been following this thread :slight_smile:

See the collection in the URL in the signature:

http://www.parse.com/~museum/

Cheers,
-RK


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~museum/

Chris Herborth <cherborth@qnx.com> wrote:

Bill Caroselli wrote:
dc > We owe you one if you are ever in Holland!! You can see our collection, I
dc > understand that you are interested in DEC retro computers.

The guy that would really like to see that is Robert Krten.
I understand he has a few of his own.

His basement is like a VAX museum. > :slight_smile:

Chris, you insult me! VAXes are FAR TOO NEW!!! :slight_smile:
Kirk collects VAXes. :slight_smile:

http://www.ba23.org

Cheers,
-RK


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~museum/

Bill Caroselli wrote:

dc > We owe you one if you are ever in Holland!! You can see our collection, I
dc > understand that you are interested in DEC retro computers.

The guy that would really like to see that is Robert Krten.
I understand he has a few of his own.

His basement is like a VAX museum. :slight_smile:


Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.

Robert Krten wrote:

Chris, you insult me! VAXes are FAR TOO NEW!!! > :slight_smile:

Sorry, couldn’t remember which was which!

Kirk collects VAXes. > :slight_smile:

Well, he is younger than you…

http://www.ba23.org


Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.

Chris Herborth <cherborth@qnx.com> wrote:
CH > Bill Caroselli wrote:

dc > We owe you one if you are ever in Holland!! You can see our collection, I
dc > understand that you are interested in DEC retro computers.

The guy that would really like to see that is Robert Krten.
I understand he has a few of his own.

CH > His basement is like a VAX museum. :slight_smile:

I wouldn’t mind seeing either collection. I’m a bit of a pack rat too.

When I was in high school we had an IBM 1130 computer. I learned that
at the end of my senior year they were giving it up for something newer.
We then learned that after we got rid of it, it was to be DESTROYED!!
We (me and some friends) tried like hell to acquire that old box. Actually,
it was more like a desk with a computer inside. But IBM would not sell,
lend or give away at any price.

For those who like to ponder how anyone ever got anything done in the
“Good Old Days”; this box had 8K 16-bit words of magnetic core memory,
and a 512 KB hard drive. (I.E. Some of you are wearing watches with more
memory on them then this had for a hard drive.)

And with that it had a monitor OS, a Fortraqn IV compiler and enough room
to run a useful application.

I’m sure if Bill Flowers where there, he would have fought me for that old
computer. He had some experience programming on one too.

Wow, I am glade it works. :slight_smile:

-xtang

david chivers <david@emulatorsinternational.com> wrote in message
news:comm61$qfs$1@inn.qnx.com

Xiaodan you are a Genius!!!

You were right we had forgotten to fill in the physical address
information.

We owe you one if you are ever in Holland!! You can see our collection, I
understand that you are interested in DEC retro computers.

With great thanks

David

Xiaodan Tang wrote:

Sounds like the packet data is not DMAable, or you forgot to set the
physical address in
each net_iov_t.

-xtang

david chivers <> david@emulatorsinternational.com> > wrote in message
news:cojs3e$ksl$> 1@inn.qnx.com> …
Dear Xiaodan,

Thanks for your response, I did try to write my own and it appeared to
work with the older network drivers devn-rtl and devn-ne2000, but does
not
work with the drivers devn-speedo or devn-tigon3. These drivers were
connected to modern fast ethernet and giga ethernet adaptors.
Something appears to go wrong with the TX_DONE, resulting in a packet
not
being transmitted on the network. I tried monitoring with tcpdump but
the
packet does not appear although the trace info says it’s been sent!!!

Hope you can help me

David

Xiaodan Tang wrote:

No, nfm-bpf.so does not allow out going traffic.

There use to be nfm-nraw.so but I guess it’s not in the TDK.
Write one of your own is not that difficult though > :slight_smile:

-xtang

david chivers <> david@emulatorsinternational.com> > wrote in message
news:cohs5s$66h$> 1@inn.qnx.com> …

I was wondering whether the functionality of the nfm-bpf shared
library in
the TDK is restricted to receiving or is it also able to transmit
data.
I am looking for a low level interface for network traffic
handling.
Any
suggestions?

















\

Hi Guys,

Thanks for your trip down memory lane. I started programming using a
PDP11/45 running under RSX11D. Delivered a large number of industrial
project using the old 11/23. I just managed to miss the PDP8 era, although
I had to migrate a number of projects to PDP11.
I am sorry to say that our collection might not be old enough, 2 Microvax
II, Vaxstation 4000 and an Alphaserver 1000, all up and running.
Currently, involved with implementing old Q-bus devices for DRV11-WA
parallel communication and DRV11-C interrupt handling. Looking for a good
example of a DNDRIVER. Would love to hear from anybody with graphical
VCB02 terminal experience, running DecWindows.

Have a great week-end

David

PS Thanks again to Xiaodan, we were searching weeks for that stupid error.
Everything appears to be working OK on all the adaptor, so we have a
primitive npm-raw for anybody whos interested

Chris Herborth wrote:

Robert Krten wrote:
Chris, you insult me! VAXes are FAR TOO NEW!!! > :slight_smile:

Sorry, couldn’t remember which was which!

Kirk collects VAXes. > :slight_smile:

Well, he is younger than you…

http://www.ba23.org


Chris Herborth (> cherborth@qnx.com> )
Never send a monster to do the work of an evil scientist.