taglinefilesource code
oldsock95include/linux/net.hint  (*dup)    (struct socket *newsock, struct socket *oldsock);
oldsock1180net/appletalk/ddp.cstatic int atalk_dup(struct socket *newsock,struct socket *oldsock)
oldsock1220net/ax25/af_ax25.cstatic int ax25_dup(struct socket *newsock, struct socket *oldsock)
oldsock1222net/ax25/af_ax25.cstruct sock *sk = (struct sock *)oldsock->data;
oldsock737net/ipv4/af_inet.cstatic int inet_dup(struct socket *newsock, struct socket *oldsock)
oldsock739net/ipv4/af_inet.creturn(inet_create(newsock,((struct sock *)(oldsock->data))->protocol));
oldsock1739net/ipx/af_ipx.cstatic int ipx_dup(struct socket *newsock,struct socket *oldsock)
oldsock655net/netrom/af_netrom.cstatic int nr_dup(struct socket *newsock, struct socket *oldsock)
oldsock657net/netrom/af_netrom.cstruct sock *sk = (struct sock *)oldsock->data;
oldsock329net/unix/af_unix.cstatic int unix_dup(struct socket *newsock, struct socket *oldsock)