diff options
author | Arnaldo Carvalho de Melo | 2005-08-10 05:12:30 +0200 |
---|---|---|
committer | David S. Miller | 2005-08-30 00:49:40 +0200 |
commit | c4365c9235f80128c3c3d5993074173941b1c1f0 (patch) | |
tree | f507b8360bab9f4c86050d75bb7372aa28ce890e /include | |
parent | [NET]: Export symbols needed by the current DCCP code (diff) | |
download | kernel-qcow2-linux-c4365c9235f80128c3c3d5993074173941b1c1f0.tar.gz kernel-qcow2-linux-c4365c9235f80128c3c3d5993074173941b1c1f0.tar.xz kernel-qcow2-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.h | 2 |
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; |