the return value of sctp_connectx do not match any error

2011-12-02 Thread jyl_2006
Hi, I use FreeBSD 9.0 Beta2. When I use sctp_connectx to init a new association , the return value of this function is strange. The return value is not any of following:1.EINVAL, 2.E2BIG, 3.EBADOF, 4.ENOTSOCK. I use perror() function to see detail, it shows that " Resource temporarily unavailable

Re: the return value of sctp_connectx do not match any error

2011-12-02 Thread Michael Tüxen
On Dec 2, 2011, at 3:07 PM, jyl_2006 wrote: > Hi, > I use FreeBSD 9.0 Beta2. > When I use sctp_connectx to init a new association , the return value of > this function is strange. > The return value is not any of following:1.EINVAL, 2.E2BIG, 3.EBADOF, > 4.ENOTSOCK. Hi, the return value should be

VLAN HWTSO question/problem

2011-12-02 Thread Jack Vogel
I have just discovered during some validation testing on the em driver, that if HWTSO is enabled at the same time as VLAN_HWTAGGING and/or VLAN_HWFILTER that its broken. Looking at the vlan source its not obvious why this would be the case, but netperf just fails completely. I can turn TAGGING off

Re: the return value of sctp_connectx do not match any error

2011-12-02 Thread jyl_2006
First, I use the return value of sctp_connectx, and I do not use errno, so the return value does not match the errors gived in manual. Now,I know it is my mistake. However, I write a simple program to test sctp_connectx, it still show error.The errno is "EINVAL", I am sure that the paraments are s

Re: the return value of sctp_connectx do not match any error

2011-12-02 Thread Michael Tüxen
On Dec 3, 2011, at 5:54 AM, jyl_2006 wrote: > First, I use the return value of sctp_connectx, and I do not use errno, so > the return value does not match the errors gived in manual. Now,I know it is > my mistake. > > However, I write a simple program to test sctp_connectx, it still show > error.