diff options
Diffstat (limited to 'src/lib/libc/net/inet6_rthdr_space.3')
-rw-r--r-- | src/lib/libc/net/inet6_rthdr_space.3 | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/libc/net/inet6_rthdr_space.3 b/src/lib/libc/net/inet6_rthdr_space.3 index 4474228be0..7c00c42e42 100644 --- a/src/lib/libc/net/inet6_rthdr_space.3 +++ b/src/lib/libc/net/inet6_rthdr_space.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: inet6_rthdr_space.3,v 1.16 2005/01/06 11:08:47 jmc Exp $ | 1 | .\" $OpenBSD: inet6_rthdr_space.3,v 1.17 2005/01/11 17:45:41 jaredy Exp $ |
2 | .\" $KAME: inet6_rthdr_space.3,v 1.11 2005/01/05 03:00:44 itojun Exp $ | 2 | .\" $KAME: inet6_rthdr_space.3,v 1.11 2005/01/05 03:00:44 itojun Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (C) 2004 WIDE Project. | 4 | .\" Copyright (C) 2004 WIDE Project. |
@@ -103,7 +103,9 @@ is supported, | |||
103 | .Dv IPV6_RTHDR_TYPE_0 , | 103 | .Dv IPV6_RTHDR_TYPE_0 , |
104 | and it can hold from 1 to 23 segments. | 104 | and it can hold from 1 to 23 segments. |
105 | The return value includes the | 105 | The return value includes the |
106 | size of the cmsghdr structure that precedes the routing header, and | 106 | size of the |
107 | .Vt cmsghdr | ||
108 | structure that precedes the routing header and | ||
107 | any required padding. | 109 | any required padding. |
108 | .Pp | 110 | .Pp |
109 | A return value of 0 indicates an error. | 111 | A return value of 0 indicates an error. |
@@ -168,7 +170,7 @@ function specifies the strict or loose flag for the final hop of a | |||
168 | routing header. | 170 | routing header. |
169 | The | 171 | The |
170 | .Fa flags | 172 | .Fa flags |
171 | must be either | 173 | argument must be either |
172 | .Dv IPV6_RTHDR_LOOSE | 174 | .Dv IPV6_RTHDR_LOOSE |
173 | or | 175 | or |
174 | .Dv IPV6_RTHDR_STRICT . | 176 | .Dv IPV6_RTHDR_STRICT . |
@@ -212,7 +214,7 @@ function returns a pointer to the IPv6 address specified by the | |||
212 | argument from the routing header pointed to by | 214 | argument from the routing header pointed to by |
213 | .Fa cmsg . | 215 | .Fa cmsg . |
214 | The index must be between 1 and the number returned by | 216 | The index must be between 1 and the number returned by |
215 | .Fn inet6_rthdr_segments | 217 | .Fn inet6_rthdr_segments , |
216 | described above. | 218 | described above. |
217 | An application must call | 219 | An application must call |
218 | .Fn inet6_rthdr_segments | 220 | .Fn inet6_rthdr_segments |
@@ -254,7 +256,8 @@ The | |||
254 | function returns 0 when an error occurs. | 256 | function returns 0 when an error occurs. |
255 | .Pp | 257 | .Pp |
256 | The | 258 | The |
257 | .Fn inet6_rthdr_add , | 259 | .Fn inet6_rthdr_add |
260 | and | ||
258 | .Fn inet6_rthdr_lasthop | 261 | .Fn inet6_rthdr_lasthop |
259 | functions return 0 on success, and \-1 on error. | 262 | functions return 0 on success, and \-1 on error. |
260 | .Pp | 263 | .Pp |
@@ -274,6 +277,8 @@ and | |||
274 | functions return \-1 on error. | 277 | functions return \-1 on error. |
275 | .\" | 278 | .\" |
276 | .Sh SEE ALSO | 279 | .Sh SEE ALSO |
280 | .Xr inet6 4 , | ||
281 | .Xr ip6 4 | ||
277 | .Rs | 282 | .Rs |
278 | .%A W. Stevens | 283 | .%A W. Stevens |
279 | .%A M. Thomas | 284 | .%A M. Thomas |
@@ -290,7 +295,7 @@ functions return \-1 on error. | |||
290 | .Re | 295 | .Re |
291 | .\" | 296 | .\" |
292 | .Sh HISTORY | 297 | .Sh HISTORY |
293 | The implementation first appeared in KAME advanced networking kit. | 298 | This implementation first appeared in the KAME advanced networking kit. |
294 | .\" | 299 | .\" |
295 | .Sh BUGS | 300 | .Sh BUGS |
296 | The | 301 | The |