On Fri, 20 Jan 2006 14:17:20 +1100 (EST) yh@xxxxxxxxxxxxxx wrote: > Hello, > > I am porting three device drivers to linux. One function is that for > every received packet, the device driver sends a message to notify the > applications for processing. But I could not do it in linux, IPC seems > not designed for linux kernel. Use AF_PACKET, frame diverter or one of the standard mechanisms. There is no reason to make your device have special hooks. > This is a very basic feature for device driver to communicate > applications via messages, I am sure there must be some way in linux > where the kernel can talk to user mode applications via messages or > similar alternative mechanism (not signal). > > Any advices or sample codes will be much appreciated. > > Thank you. > > Jim > > > - > : send the line "unsubscribe linux-net" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html