[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

pfctlinput Kernel Service

Purpose

Invokes the ctlinput function for each configured protocol.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/domain.h>
void pfctlinput (cmd, sa)
int cmd;
struct  sockaddr *sa;

Parameters

cmd Specifies the command to pass on to protocols.
sa Indicates the address of a sockaddr structure that is passed to the protocols.

Description

The pfctlinput kernel service searches through the protocol switch table of each configured domain and invokes the protocol ctlinput function if defined. Both the cmd and sa parameters are passed as parameters to the protocol function.

Execution Environment

The pfctlinput kernel service can be called from either the process or interrupt environment.

Return Values

The pfctlinput service has no return values.

Implementation Specifics

The pfctlinput kernel service is part of Base Operating System (BOS) Runtime.

Related Information

Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.

Understanding Socket Header Files in AIX Communications Programming Concepts.


[ Previous | Next | Contents | Home | Search ]