Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Try enabling tap/tun network interface. You can then make kernel route everything needed through this interface - by standard routing configuration means, like 'ip route' or 'route' - and simply put program that translates packets to your BT stack and back on the other end of tun/tap. See documentation in kernel source.
You will configure this interface - as usual - to have some IP and you will set up routing so that some packets will have to be routed through it. So everything that is routed through tun interface will be caught on tun device.