Re: Help related to socket creation in kernel space



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amit Luniya wrote:
Hello sir,
I am final year student of comp. engg. from pune
university. My project is hibernation in network
environment. Existing utility of hibernation using
"swsusp.c" does not support ping operation or any
other n/w related services after resume.
Tell me whether could we create socket in code of
resume in such a way that we can get image back from
server? As ping is application layer program does not
support operation after resume , so could we do
creation of socket and write kernel level network
program in resume process and can communicate with
server?
We are working on linux kernel 2.6.14.5 .
Please help us as we are hang over our project.
Have a good day sir.....

IMO, you can deal with low level socket and sk_buff, in kernel-space. I
don't know whether there is other way. If you want to notify the resume
process or do something like connecting to a server after resume, I
think you better write a small module to pass events to userspace (using
kernel-user space linker/connector) then let userspace programs do
whatever they want.

Mikado.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEJXzGNWc9T2Wr2JcRAvsbAJ9HulNEBoWdiY7vwT0j6IVCrJWWUwCfZu2p
YkO3S1YdxfmQMpZpCO9nKro=
=OXAX
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • ksoftirqd causing severe network performance problems
    ... failover setup), with a new one. ... At the end of last week, the new setup had network problems and what we saw on ... the linux router was that the kernel threads ksoftirqd_CPU1 and ksoftirqd_CPU0 ... When the backup is working fine, we can't use the faulty server anymore ...
    (Linux-Kernel)
  • ksoftirqd causing severe network performance problems
    ... failover setup), with a new one. ... At the end of last week, the new setup had network problems and what we ... When the backup is working fine, we can't use the faulty server ... switching drivers and switching between kernel versions (2.4.21/2.4.22/ ...
    (comp.os.linux.networking)
  • Strange NFS Problem
    ... All our unix systems at work have their home directory mounted via NFS ... last kernel. ... will replace network cables tomorrow ... I have increased the number of servers on the NFS server from 8 to 16. ...
    (Fedora)
  • Re: Help for problem related to hibernation in linux kernel 2.6.14.5 kernel
    ... I am working on project of hibernation in network ... environment that means client image is saved onto ... communicate with server and can not get image back ...
    (Linux-Kernel)
  • Re: iptables.. class C, no nating. help.
    ... > firewall and forwarding data out onto the net. ... > outside my own network, and I cant, as the firewall is ... the web server to traverse the forward chain. ... you will need to enable forwarding in the kernel with the ...
    (comp.os.linux.security)