ESP-IDF
ot::Ip6::Headers::GetIpProto() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Ip6::Headers::GetIpProto() const
ot::Ip6::Headers::GetIpProto() const method
Returns the IP protocol number from IPv6 Next Header field.
Syntax
Show:
Summary
Declaration
from
ip6.hpp:467
uint8_t
GetIpProto
(
void
)
const
;
Return value
The IP protocol number.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetIpProto
(
void
)
const
{
return
mIp6Header
.
GetNextHeader
(
)
;
}
ip6.hpp:467
if
(
aHeaders
.
GetIpProto
(
)
==
kProtoIcmp6
)
icmp6.cpp:97
ot::Ip6::Icmp
ot::Ip6::Icmp::SendError()
switch
(
GetIpProto
(
)
)
ip6.cpp:1602
ot::Ip6::Headers
ot::Ip6::Headers::GetSourcePort() const
switch
(
GetIpProto
(
)
)
ip6.cpp:1623
ot::Ip6::Headers
ot::Ip6::Headers::GetDestinationPort() const
switch
(
GetIpProto
(
)
)
ip6.cpp:1644
ot::Ip6::Headers
ot::Ip6::Headers::GetChecksum() const
bool
IsUdp
(
void
)
const
{
return
GetIpProto
(
)
==
kProtoUdp
;
}
ip6.hpp:482
ot::Ip6::Headers
ot::Ip6::Headers::IsUdp() const
bool
IsTcp
(
void
)
const
{
return
GetIpProto
(
)
==
kProtoTcp
;
}
ip6.hpp:490
ot::Ip6::Headers
ot::Ip6::Headers::IsTcp() const
bool
IsIcmp6
(
void
)
const
{
return
GetIpProto
(
)
==
kProtoIcmp6
;
}
ip6.hpp:498
ot::Ip6::Headers
ot::Ip6::Headers::IsIcmp6() const
switch
(
headers
.
GetIpProto
(
)
)
ip6_filter.cpp:67
ot::Ip6::Filter
ot::Ip6::Filter::Accept() const
Ip6
::
Ip6
::
IpProtoToString
(
headers
.
GetIpProto
(
)
)
,
aMessage
.
GetLength
(
)
,
headers
.
GetChecksum
(
)
,
mesh_forwarder.cpp:1846
ot::MeshForwarder
ot::MeshForwarder::LogIp6Message()
LogAt
(
aLogLevel
,
" IPv6 %s msg, chksum:%04x, ecn:%s, prio:%s"
,
Ip6
::
Ip6
::
IpProtoToString
(
headers
.
GetIpProto
(
)
)
,
mesh_forwarder_ftd.cpp:908
ot::MeshForwarder
ot::MeshForwarder::LogMeshIpHeader()
Call Tree
from
examples
ot::Ip6::Headers::GetIpProto() const
is called by 10 functions:
ot::Ip6::Headers::IsUdp() const
ot::Ip6::Headers::IsTcp() const
ot::Ip6::Headers::IsIcmp6() const
ot::MeshForwarder::LogIp6Message()
ot::MeshForwarder::LogMeshIpHeader()
ot::Ip6::Icmp::SendError()
ot::Ip6::Headers::GetSourcePort() const
ot::Ip6::Headers::GetDestinationPort() const
ot::Ip6::Headers::GetChecksum() const
ot::Ip6::Filter::Accept() const
All items filtered out
ot::Ip6::Headers::GetIpProto() const
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out