Re: Get Current CCID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for the delay which was caused by illness.

| Gerrit,
|    consider this:
|      getsockopt (so, SOL_DCCP, DCCP_SOCKOPT_RX_CCID, &ccid, &ccidlen);
| 
|    Is there any reason for getsockopt is returning 255? This is
| happening with me using 2.6.29-rc2 (your test tree)
| 
Sorry this is not enough information to say whether the result is really
what can be expected. First 
 * where is the 255 returned ? -- is that the return value of getsocktopt()
   or do you mean the value returned in 'ccid'?	
 * what type is 'ccid' ? -- from Documentation/networking/dccp.txt, it 
   should be 'int', not an array of uint8_t;
 * analogous -- what is ccidlen?
 * last - the 'so' argument has to be a connected socket -- I don't know
   whether you tried the getsockopt on a listening socket, where naturally
   the value of the CCID(s) is undefined.
--
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux