patch-1.3.44 linux/net/core/sock.c
Next file: linux/net/ethernet/pe2.c
Previous file: linux/net/core/skbuff.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Nov 24 16:39:54 1995
- Orig file:
v1.3.43/linux/net/core/sock.c
- Orig date:
Mon Oct 23 18:02:22 1995
diff -u --recursive --new-file v1.3.43/linux/net/core/sock.c linux/net/core/sock.c
@@ -207,7 +207,10 @@
}
return 0;
-
+ case SO_BSDCOMPAT:
+ sk->bsdism = valbool;
+ return 0;
+
default:
return(-ENOPROTOOPT);
}
@@ -285,7 +288,9 @@
memcpy_tofs(optval,&ling,sizeof(ling));
return 0;
-
+ case SO_BSDCOMPAT:
+ val = sk->bsdism;
+ break;
default:
return(-ENOPROTOOPT);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this