Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal ipv4.c ipv4.h Makefile.am dfilter-grammar.y

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxxxx>
Date: Mon, 15 Nov 1999 00:32:33 -0600 (CST)
gram        1999/11/15 00:32:26 CST

  Modified files:
    .                    Makefile.am dfilter-grammar.y 
                         dfilter-int.h dfilter.c proto.c proto.h 
  Added files:
    .                    ipv4.c ipv4.h 
  Log:
  Add "class" that understands IPv4 addresses and subnet masks.
  We now store IPv4 addresses in host order, allowing non-equivalence
  comparisons. That is, display filters with lt, le, gt, and ge will work
  on big-endian and little-endian machines.
  
  CIDR notation is now supported for IPv4 addresses in display filters.
  You can test to see if an IPv4 address is on a certain subnet by using
  this notation. For example, to test for IPv4 packets on a Class-C network:
  
  	ip.addr == 192.168.1.0/24
  
  Revision  Changes    Path
  1.107     +3 -1      ethereal/Makefile.am
  1.37      +79 -22    ethereal/dfilter-grammar.y
  1.11      +10 -2     ethereal/dfilter-int.h
  1.32      +103 -1    ethereal/dfilter.c
  1.48      +11 -4     ethereal/proto.c
  1.19      +6 -1      ethereal/proto.h