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 < [email protected]> 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 <[email protected]> >> Subject: Re: [Click] Classifier >> To: [email protected] >> Message-ID: >> <[email protected]> >> 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 < >> >> [email protected]> 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 >>> [email protected] >>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >>> >>> >> >> ------------------------------ >> >> >> _______________________________________________ >> click mailing list >> [email protected] >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> >> >> End of click Digest, Vol 82, Issue 14 >> ************************************* >> >> _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
