patch-1.3.26 linux/include/net/tcp.h
Next file: linux/include/net/udp.h
Previous file: linux/include/net/sock.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Mon Sep 11 20:15:53 1995
- Orig file:
v1.3.25/linux/include/net/tcp.h
- Orig date:
Thu Jul 13 16:20:21 1995
diff -u --recursive --new-file v1.3.25/linux/include/net/tcp.h linux/include/net/tcp.h
@@ -111,8 +111,8 @@
* convinced that this is the solution for the 'getpeername(2)'
* problem. Thanks to Stephen A. Wood <[email protected]> -FvK
*/
-extern __inline const int
-tcp_connected(const int state)
+
+extern __inline const int tcp_connected(const int state)
{
return(state == TCP_ESTABLISHED || state == TCP_CLOSE_WAIT ||
state == TCP_FIN_WAIT1 || state == TCP_FIN_WAIT2 ||
@@ -123,12 +123,12 @@
extern struct proto tcp_prot;
-extern void tcp_err(int err, unsigned char *header, unsigned long daddr,
- unsigned long saddr, struct inet_protocol *protocol);
+extern void tcp_err(int type, int code, unsigned char *header, __u32 daddr,
+ __u32, struct inet_protocol *protocol);
extern void tcp_shutdown (struct sock *sk, int how);
extern int tcp_rcv(struct sk_buff *skb, struct device *dev,
- struct options *opt, unsigned long daddr,
- unsigned short len, unsigned long saddr, int redo,
+ struct options *opt, __u32 daddr,
+ unsigned short len, __u32 saddr, int redo,
struct inet_protocol *protocol);
extern int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this