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

Reply via email to