ReactOS
0.4.16-dev-819-g75c0dc0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
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
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
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
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
eui64.c
Go to the documentation of this file.
1
/*
2
* eui64.c - EUI64 routines for IPv6CP.
3
*
4
* Copyright (c) 1999 Tommi Komulainen. All rights reserved.
5
*
6
* Redistribution and use in source and binary forms, with or without
7
* modification, are permitted provided that the following conditions
8
* are met:
9
*
10
* 1. Redistributions of source code must retain the above copyright
11
* notice, this list of conditions and the following disclaimer.
12
*
13
* 2. Redistributions in binary form must reproduce the above copyright
14
* notice, this list of conditions and the following disclaimer in
15
* the documentation and/or other materials provided with the
16
* distribution.
17
*
18
* 3. The name(s) of the authors of this software must not be used to
19
* endorse or promote products derived from this software without
20
* prior written permission.
21
*
22
* 4. Redistributions of any form whatsoever must retain the following
23
* acknowledgment:
24
* "This product includes software developed by Tommi Komulainen
25
* <Tommi.Komulainen@iki.fi>".
26
*
27
* THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO
28
* THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
29
* AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
30
* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
31
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
32
* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
33
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
34
*
35
* $Id: eui64.c,v 1.6 2002/12/04 23:03:32 paulus Exp $
36
*/
37
38
#include "
netif/ppp/ppp_opts.h
"
39
#if PPP_SUPPORT && PPP_IPV6_SUPPORT
/* don't build if not configured for use in lwipopts.h */
40
41
#include "
netif/ppp/ppp_impl.h
"
42
#include "
netif/ppp/eui64.h
"
43
44
/*
45
* eui64_ntoa - Make an ascii representation of an interface identifier
46
*/
47
char
*eui64_ntoa(eui64_t
e
) {
48
static
char
buf
[20];
49
50
sprintf
(
buf
,
"%02x%02x:%02x%02x:%02x%02x:%02x%02x"
,
51
e
.e8[0],
e
.e8[1],
e
.e8[2],
e
.e8[3],
52
e
.e8[4],
e
.e8[5],
e
.e8[6],
e
.e8[7]);
53
return
buf
;
54
}
55
56
#endif
/* PPP_SUPPORT && PPP_IPV6_SUPPORT */
eui64.h
buf
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition:
glext.h:7751
e
#define e
Definition:
ke_i.h:82
sprintf
#define sprintf(buf, format,...)
Definition:
sprintf.c:55
ppp_impl.h
ppp_opts.h
drivers
network
tcpip
lwip
src
netif
ppp
eui64.c
Generated on Sat Mar 15 2025 06:06:01 for ReactOS by
1.9.6