Jalaja <email@example.com> wrote:
I just modified the subject of my query cuz i dint get the reply of my
Could anyone tell me how can i test the Tx flow of a Network Driver with the
tiny tcpip and the bigger one?
Just as other devn- drivers, for small stack:
io-net -d -p ttcpip if=en0:10.0.0.1
for big stack:
io-net -d -p tcpip
ifconfig en0 10.0.0.1
To test the “Tx flow”, just do a “ping 10.0.0.2” or some
other machine, you should be observed that your
“rx_down” function will be called, with a npkt, and other
Your driver, is responsible to transfer ALL the iovs in
that npkt (put them on the wire), and call tx_done().
The Network DDK, Beta Release talks about the simulation of the reception.
But I could not get an idea as how the Tx flow works.
Also, How can i add debug flags in the makefile. I added in the DEVN list
directory’s common.mk file as
CFLAGS += -DMYDEBUG
But it doesn’t take that one.
If memory servers, it’s be “CCFLAGS += -DMYDEBUG”.