I have a question involving the userspace and kernel communication.
I need to get a point where I can exchange data between netgraph nodes and a
program in the userland.
I have a netgraph node which receives network packets and sends them to the
program to be processed. The modified packets are t
I’ve modified the ng_hub node code in order to send a “connect” control
message to the following ng_ksocket node.
I’ve filled a sockaddr_in structure, named connect_saddrin, as:
connect_saddrin.sin_len = 16;
connect_saddrin.sin_family = AF_INET;
connect_saddrin.sin_port = htonl(55056);
conne
Hi,
I want to send a connect control message from an ng_hub node to the followin
ng_ksocket node.
I've tired by filling within the ng_hub node the sockaddr_in structure named
connect_addr:
connect_addr->sin_len = 16;
connect_addr->sin_family = AF_INET;
connect_addr->sin_port = htons(5505
Hi,
I need to convert an ascii string in its corresponding hex version (the same
as sscanf(str,"%02x%02x...",...) does) in the kernel.
Could someone help me?
Thank you in advice,
Serena
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/
Hi,
I’ve got a problem with the packet injection. I’ve tried to send a packet by
the means of the nemesis suite. Everything works fine since I type the
command
“nemesis udp …”
on the command line.
If I tried to call the same command via the PHP exec()
exec("nemesis udp $message_to_send",$res