Query: net_getpmtuenabled
OS: opensolaris
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
net_getpmtuenabled(9F) Kernel Functions for Drivers net_getpmtuenabled(9F)NAMEnet_getpmtuenabled - determine if path MTU discovery is enabled for a network protocolSYNOPSIS#include <sys/neti.h> int net_getpmtuenabled(const net_data_t net);INTERFACE LEVELSolaris DDI specific (Solaris DDI).PARAMETERSnet value returned from a successful call to net_protocol_lookup(9F).DESCRIPTIONThe net_getpmtuenabled() function returns a value to indicate whether or not path MTU (PMTU) discovery is enabled for this network proto- col.RETURN VALUESThe net_getpmtuenabled() function returns: -1 The network protocol does not support this function. 0 PATH MTU discovery is disabled. 1 PATH MTU discovery is enabled.CONTEXTThe net_getpmtuenabled() function may be called from user, kernel, or interrupt context.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+SEE ALSOnet_getmtu(9F), net_protocol_lookup(9F) SunOS 5.11 1 May 2008 net_getpmtuenabled(9F)