del_netopt Macro

Purpose

Deletes a network option structure from the list of network options.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <net/netopt.h>

del_netopt ( option_name_symbol)
option_name_symbol;

Parameter

Item Description
option_name_symbol Specifies the symbol name used to construct the netopt structure and default names.

Description

The del_netopt macro deletes a network option from the linked list of network options. After the del_netopt service is called, the option is no longer available to the no command.

Execution Environment

The del_netopt macro can be called from either the process or interrupt environment.

Return Values

The del_netopt macro has no return values.