| 1234567891011121314151617181920212223242526272829 |
- // 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
- }
|