mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Why istn't dup in TCP working??
@ 2001-07-31  8:42 Nitin Dhingra
  2001-08-01 22:46 ` Alexey Kuznetsov
  0 siblings, 1 reply; 2+ messages in thread
From: Nitin Dhingra @ 2001-07-31  8:42 UTC (permalink / raw)
  To: linux-kernel

Hi,
		I used functions of socket's operation structure like 
create, bind, connect, dup etc.in the kernel for transfering data over 
TCP from the kernel. 
		Now this is working fine in 2.2.x but when I compiled my 
module in 2.4.x the first error that I get is that dup is not a 
part of socket's operation structure anymore. 
		So what is the replacement for it, I couldn't find any
in the proto_ops structure?

Regards,
Nitin

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

* Re: Why istn't dup in TCP working??
  2001-07-31  8:42 Why istn't dup in TCP working?? Nitin Dhingra
@ 2001-08-01 22:46 ` Alexey Kuznetsov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Kuznetsov @ 2001-08-01 22:46 UTC (permalink / raw)
  To: Nitin Dhingra; +Cc: linux-kernel

Hello!

> module in 2.4.x the first error that I get is that dup is not a 
> part of socket's operation structure anymore. 
> 		So what is the replacement for it, I couldn't find any
> in the proto_ops structure?

dup was alias for sock_create() and hence deleted.

The question in reply: what did you use this for?
It was not used in 2.2 for anything but creating in accept()
a socket which was instanly dropped. :-)

Alexey

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

end of thread, other threads:[~2001-08-01 16:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31  8:42 Why istn't dup in TCP working?? Nitin Dhingra
2001-08-01 22:46 ` Alexey Kuznetsov

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

all inboxes | Powered by JetHome®