public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Help related to socket creation in kernel space
@ 2006-03-25  5:09 Amit Luniya
  2006-03-25 17:24 ` Mikado
  2006-03-25 17:30 ` Mikado
  0 siblings, 2 replies; 3+ messages in thread
From: Amit Luniya @ 2006-03-25  5:09 UTC (permalink / raw)
  To: Linux mailing

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


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help related to socket creation in kernel space
  2006-03-25  5:09 Help related to socket creation in kernel space Amit Luniya
@ 2006-03-25 17:24 ` Mikado
  2006-03-25 17:30 ` Mikado
  1 sibling, 0 replies; 3+ messages in thread
From: Mikado @ 2006-03-25 17:24 UTC (permalink / raw)
  To: Amit Luniya; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help related to socket creation in kernel space
  2006-03-25  5:09 Help related to socket creation in kernel space Amit Luniya
  2006-03-25 17:24 ` Mikado
@ 2006-03-25 17:30 ` Mikado
  1 sibling, 0 replies; 3+ messages in thread
From: Mikado @ 2006-03-25 17:30 UTC (permalink / raw)
  To: Amit Luniya; +Cc: linux-kernel

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

And the last thing, I don't know if network codes is legal in resume
process or not.

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

iD8DBQFEJX5ENWc9T2Wr2JcRAsheAJ94lPaw0Gn3B+D5JxyRYFapf6n3TQCg0GQX
Br6DYoO+f6w+rE+c3cZ4pWY=
=zYv4
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-25 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-25  5:09 Help related to socket creation in kernel space Amit Luniya
2006-03-25 17:24 ` Mikado
2006-03-25 17:30 ` Mikado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox