Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Delta Between Two Patch Sets: ipv4/genericopt_stub.go

Issue 95560048: code review 95560048: go.net/ipv4: add stubs for nacl build (Closed)
Left Patch Set: Created 10 years, 10 months ago
Right Patch Set: diff -r b50b86678674 https://code.google.com/p/go.net Created 10 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « ipv4/dgramopt_stub.go ('k') | ipv4/helper_stub.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(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 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b