[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::fddi

Title:FDDI - The Next Generation
Moderator:NETCAD::STEFANI
Created:Thu Apr 27 1989
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2259
Total number of notes:8590

437.0. "packetfilter for FDDI ?" by DMEICE::PAGE () Wed Jan 08 1992 09:40

    Does someone have an example of using a packet filter
    with fddi?
    
    If I wish to receive multicast data via a packet filter,
    I must first setup the CAM in the FDDI controller with
    the multicast address. The packet filter mechanism
    does not seem to do this. Am I wrong?
    
    Once I read data from the packet filter, is the FC (frame
    control) the first octet I would see in the buffer?
    
    ...Cal
T.RTitleUserPersonal
Name
DateLines
437.1KONING::KONINGPaul Koning, NI1DWed Jan 08 1992 14:1814
Packet filtering is one of the things drivers do.  Are you asking what you
see as a user of the driver, or are you looking at the case of writing a
different driver and being a user of the hardware directly?

If the former, the answer depends on the driver.  If the latter, it depends
on the hardware.  Either way, there isn't necessarily a general answer.

As for the CAM setup, the driver does that: when you tell it you want to listen
to a particular multicast address, it updates the CAM as needed to make sure
that address is in the CAM.  (Exception: DEMFA, where you tell the adapter
what addresses plus protocols you want, and it deals with the CAM internally.
Doesn't make much difference as far as the driver goes.)

	paul
437.2packetfilter definedDMEICE::PAGEThu Jan 09 1992 10:5223
    Let me clarify what I am refering to by 'packetfilter'. Running
    on Ultrix 4.2 with a DECstation 5200, by typing 'man packetfilter'
    you get the following description:
    
    "The packet filter pseudo-device driver provides a raw interface
    to Ethernets and similar network data link layers. Packets
    received that are not used by the kernel ... are available through
    this mechanism...."
    
    To use this, you do a 'pfopen' then reads and writes. To
    select packets, you provide a filter command sequence
    using the packet filter command language. (ex: ENF_PUSHZERO etc
    )
    
    I am looking for sample code someone has written that specifically
    does a 'pfopen' on the FDDI and proceeds to select and send
    packets based on a packet filter command sequence.
    
    The advantage of this over using the dli layer is that
    you have more access to the underlying protocol stack.
    
    ...Cal
    
437.3KONING::KONINGPaul Koning, NI1DThu Jan 09 1992 12:074
Beats me.  I guess you'll have to find additional documentation, or someone
who knows this component, or read the code.  

	paul