Deletes an input type from the Network Input table.
#include <sys/types.h> #include <sys/errno.h> #include <net/if.h>
int del_input_type (type) u_short type;
type | Specifies which type of protocol the packet contains. This parameter is a field in a packet. |
The del_input_type kernel service deletes an input type from the Network Input table to disable the reception of the specified packet type.
The del_input_type kernel service can be called from either the process or interrupt environment.
0 | Indicates that the type was successfully deleted. |
ENOENT | Indicates that the del_input_type service could not find the type in the Network Input table. |
del_input_type(ETHERTYPE_IP);In this example, ETHERTYPE_IP specifies that Ethernet IP packets should no longer be processed.
del_input_type(ETHERTYPE_ARP);In this example, ETHERTYPE_ARP specifies that Ethernet ARP packets should no longer be processed.
The del_input_type kernel service is part of Base Operating System (BOS) Runtime.
The add_input_type kernel service, find_input_type kernel service.
Network Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.