mirror of
https://github.com/soypat/lneto.git
synced 2026-08-21 15:09:05 +00:00
arp working over network
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Code generated by "stringer -type=Operation -linecomment -output stringers.go ."; DO NOT EDIT.
|
||||
|
||||
package arp
|
||||
|
||||
import "strconv"
|
||||
|
||||
func _() {
|
||||
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||
// Re-run the stringer command to generate them again.
|
||||
var x [1]struct{}
|
||||
_ = x[OpRequest-1]
|
||||
_ = x[OpReply-2]
|
||||
}
|
||||
|
||||
const _Operation_name = "requestreply"
|
||||
|
||||
var _Operation_index = [...]uint8{0, 7, 12}
|
||||
|
||||
func (i Operation) String() string {
|
||||
i -= 1
|
||||
if i >= Operation(len(_Operation_index)-1) {
|
||||
return "Operation(" + strconv.FormatInt(int64(i+1), 10) + ")"
|
||||
}
|
||||
return _Operation_name[_Operation_index[i]:_Operation_index[i+1]]
|
||||
}
|
||||
Reference in New Issue
Block a user