summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2005-08-09 20:12:30 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 15:49:40 -0700
commitc4365c9235f80128c3c3d5993074173941b1c1f0 (patch)
treef507b8360bab9f4c86050d75bb7372aa28ce890e /include
parentd8c97a9451068dd9f7b838a240bb6db894133a5e (diff)
downloadblackbird-op-linux-c4365c9235f80128c3c3d5993074173941b1c1f0.tar.gz
blackbird-op-linux-c4365c9235f80128c3c3d5993074173941b1c1f0.zip
[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;
OpenPOWER on IntegriCloud