patch-1.3.42 linux/net/ipv4/raw.c
Next file: linux/net/ipv4/route.c
Previous file: linux/net/ipv4/rarp.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Tue Nov 14 16:04:03 1995
- Orig file:
v1.3.41/linux/net/ipv4/raw.c
- Orig date:
Wed Nov 8 07:11:46 1995
diff -u --recursive --new-file v1.3.41/linux/net/ipv4/raw.c linux/net/ipv4/raw.c
@@ -35,6 +35,8 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
+
+#include <linux/config.h>
#include <asm/system.h>
#include <asm/segment.h>
#include <linux/types.h>
@@ -57,8 +59,6 @@
#include <net/udp.h>
#include <net/checksum.h>
-#include <linux/config.h>
-
#ifdef CONFIG_IP_MROUTE
struct sock *mroute_socket=NULL;
#endif
@@ -240,8 +240,8 @@
* Temporary
*/
-static int raw_sendmsg(struct sock *sk, struct msghdr *msg,
- int len, int noblock, int flags)
+static int raw_sendmsg(struct sock *sk, struct msghdr *msg, int len, int noblock,
+ int flags)
{
if(msg->msg_iovlen==1)
return raw_sendto(sk,msg->msg_iov[0].iov_base,len, noblock, flags, msg->msg_name, msg->msg_namelen);
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