Adds a network option structure to the list of network options.
#include <sys/types.h>
#include <sys/errno.h>
#include <net/netopt.h>
add_netopt ( option_name_symbol, print_format)
option_name_symbol;
char *print_format;
option_name_symbol | Specifies the symbol name used to construct the netopt structure and default names. |
print_format | Specifies the string representing the print format for the network option. |
The add_netopt macro adds a network option to the linked list of network options. The no command can then be used to show or alter the variable's value.
The add_netopt macro has no return values.
The add_netopt macro can be called from either the process or interrupt environment.
The no command.
The del_netopt macro.
Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.