pfopen man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

pfopen(3)							     pfopen(3)

Name
       pfopen - open a packet filter file

Syntax
       pfopen(ifname, flags)
       char *ifname;
       int flags;

Description
       The  packet  filter (see ) provides raw access to Ethernets and similar
       network data link layers.  The routine is used to open a packet	filter
       file  descriptor.   The	routine	 hides	various	 details about the way
       packet filter files are opened and named.

       The ifname argument is a pointer to a null-terminated string containing
       the  name  of  the  interface  for which the application is opening the
       packet filter.  This name may be the name of an actual interface on the
       system  (for example, ``de0'', ``qe2'') or it may be a pseudo-interface
       name of the form ``pfn'', used to specify the nth interface attached to
       the  system.   For example, ``pf0'' specifies the first such interface.
       If ifname is NULL, the default interface (``pf0'') is used.

       The flags argument has the same meaning as the  corresponding  argument
       to the system call.

       The  file descriptor returned by is otherwise identical to one returned
       by

Diagnostics
       The routine returns a negative integer if the file could not be opened.
       This  may  be because of resource limitations, or because the specified
       interface does not exist.

       If there are a lot of packet filter applications in  use,  the  routine
       might take a while.

See Also
       open(2), packetfilter(4)
       The Packet Filter:  An Efficient Mechanism for User Level Network Code

								     pfopen(3)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net