Hi Pak
you should look at the *id_mask parameter of master_distribution_function(), it 
contains the ingress interface id (mask).

Best Regards
Alfredo

On Aug 27, 2013, at 3:37 AM, Pak Jugeon <[email protected]> wrote:

> Hi, 
> 
> Is there a way to know packet direction in master_custom_hash_function() ?
> The func provides bidirectional hash func,
> but I want to calculate a hash only using uplink-side source_addr (or 
> downlink-side dest_addr).
> i.e., in case of uplink pakcet: hash using source_addr, 
>                      downlink packet: hash using destination_addr
> 
> Unfortunately I don't know the way to find packet direction.
> 
> somebody knows how to distinguish packet direction or extract directional 
> information from the parameters of master_distribution_function()?
> 
> 
> 
> 
> 
> _______________________________________________
> 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