Kernel Functions for Drivers netgetpmtuenabled(9F)
NAME
netgetpmtuenabled - determine if path MTU discovery is
enabled for a network protocol
SYNOPSIS
#include
int netgetpmtuenabled(const netdatat net);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
net value returned from a successful call to
netprotocollookup(9F).
DESCRIPTION
The netgetpmtuenabled() function returns a value to indi-
cate whether or not path MTU (PMTU) discovery is enabled for
this network protocol.
RETURN VALUES
The netgetpmtuenabled() function returns:
-1 The network protocol does not support this function.
0 PATH MTU discovery is disabled.
1 PATH MTU discovery is enabled.
CONTEXT
The netgetpmtuenabled() function may be called from user,
kernel, or interrupt context.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 1 May 2008 1
Kernel Functions for Drivers netgetpmtuenabled(9F)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
Interface Stability Committed
SEE ALSO
netgetmtu(9F), netprotocollookup(9F)
SunOS 5.11 Last change: 1 May 2008 2
|