1net_getpmtuenabled(9F) Kernel Functions for Drivers net_getpmtuenabled(9F)
2
3
4
6 net_getpmtuenabled - determine if path MTU discovery is enabled for a
7 network protocol
8
10 #include <sys/neti.h>
11
12 int net_getpmtuenabled(const net_data_t net);
13
14
16 Solaris DDI specific (Solaris DDI).
17
19 net value returned from a successful call to net_proto‐
20 col_lookup(9F).
21
22
24 The net_getpmtuenabled() function returns a value to indicate whether
25 or not path MTU (PMTU) discovery is enabled for this network protocol.
26
28 The net_getpmtuenabled() function returns:
29
30 -1 The network protocol does not support this function.
31
32
33 0 PATH MTU discovery is disabled.
34
35
36 1 PATH MTU discovery is enabled.
37
38
40 The net_getpmtuenabled() function may be called from user, kernel, or
41 interrupt context.
42
44 See attributes(5) for descriptions of the following attributes:
45
46
47
48
49 ┌─────────────────────────────┬─────────────────────────────┐
50 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │Availability │SUNWcsu │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │Interface Stability │Committed │
55 └─────────────────────────────┴─────────────────────────────┘
56
58 net_getmtu(9F), net_protocol_lookup(9F)
59
60
61
62SunOS 5.11 1 May 2008 net_getpmtuenabled(9F)