File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1074,6 +1074,7 @@ const (
10741074 IP_ADD_MEMBERSHIP = 0xc
10751075 IP_DROP_MEMBERSHIP = 0xd
10761076 IP_PKTINFO = 0x13
1077+ IP_MTU_DISCOVER = 0x47
10771078
10781079 IPV6_V6ONLY = 0x1b
10791080 IPV6_UNICAST_HOPS = 0x4
@@ -1083,6 +1084,7 @@ const (
10831084 IPV6_JOIN_GROUP = 0xc
10841085 IPV6_LEAVE_GROUP = 0xd
10851086 IPV6_PKTINFO = 0x13
1087+ IPV6_MTU_DISCOVER = 0x47
10861088
10871089 MSG_OOB = 0x1
10881090 MSG_PEEK = 0x2
@@ -1132,6 +1134,15 @@ const (
11321134 WSASYS_STATUS_LEN = 128
11331135)
11341136
1137+ // enum PMTUD_STATE from ws2ipdef.h
1138+ const (
1139+ IP_PMTUDISC_NOT_SET = 0
1140+ IP_PMTUDISC_DO = 1
1141+ IP_PMTUDISC_DONT = 2
1142+ IP_PMTUDISC_PROBE = 3
1143+ IP_PMTUDISC_MAX = 4
1144+ )
1145+
11351146type WSABuf struct {
11361147 Len uint32
11371148 Buf * byte
You can’t perform that action at this time.
0 commit comments