Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
epan
golay.h
Go to the documentation of this file.
1
18
#ifndef __GOLAY_H__
19
#define __GOLAY_H__
20
21
#include <stdint.h>
22
23
#include "ws_symbol_export.h"
24
25
/* encodes a 12-bit word to a 24-bit codeword
26
*/
27
WS_DLL_PUBLIC
28
uint32_t golay_encode(
unsigned
w);
29
30
/* return a mask showing the bits which are in error in a received
31
* 24-bit codeword, or -1 if 4 errors were detected.
32
*/
33
WS_DLL_PUBLIC
34
int32_t golay_errors(uint32_t codeword);
35
36
/* decode a received codeword. Up to 3 errors are corrected for; 4
37
errors are detected as uncorrectable (return -1); 5 or more errors
38
cause an incorrect correction.
39
*/
40
WS_DLL_PUBLIC
41
int
golay_decode(uint32_t w);
42
43
#endif
44
45
/*
46
* Editor modelines
47
*
48
* Local Variables:
49
* c-basic-offset: 4
50
* tab-width: 8
51
* indent-tabs-mode: nil
52
* End:
53
*
54
* ex: set shiftwidth=4 tabstop=8 expandtab:
55
* :indentSize=4:tabSize=8:noTabs=true:
56
*/
Generated by
1.9.8