Finds the given packet type in the Network Input Interface switch table and distributes the input packet according to the table entry for that type.
#include <sys/types.h>
#include <sys/errno.h>
#include <net/if.h>
int find_input_type
(type, m, ac, header_pointer)
ushort type;
struct mbuf * m;
struct arpcom * ac;
caddr_t header_pointer;
The find_input_type kernel service finds the given packet type in the Network Input table and distributes the input packet contained in the mbuf buffer pointed to by the m value. The ac parameter is passed to services that do not have a queued interface.
The find_input_type kernel service can be called from either the process or interrupt environment.
0 | Indicates that the protocol type was successfully found. |
ENOENT | Indicates that the service could not find the type in the Network Input table. |
The add_input_type kernel service, del_input_type kernel service.
Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.