patch-1.3.26 linux/include/net/raw.h
Next file: linux/include/net/route.h
Previous file: linux/include/net/protocol.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Sep 11 20:15:53 1995
- Orig file:
v1.3.25/linux/include/net/raw.h
- Orig date:
Tue Jun 6 11:22:18 1995
diff -u --recursive --new-file v1.3.25/linux/include/net/raw.h linux/include/net/raw.h
@@ -21,14 +21,14 @@
extern struct proto raw_prot;
-extern void raw_err(int err, unsigned char *header, unsigned long daddr,
- unsigned long saddr, struct inet_protocol *protocol);
+extern void raw_err(int type, int code, unsigned char *header, __u32 daddr,
+ __u32 saddr, struct inet_protocol *protocol);
extern int raw_recvfrom(struct sock *sk, unsigned char *to,
int len, int noblock, unsigned flags,
struct sockaddr_in *sin, int *addr_len);
extern int raw_read(struct sock *sk, unsigned char *buff,
int len, int noblock, unsigned flags);
extern int raw_rcv(struct sock *, struct sk_buff *, struct device *,
- long, long);
+ __u32, __u32);
#endif /* _RAW_H */
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