summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2005-08-10 07:12:30 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-30 02:49:40 +0400
commitc4365c9235f80128c3c3d5993074173941b1c1f0 (patch)
treef507b8360bab9f4c86050d75bb7372aa28ce890e /include
parentd8c97a9451068dd9f7b838a240bb6db894133a5e (diff)
downloadlinux-c4365c9235f80128c3c3d5993074173941b1c1f0.tar.xz
[RANDOM]: Introduce secure_dccp_sequence_number
Code contributed by Stephen Hemminger. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/random.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/random.h b/include/linux/random.h
index cc6703449916..7b2adb3322d5 100644
--- a/include/linux/random.h
+++ b/include/linux/random.h
@@ -59,6 +59,8 @@ extern __u32 secure_tcp_sequence_number(__u32 saddr, __u32 daddr,
__u16 sport, __u16 dport);
extern __u32 secure_tcpv6_sequence_number(__u32 *saddr, __u32 *daddr,
__u16 sport, __u16 dport);
+extern u64 secure_dccp_sequence_number(__u32 saddr, __u32 daddr,
+ __u16 sport, __u16 dport);
#ifndef MODULE
extern struct file_operations random_fops, urandom_fops;