Re: ipq_read return values when timeout is specified

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

 



Hi Amit,

On Tue, Jun 01, 2004 at 12:06:25PM +0530, aksingh@xxxxxxxxxxx told us:
> 
> Hi,
> 
>    Correct me if I am wrong, if I give -1 as the timeout parameter to
> ipq_read, then ipq_read returns :
> 
> -1 incase of an error,
> a +ve non zero value, if there was something to read
> 0 if there was nothing to read, or a non-blocked signal was caught .

Right.

> 
> Also, since I gave this -ve value as timeout parameter ipq_read would
> return immediately if there was nothing to read .

Also right.

> 
> regards
> Amit
> 

Sven

-- 
Linux zion 2.6.7-rc2 #2 Mon May 31 22:58:01 CEST 2004 i686 athlon i386 GNU/Linux
 08:59:34  up  9:59,  3 users,  load average: 0.00, 0.01, 0.00

Attachment: pgp00883.pgp
Description: PGP signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux