[Click] Classifier

Beyers Cronje bcronje at gmail.com
Thu Apr 22 03:22:04 EDT 2010


Hi,

Please reply to list.

Do a google search on ethernet frame format or have a look at
[click]/include/clicknet/ether.h and you'll see the source mac address sits
at offset 6.

Beyers

On Thu, Apr 22, 2010 at 12:07 AM, David Sesmero Sáez <
Deivid_Sesme at hotmail.com> wrote:

> Hi friend,
>
> I have already looked these link, and suposing that it's possible to do
> what I have to do..I don't know the offset of source MAC adress.
>
> David.
>
>  Message: 4
>> Date: Wed, 21 Apr 2010 15:47:17 +0200
>> From: Beyers Cronje <bcronje at gmail.com>
>> Subject: Re: [Click] Classifier
>> To: click at pdos.csail.mit.edu
>> Message-ID:
>> <i2s329bff5c1004210647l240518ecv1ef38ae2018ae936 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>>
>> Have a look at  http://read.cs.ucla.edu/click/elements/classifier
>>
>> On Wed, Apr 21, 2010 at 8:26 PM, David Sesmero S?ez <
>>
>> Deivid_Sesme at hotmail.com> wrote:
>>
>>  Hi!
>>>
>>> I need use the classiffier element to check the source MAC address of the
>>> packets, more exactly, the first 3 bytes of the address, but i don't know
>>> how I have to do, or if it's possible.
>>>
>>> I know that in the classifier they have to put an offset followed by /
>>> and
>>> then one value.. I think..
>>>
>>> ?Anyone can help me?
>>>
>>> Thanks in advance.
>>> _______________________________________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>
>>>
>>
>> ------------------------------
>>
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
>>
>> End of click Digest, Vol 82, Issue 14
>> *************************************
>>
>>


More information about the click mailing list