Hi,
Header files under include/net are for kernel internal use.
Header files under include/uapi are for exposure to userspace:
http://lxr.free-electrons.com/source/include/uapi/
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
Manoj Nayak> 1) Is it possible to write a new protocol for linux with an out ofRegards
> tree module without modifing socket.h file?
I think this has been already tried in the following code.
http://lxr.free-electrons.com/source/include/net/bluetooth/bluetooth.h#L36
http://lxr.free-electrons.com/source/include/linux/socket.h#L239
The challenge is to expose this development specific header file to userspace.
The following document talks about that.
http://kernelnewbies.org/KernelHeaders
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies