mikroSDK Reference Manual
ipv6_pmtu.h
Go to the documentation of this file.
1
31
#ifndef _IPV6_PMTU_H
32
#define _IPV6_PMTU_H
33
34
//Dependencies
35
#include "
core/net.h
"
36
37
//Path MTU discovery support
38
#ifndef IPV6_PMTU_SUPPORT
39
#define IPV6_PMTU_SUPPORT ENABLED
40
#elif (IPV6_PMTU_SUPPORT != ENABLED && IPV6_PMTU_SUPPORT != DISABLED)
41
#error IPV6_PMTU_SUPPORT parameter is not valid
42
#endif
43
44
//C++ guard
45
#ifdef __cplusplus
46
extern
"C"
{
47
#endif
48
49
//Path MTU discovery related functions
50
size_t
ipv6GetPathMtu(NetInterface *interface,
const
Ipv6Addr *destAddr);
51
52
void
ipv6UpdatePathMtu(NetInterface *interface,
53
const
Ipv6Addr *destAddr,
size_t
tentativePathMtu);
54
55
//C++ guard
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#endif
net.h
TCP/IP stack core.