Hello ,
I'm working with netgraph and I'm writting a program to capture information
that come to and leave the xl0 interface of my machine. And at each time I'm
connecting the ethernet node to a socket node (the upper and the lower). The
first iteration of my boucle is running well but for the
Hello,
I have written a program with netgraph which allow me to connect a node soket
to a node Ethernet. But my problem is that the program exit after calling
NgSendMsg, in fact it stop at this step:
if (NgSendMsg(csock, ".",
NGM_GENERIC_COOKIE, NGM
Hello,
I'm working with netgraph, I have written a program main.c ( main(ac, av) ), it
allows me to use the node socket and I need to use it to capture ethernet
frames. I have also the node ng_ethernet, but I
don't know how to use my program.
For writing this program, I was based on the file: