Adding new protocol to linux.

Rami Rosen roszenrami at gmail.com
Mon Mar 28 16:08:48 EDT 2016


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 at gmail.com> כתב:

> > 1) Is it possible to write a new protocol for linux with an out of
> > 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
>
> Regards
> Manoj Nayak
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160328/69e3079b/attachment.html 


More information about the Kernelnewbies mailing list