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 (
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
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
1. when in compile the kernel with options NETGRAPH and after that when i see the
nodes withngctl list it doesn't show the ethernet interface in the node list . i
am the beginner in this field
2. i want to insert a module between the ng_ether lower node and the upper node .
where i