Invokes the ctlinput function for each configured protocol.
#include <sys/types.h> #include <sys/errno.h> #include <sys/domain.h>
void pfctlinput (cmd, sa) int cmd; struct sockaddr *sa;
cmd | Specifies the command to pass on to protocols. |
sa | Indicates the address of a sockaddr structure that is passed to the protocols. |
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.
The pfctlinput kernel service can be called from either the process or interrupt environment.
The pfctlinput service has no return values.
The pfctlinput kernel service is part of Base Operating System (BOS) Runtime.
Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.
Understanding Socket Header Files in AIX Communications Programming Concepts.