OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 The Go Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style |
| 3 // license that can be found in the LICENSE file. |
| 4 |
| 5 package ipv4 |
| 6 |
| 7 import ( |
| 8 "syscall" |
| 9 ) |
| 10 |
| 11 func (c *genericOpt) TOS() (int, error) { |
| 12 // TODO(mikio): Implement this |
| 13 return 0, syscall.EPLAN9 |
| 14 } |
| 15 |
| 16 func (c *genericOpt) SetTOS(tos int) error { |
| 17 // TODO(mikio): Implement this |
| 18 return syscall.EPLAN9 |
| 19 } |
| 20 |
| 21 func (c *genericOpt) TTL() (int, error) { |
| 22 // TODO(mikio): Implement this |
| 23 return 0, syscall.EPLAN9 |
| 24 } |
| 25 |
| 26 func (c *genericOpt) SetTTL(ttl int) error { |
| 27 // TODO(mikio): Implement this |
| 28 return syscall.EPLAN9 |
| 29 } |
OLD | NEW |