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

Side by Side Diff: ipv4/dgramopt_posix.go

Issue 97800043: code review 97800043: go.net/ipv4: add support for dragonfly (Closed)
Patch Set: diff -r 9c33002573cb https://code.google.com/p/go.net Created 9 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:
View unified diff | Download patch
« no previous file with comments | « ipv4/control_unix.go ('k') | ipv4/dgramopt_stub.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 darwin freebsd linux netbsd openbsd windows 5 // +build darwin dragonfly freebsd linux netbsd openbsd windows
6 6
7 package ipv4 7 package ipv4
8 8
9 import ( 9 import (
10 "net" 10 "net"
11 "syscall" 11 "syscall"
12 ) 12 )
13 13
14 // MulticastTTL returns the time-to-live field value for outgoing 14 // MulticastTTL returns the time-to-live field value for outgoing
15 // multicast packets. 15 // multicast packets.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 fd, err := c.sysfd() 116 fd, err := c.sysfd()
117 if err != nil { 117 if err != nil {
118 return err 118 return err
119 } 119 }
120 grp := netAddrToIP4(group) 120 grp := netAddrToIP4(group)
121 if grp == nil { 121 if grp == nil {
122 return errMissingAddress 122 return errMissingAddress
123 } 123 }
124 return leaveIPv4Group(fd, ifi, grp) 124 return leaveIPv4Group(fd, ifi, grp)
125 } 125 }
OLDNEW
« no previous file with comments | « ipv4/control_unix.go ('k') | ipv4/dgramopt_stub.go » ('j') | no next file with comments »

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