kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: mislam4@kent.edu (Md. Islam)
To: kernelnewbies@lists.kernelnewbies.org
Subject: TCP as a module
Date: Sat, 5 Nov 2016 21:10:19 -0400	[thread overview]
Message-ID: <CAFgPn1DyTvr3SuciOwcitiiOjT50DMxfX=ok_iN69H2pw2fCvQ@mail.gmail.com> (raw)

Hi

Currently TCP is statically linked to the kernel. How can I make it a
loadable module? I need to modify TCP (tcp_input.c and tcp_output.c). It
would be easier for my development if it's just another module (I don't
need to restart every time).

I changed the *fs_initcall(inet_init)* to *module_init(inet_init)*, but
doesn't seem to help. Looking forward to your suggestions.

Many thanks
Tamim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161105/e4a28bbc/attachment.html 

             reply	other threads:[~2016-11-06  1:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-06  1:10 Md. Islam [this message]
2016-11-13  5:55 ` TCP as a module Valdis.Kletnieks at vt.edu
2016-11-14 12:17 ` Aruna Hewapathirane
2016-11-15  5:14   ` Md. Islam
2016-11-15  6:05     ` 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='CAFgPn1DyTvr3SuciOwcitiiOjT50DMxfX=ok_iN69H2pw2fCvQ@mail.gmail.com' \
    --to=mislam4@kent.edu \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).