2013-08-06 10:51:54 -07:00

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
}