[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, 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.

Related Information

Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

Understanding Socket Header Files in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]