MCPcopy Index your code
hub / github.com/burpheart/GoNetCapture / Htons

Function Htons

cap_linux.go:18–20  ·  view source on GitHub ↗
(v uint16)

Source from the content-addressed store, hash-verified

16)
17
18func Htons(v uint16) int {
19 return int((v << 8) | (v >> 8))
20}
21func cappacp() {
22
23 flagHEX := flag.Bool("x", false, "only print hex dump")

Callers 1

cappacpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected