-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlo-proposal-smcr-ipv4.html
66 lines (61 loc) · 2.97 KB
/
lo-proposal-smcr-ipv4.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Loopback SMC-R CLC Handshake</title>
</head>
<body>
<!-- CSS styles -->
<style>
.highlight {
color: black;
background-color: yellow;
}
</style>
<!-- content -->
<pre>127.0.0.1:60294 -> 127.0.0.1:50000: Proposal: <span class="1">Eyecatcher: SMC-R</span>,
<span class="2">Type: 1 (Proposal)</span>, <span class="3">Length: 52</span>, <span class="4">Version: 1</span>, <span class="5">Flag: 0</span>, <span class="6">Path: SMC-R</span>,
<span class="7">Peer ID: 45472@98:03:9b:ab:cd:ef</span>, <span class="8">SMC-R GID: fe80::9a03:9bff:feab:cdef</span>,
<span class="9">RoCE MAC: 98:03:9b:ab:cd:ef</span>, <span class="10">IP Area Offset: 0</span>, <span class="11">SMC-D GID: 0</span>,
<span class="12">IPv4 Prefix: 127.0.0.0/8</span>, <span class="13">IPv6 Prefix Count: 0</span>, <span class="1">Trailer: SMC-R</span>
00000000 <span class="1">e2 d4 c3 d9</span> <span class="2">01</span> <span class="3">00 34</span> <span class="4">1</span><span class="5"><span class="6">0</span></span> <span class="7">b1 a0 98 03 9b ab cd ef</span> |<span class="1">....</span><span class="2">.</span><span class="3">.4</span><span class="4"><span class="5"><span class="6">.</span></span></span><span class="7">........</span>|
00000010 <span class="8">fe 80 00 00 00 00 00 00 9a 03 9b ff fe ab cd ef</span> |<span class="8">................</span>|
00000020 <span class="9">98 03 9b ab cd ef</span> <span class="10">00 00</span> <span class="12">7f 00 00 00 08</span> 00 00 <span class="13">00</span> |<span class="9">......</span><span class="10">..</span><span class="12">....</span>..<span class="13">..</span>|
00000030 <span class="1">e2 d4 c3 d9</span> |<span class="1">....</span>|</pre>
<!-- script for highlighting -->
<script type="text/javascript">
// set mouse over for a class
function mouseOverByClass(className, highlightClassName) {
var elements = document.getElementsByClassName(className);
function mouseOverEvent() {
for(var i = 0; i < elements.length; i++) {
elements[i].classList.add(highlightClassName);
}
};
function mouseOutEvent() {
for(var i = 0; i < elements.length; i++) {
elements[i].classList.remove(highlightClassName);
}
};
for (var i = 0; i < elements.length; i++) {
elements[i].onmouseover = mouseOverEvent;
elements[i].onmouseout = mouseOutEvent;
}
}
// setup highlights for classes
mouseOverByClass("1", "highlight")
mouseOverByClass("2", "highlight")
mouseOverByClass("3", "highlight")
mouseOverByClass("4", "highlight")
mouseOverByClass("5", "highlight")
mouseOverByClass("6", "highlight")
mouseOverByClass("7", "highlight")
mouseOverByClass("8", "highlight")
mouseOverByClass("9", "highlight")
mouseOverByClass("10", "highlight")
mouseOverByClass("11", "highlight")
mouseOverByClass("12", "highlight")
mouseOverByClass("13", "highlight")
</script>
</body>
</html>