mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
30 lines
609 B
Go
30 lines
609 B
Go
// Copyright 2012 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package ipv4
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func (c *genericOpt) TOS() (int, error) {
|
|
// TODO(mikio): Implement this
|
|
return 0, syscall.EPLAN9
|
|
}
|
|
|
|
func (c *genericOpt) SetTOS(tos int) error {
|
|
// TODO(mikio): Implement this
|
|
return syscall.EPLAN9
|
|
}
|
|
|
|
func (c *genericOpt) TTL() (int, error) {
|
|
// TODO(mikio): Implement this
|
|
return 0, syscall.EPLAN9
|
|
}
|
|
|
|
func (c *genericOpt) SetTTL(ttl int) error {
|
|
// TODO(mikio): Implement this
|
|
return syscall.EPLAN9
|
|
}
|