summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/nat64.h')
-rw-r--r--src/plugins/nat/nat64.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/nat/nat64.h b/src/plugins/nat/nat64.h
index a95ded22893..f13334447b0 100644
--- a/src/plugins/nat/nat64.h
+++ b/src/plugins/nat/nat64.h
@@ -91,9 +91,9 @@ typedef struct
/** config parameters */
u32 bib_buckets;
- u32 bib_memory_size;
+ uword bib_memory_size;
u32 st_buckets;
- u32 st_memory_size;
+ uword st_memory_size;
/** values of various timeouts */
u32 udp_timeout;
@@ -359,8 +359,8 @@ void nat64_extract_ip4 (ip6_address_t * ip6, ip4_address_t * ip4,
* @param st_buckets Number of session table hash buckets.
* @param st_memory_size Memory size of session table hash.
*/
-void nat64_set_hash (u32 bib_buckets, u32 bib_memory_size, u32 st_buckets,
- u32 st_memory_size);
+void nat64_set_hash (u32 bib_buckets, uword bib_memory_size, u32 st_buckets,
+ uword st_memory_size);
/**
* @brief Get worker thread index for NAT64 in2out.
='grep'>log msg
path: root/tox.ini
blob: 079e689136b21799ee21982500224b0d1a071f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109