Kwang
the pfring_send return value has been changed and it should be coherent with 
the documentation now

Best regards
Alfredo

On Sep 2, 2011, at 4:16 PM, 이광철 wrote:

> Luca.
>  
> pfring_send function should return the packet to the transmitted byte.
>  
> In your pf_ring user guide.
>  
> Return value:
>   The number of bytes sent if success, a negative value otherwise.
>  
> I tried to transfer 100byte.
> but pfring_send function return value 1.
>  
> ==========================================================
> len <== 100
>  
> printf("len = [%d]\n", pfring_send(pd, buff, len, 0));
> len = [1]
> 
> why?
>  
>  
>  
> 이광철
> [email protected] | 010-5326-3438
> 
>  _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to