Hi Alfredo

Isn't it always '0' ??

On Tue, Aug 27, 2013 at 7:00 PM,
<[email protected]> wrote:
> Send Ntop-misc mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ntop-misc digest..."
>
>
> Today's Topics:
>
>    1. How to know direction of incomming packets in
>       master_distribution_function()? (Pak Jugeon)
>    2. Re: How to know direction of incomming packets in
>       master_distribution_function()? (Alfredo Cardigliano)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 27 Aug 2013 10:37:36 +0900
> From: Pak Jugeon <[email protected]>
> To: [email protected]
> Subject: [Ntop-misc] How to know direction of incomming packets in
>         master_distribution_function()?
> Message-ID:
>         <CAL6Dxt1m6Wzy8ikA5JFPBPXWgKWnozEG9GGHoyA=ehj+ftk...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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()?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://listgateway.unipi.it/mailman/private/ntop-misc/attachments/20130827/75eb2f8d/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 27 Aug 2013 10:22:10 +0200
> From: Alfredo Cardigliano <[email protected]>
> To: [email protected]
> Subject: Re: [Ntop-misc] How to know direction of incomming packets in
>         master_distribution_function()?
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://listgateway.unipi.it/mailman/private/ntop-misc/attachments/20130827/6a5f3009/attachment-0001.htm>
>
> ------------------------------
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
> End of Ntop-misc Digest, Vol 110, Issue 23
> ******************************************
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to