summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index a85e4c3ae..309d4ec17 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.51 2014/03/26 04:55:35 djm Exp $ */ 1/* $OpenBSD: misc.h,v 1.52 2014/04/20 02:30:25 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -82,6 +82,12 @@ void put_u32(void *, u_int32_t)
82void put_u16(void *, u_int16_t) 82void put_u16(void *, u_int16_t)
83 __bounded(( __minbytes__, 1, 2)); 83 __bounded(( __minbytes__, 1, 2));
84 84
85/* Little-endian store/load, used by umac.c */
86u_int32_t get_u32_le(const void *)
87 __bounded(( __minbytes__, 1, 4));
88void put_u32_le(void *, u_int32_t)
89 __bounded(( __minbytes__, 1, 4));
90
85struct bwlimit { 91struct bwlimit {
86 size_t buflen; 92 size_t buflen;
87 u_int64_t rate, thresh, lamt; 93 u_int64_t rate, thresh, lamt;