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
בתאריך 28 במרץ 2016 18:04, "Manoj Nayak" <manojnayak2005@xxxxxxxxx> כתב:
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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies