F-Stack / f-stack

F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
http://www.f-stack.org
Other
3.82k stars 893 forks source link

could you give a simple example: for how to use hook in f-stack ? #308

Open gechangwei opened 5 years ago

gechangwei commented 5 years ago

hi:

I think f-satck is support hook now, but the f-stack's stack of freebsd run in the user space.

I don't konw how to use hook in f-stack, maybe just like the netfilter of linux or not. Could you give a clear and simple example about how to use hook in f-stack ?

thank you very much.

whl739 commented 5 years ago

See https://github.com/F-Stack/f-stack/issues/215#issuecomment-392465863