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