Problem in Netgraph ( TESTING OF MY NODE )

2004-03-21 Thread manish gautam
Ist problem = i hav created my own node named "m" .and using commands kldload netgraph kldload ng_ether kldload ng_m i also create an ether node and then i attach my "m" node to ether node using ngctl mkpeer ed0: m upper right after that on command ::--> ngctl msg my_m: getstats

problem in netgraph

2004-02-03 Thread niraj kumar
1. when i use printf statement to print my own string with the message in nge_rcvdata function in ng_echo.c i face the problem thatobject code has not changed. and when i use ngctl write command with the -f filename option it just print the file contents . what is the proper procedure to add y