I am writing a kernel socket program which binds to a IPv6 address, so bind
always fails with 49. Below is the code snippet I am using, is something wrong
here?
roundhay# uname -a
FreeBSD roundhay 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Mon Apr 8 16:15:06 IST
2013
root@roundhay:/usr/obj/ho
R
status: no carrier
-Original Message-
From: Andrey V. Elsukov [mailto:bu7c...@yandex.ru]
Sent: Thursday, April 18, 2013 7:19 PM
To: Sreenivasa Honnur
Cc: freebsd-hackers@freebsd.org
Subject: Re: PV6 bind fails with 49 (#define EADDRNOTAVAIL 49 /* Can't assign
requested a
R
status: no carrier
-Original Message-
From: Andrey V. Elsukov [mailto:bu7c...@yandex.ru]
Sent: Thursday, April 18, 2013 7:19 PM
To: Sreenivasa Honnur
Cc: freebsd-hackers@freebsd.org
Subject: Re: PV6 bind fails with 49 (#define EADDRNOTAVAIL 49 /* Can't assign
requested addr
I have a ipv6 interface(ping6 to a remove ipv6 works) when I try to bind to
this address through a socket program "sobind" fails with "49" as return value.
If I give "saddr6.sin6_addr = in6addr_any;" sobind works.
Any idea what could be going wrong here?
roundhay# ifconfig cxgbe1
cxgbe1:
I have a ipv6 interface(ping6 to a remove ipv6 works) when I try to bind to
this address through a socket program "sobind" fails with "49" as return value.
If I give "saddr6.sin6_addr = in6addr_any;" sobind works.
Any idea what could be going wrong here?
roundhay# ifconfig cxgbe1
cxgbe1:
5 matches
Mail list logo