All of lore.kernel.org
 help / color / mirror / Atom feed
From: roszenrami@gmail.com (Rami Rosen)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Adding new protocol to linux.
Date: Mon, 28 Mar 2016 23:08:48 +0300	[thread overview]
Message-ID: <CAKoUArkLU5o=qeeLj=QrePSz9ioVXW8-_Uk0OPptr_UpE+rgqQ@mail.gmail.com> (raw)
In-Reply-To: <CAOsfsFJFAi2-24Z3859-JHa1N6f=CZhjLwd5+KHUGZdY6=oWLw@mail.gmail.com>

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@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 

  reply	other threads:[~2016-03-28 20:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28 15:03 Adding new protocol to linux Manoj Nayak
2016-03-28 20:08 ` Rami Rosen [this message]
2016-03-28 21:36   ` Daniel.
  -- strict thread matches above, loose matches on Subject: below --
2016-03-29  4:36 Manoj Nayak
2016-03-28 13:35 Manoj Nayak
2016-03-26  2:00 Daniel.
2016-03-26 11:04 ` Rami Rosen
     [not found]   ` <CAF3SDA5kn7_Pnx0=XpeQOB-D2UCeYZEnzPpcE=25U30ob9KSHQ@mail.gmail.com>
2016-03-26 23:30     ` Daniel
2016-03-26 19:59 ` Valdis.Kletnieks at vt.edu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKoUArkLU5o=qeeLj=QrePSz9ioVXW8-_Uk0OPptr_UpE+rgqQ@mail.gmail.com' \
    --to=roszenrami@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.