AIX BPF DRIVER

The underlying interface is not found. If the requested buffer size cannot be accommodated, the closest allowable size is set and returned in the arg parameter. Forces the interface into promiscuous mode. This parameter is initialized to zero by an open, indicating no timeout. Otherwise, a read will be blocked until either the kernel buffer becomes full or a timeout occurs. Parameters Item Description fd Specifies an open file descriptor that refers to a BPF device created using the open call.

Uploader: Akihn
Date Added: 16 February 2007
File Size: 11.35 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 92944
Price: Free* [*Free Regsitration Required]

The arg parameter is a pointer to the indicated type.

The underlying interface or network is down. Represents additional information that is needed to perform the requested function. This command must be performed before any pack-packets can be read. Returns the a structure of packet statistics. All other fields are undefined. All packets, not just those destined for the local host, are processed.

Returns the type of the data link layer underlying the attached interface. Returns the buffer length for reads on BPF devices. For non-packet-capture descriptors, functions performed by this call are unspecified.

  3COM 3C905B WIN98 DRIVER

The arg parameter specifies the length of time to wait before a read request times out. A command or argument, which is not valid, was specified. Sets the filter program used by the kernel to discard uninteresting packets. Selects the control function to be performed.

Such a process does not exist. Returns the major and minor version numbers of the filter language currently recognized by the kernel.

ioctl BPF Control Operations

Sets the hardware interface associate with the device. The cmd parameter and an optional third parameter with varying types are passed to and interpreted iax the BPF ioctl function to perform an appropriate control operation that is specified by the user. Return Values Upon successful completion, ioctl returns a value of 0. The BPF device already exists.

ioctl BPF Control Operations

This parameter is initialized to zero by an open, indicating no timeout. Parameters Item Description fd Specifies an open file descriptor that refers to a BPF device created using aic open call.

Enables or disables the immediate mode, based on the truth value of the arg parameter. Packet Capture Library Overview.

  CAMMAESTRO 4.2GU BUILD 1104.72 DRIVER

Gets the read timeout value. The specified address is not available for interface.

Returns the name of the hardware interface that the device is listening on. Forces the interface into promiscuous mode.

An incompatible filter might result in undefined behavior. Upon successful completion, ioctl returns a value of 0. The type of the arg parameter is either an integer or a pointer to a BPF-specific data structure, depending on the particular control request.

Otherwise, it returns a value of -1 and sets errno to indicate the error. Sets the buffer length for reads on BPF devices. A listener that opened its interface nonpromiscuously can receive packets promiscuously, because more than one ajx can be listening on a given interface. The problem can be remedied with an appropriate filter.

The fd argument is a BPF device descriptor.