Kernel functions net_getpmtuenabled(9F) NAME net_getpmtuenabled - determine if path MTU discovery is enabled for a network protocol SYNOPSIS #include int net_getpmtuenabled(const net_data_t net); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS net value returned from a successful call to net_protocol_lookup. DESCRIPTION This function returns a value to indicate whether or not path MTU (PMTU) discovery is enabled for this network proto- col. RETURN VALUES This function returns -1 if it is not supported by the net- work protocol, 0 if PATH MTU discovery is disabled and 1 if PMTU discovery is enabled. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Committed | |_____________________________|_____________________________| SEE ALSO net_getmtu(9f) SunOS 5.10 Last change: 25 March 2008 1