patch-1.3.8 linux/net/ipv4/tcp.c
Next file: linux/net/ipx/af_ipx.c
Previous file: linux/net/ipv4/ip.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Jul 7 13:09:32 1995
- Orig file:
v1.3.7/linux/net/ipv4/tcp.c
- Orig date:
Fri Jul 7 08:54:57 1995
diff -u --recursive --new-file v1.3.7/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
@@ -2020,7 +2020,7 @@
while (len > 0)
{
struct sk_buff * skb;
- unsigned long offset;
+ u32 offset;
/*
* Are we at urgent data? Stop if we have read anything.
@@ -2125,7 +2125,7 @@
if (sk->urg_data)
{
- unsigned long urg_offset = sk->urg_seq - *seq;
+ u32 urg_offset = sk->urg_seq - *seq;
if (urg_offset < used)
{
if (!urg_offset)
@@ -4085,7 +4085,7 @@
static void tcp_check_urg(struct sock * sk, struct tcphdr * th)
{
- unsigned long ptr = ntohs(th->urg_ptr);
+ u32 ptr = ntohs(th->urg_ptr);
if (ptr)
ptr--;
@@ -4118,7 +4118,7 @@
extern __inline__ int tcp_urg(struct sock *sk, struct tcphdr *th,
unsigned long saddr, unsigned long len)
{
- unsigned long ptr;
+ u32 ptr;
/*
* Check if we get a new urgent pointer - normally not
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