-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Micro: Fix common.Swab16
with proper encoding/binary
usage
#285
Labels
good-first-issue
Good starting point for new developers, which requires minimal understanding of Cilium.
kind/bug
This is a bug in the Cilium logic.
kind/enhancement
This would improve or streamline existing functionality.
Projects
Comments
tgraf
added
the
kind/enhancement
This would improve or streamline existing functionality.
label
Feb 10, 2017
tgraf
changed the title
Revise byte order handling. Replace use of
Micro: Fix Mar 20, 2017
common.Swab16
with byte order detection and proper encoding/binary
usagecommon.Swab16
with proper encoding/binary
usage
The number of occurrences of
|
@tgraf Not sure I understand the detection part, but is something like this(https://github.com/scanf/cilium/commit/1d547fc01eeeebc2f1c58c4b8c11cfd2fb384800) what you were thinking? |
tgraf
pushed a commit
that referenced
this issue
Jul 11, 2017
netlink is used for the byte order detection, which is already a dependency available in the vendor directory. The package provides the native byte order in the variable Native and wraps all byte order specific reads and write call sites. Related-to: #285 (Micro: Fix `common.Swab16` with proper `encoding/binary` usage) Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
tgraf
pushed a commit
that referenced
this issue
Jul 11, 2017
It's should already be in network byte order from Go side. Related-to: #285 (Micro: Fix `common.Swab16` with proper `encoding/binary` usage) Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
tgraf
pushed a commit
that referenced
this issue
Jul 11, 2017
this should show a synopsis on godoc[0]. [0]: https://godoc.org/github.com/cilium/cilium Closes: #285 (Micro: Fix common.Swab16 with proper encoding/binary usage) Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
amreshakim
pushed a commit
to amreshakim/cilium
that referenced
this issue
Jul 13, 2017
netlink is used for the byte order detection, which is already a dependency available in the vendor directory. The package provides the native byte order in the variable Native and wraps all byte order specific reads and write call sites. Related-to: cilium#285 (Micro: Fix `common.Swab16` with proper `encoding/binary` usage) Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
amreshakim
pushed a commit
to amreshakim/cilium
that referenced
this issue
Jul 13, 2017
It's should already be in network byte order from Go side. Related-to: cilium#285 (Micro: Fix `common.Swab16` with proper `encoding/binary` usage) Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
amreshakim
pushed a commit
to amreshakim/cilium
that referenced
this issue
Jul 13, 2017
this should show a synopsis on godoc[0]. [0]: https://godoc.org/github.com/cilium/cilium Closes: cilium#285 (Micro: Fix common.Swab16 with proper encoding/binary usage) Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
pchaigno
added
the
good-first-issue
Good starting point for new developers, which requires minimal understanding of Cilium.
label
Apr 2, 2020
michi-covalent
pushed a commit
to michi-covalent/cilium
that referenced
this issue
May 30, 2023
Static checks have timing out on the last few runs of cilium#285, increase the timeout from the default 1m to 5m. Signed-off-by: Tobias Klauser <tobias@cilium.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good-first-issue
Good starting point for new developers, which requires minimal understanding of Cilium.
kind/bug
This is a bug in the Cilium logic.
kind/enhancement
This would improve or streamline existing functionality.
pkg/byteorder
which replacescommon.Swab*
, based onencoding/binary
after detecting the local byte order.common.Swab*
This is required for Cilium to function on ARM architectures
The text was updated successfully, but these errors were encountered: