Hi, Adel, - In your first message you said you are using kernel modules. - In case you intend to add code in ICMP for your special requirements from the control protocol, then this seems not a good idea (because this means patching the kernel for using your module; and probably such patches will not go to mainline) I don't know of any usage of ICMP for purposes beyond what is declared in the ICMP RFC. regards, Rami Rosen http://ramirose.wix.com/ramirosen On Fri, Feb 22, 2013 at 5:15 PM, Adel Qodmani <mpcadel@xxxxxxxxx> wrote: > > On Fri, Feb 22, 2013 at 4:54 PM, <Valdis.Kletnieks@xxxxxx> wrote: >> >> On Fri, 22 Feb 2013 14:36:17 +0200, Adel Qodmani said: >> >> >> Others have given some details on "how". A better question is "why". > > > Well, the why is the following: > > I am trying to implement a new protocol that we've designed which works on > top of the IP layer, so I am using ICMP messages to carry control > information for the protocol. > Why using ICMP, it seemed natural since our protocol is a Network-layer > protocol and ICMP is a control messages protocol. > > Does that make sense? > > Regards, > Adel > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@xxxxxxxxxxxxxxxxx > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies