patch-2.1.101 linux/net/ipx/af_spx.c
Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri May 8 00:08:02 1998
- Orig file:
v2.1.100/linux/net/ipx/af_spx.c
- Orig date:
Tue Apr 14 14:29:26 1998
diff -u --recursive --new-file v2.1.100/linux/net/ipx/af_spx.c linux/net/ipx/af_spx.c
@@ -83,7 +83,7 @@
{
struct sock *sk;
- sk = sk_alloc(AF_IPX, GFP_KERNEL, 1);
+ sk = sk_alloc(PF_IPX, GFP_KERNEL, 1);
if(sk == NULL)
return (-ENOMEM);
@@ -806,7 +806,7 @@
}
static struct proto_ops spx_operations = {
- AF_IPX,
+ PF_IPX,
sock_no_dup,
spx_release,
spx_bind,
@@ -827,7 +827,7 @@
static struct net_proto_family spx_family_ops=
{
- AF_IPX,
+ PF_IPX,
spx_create
};
@@ -842,7 +842,7 @@
if (error)
printk(KERN_ERR "SPX: unable to register with IPX.\n");
- /* route socket(AF_IPX, SOCK_SEQPACKET) calls through spx_create() */
+ /* route socket(PF_IPX, SOCK_SEQPACKET) calls through spx_create() */
printk(KERN_INFO "Sequenced Packet eXchange (SPX) 0.01 for Linux NET3.037\n");
return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov