Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
697ad17e
Commit
697ad17e
authored
6 years ago
by
Martine Lenders
Browse files
Options
Downloads
Patches
Plain Diff
icmpv6_error: doc: provide better references to error codes
parent
b99e9f41
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sys/include/net/gnrc/icmpv6/error.h
+4
-3
4 additions, 3 deletions
sys/include/net/gnrc/icmpv6/error.h
sys/include/net/icmpv6.h
+3
-0
3 additions, 0 deletions
sys/include/net/icmpv6.h
with
7 additions
and
3 deletions
sys/include/net/gnrc/icmpv6/error.h
+
4
−
3
View file @
697ad17e
...
@@ -38,7 +38,7 @@ extern "C" {
...
@@ -38,7 +38,7 @@ extern "C" {
*
*
* @pre @p orig_pkt contains a packet snip of type @ref GNRC_NETTYPE_IPV6
* @pre @p orig_pkt contains a packet snip of type @ref GNRC_NETTYPE_IPV6
*
*
* @param[in] code The code for the message
@see
net
/
icmpv6
.h
.
* @param[in] code The
[
code for the message
](@ref
net
_
icmpv6
_error_dst_unr_codes)
.
* @param[in] orig_pkt The invoking packet.
* @param[in] orig_pkt The invoking packet.
*/
*/
void
gnrc_icmpv6_error_dst_unr_send
(
uint8_t
code
,
const
gnrc_pktsnip_t
*
orig_pkt
);
void
gnrc_icmpv6_error_dst_unr_send
(
uint8_t
code
,
const
gnrc_pktsnip_t
*
orig_pkt
);
...
@@ -59,7 +59,7 @@ void gnrc_icmpv6_error_pkt_too_big_send(uint32_t mtu,
...
@@ -59,7 +59,7 @@ void gnrc_icmpv6_error_pkt_too_big_send(uint32_t mtu,
*
*
* @pre @p orig_pkt contains a packet snip of type @ref GNRC_NETTYPE_IPV6
* @pre @p orig_pkt contains a packet snip of type @ref GNRC_NETTYPE_IPV6
*
*
* @param[in] code The code for the message
@see
net
/
icmpv6
.h
.
* @param[in] code The
[
code for the message
](@ref
net
_
icmpv6
_error_time_exc_codes)
.
* @param[in] orig_pkt The invoking packet.
* @param[in] orig_pkt The invoking packet.
*/
*/
void
gnrc_icmpv6_error_time_exc_send
(
uint8_t
code
,
void
gnrc_icmpv6_error_time_exc_send
(
uint8_t
code
,
...
@@ -71,7 +71,8 @@ void gnrc_icmpv6_error_time_exc_send(uint8_t code,
...
@@ -71,7 +71,8 @@ void gnrc_icmpv6_error_time_exc_send(uint8_t code,
* @pre @p orig_pkt is in receive order.
* @pre @p orig_pkt is in receive order.
* @pre @p orig_pkt contains a packet snip of type @ref GNRC_NETTYPE_IPV6
* @pre @p orig_pkt contains a packet snip of type @ref GNRC_NETTYPE_IPV6
*
*
* @param[in] code The code for the message @see net/icmpv6.h.
*
* @param[in] code The [code for the message](@ref net_icmpv6_error_param_prob_codes).
* @param[in] ptr Pointer to the errorneous octet in @p orig_pkt.
* @param[in] ptr Pointer to the errorneous octet in @p orig_pkt.
* @param[in] orig_pkt The invoking packet.
* @param[in] orig_pkt The invoking packet.
*/
*/
...
...
This diff is collapsed.
Click to expand it.
sys/include/net/icmpv6.h
+
3
−
0
View file @
697ad17e
...
@@ -75,6 +75,7 @@ extern "C" {
...
@@ -75,6 +75,7 @@ extern "C" {
* @{
* @{
* @name Codes for destination unreachable messages
* @name Codes for destination unreachable messages
*
*
* @anchor net_icmpv6_error_dst_unr_codes
* @see <a href="https://tools.ietf.org/html/rfc4443#section-3.1">
* @see <a href="https://tools.ietf.org/html/rfc4443#section-3.1">
* RFC 4443, section 3.1
* RFC 4443, section 3.1
* </a>
* </a>
...
@@ -97,6 +98,7 @@ extern "C" {
...
@@ -97,6 +98,7 @@ extern "C" {
* @{
* @{
* @name Codes for time exceeded messages
* @name Codes for time exceeded messages
*
*
* @anchor net_icmpv6_error_time_exc_codes
* @see <a href="https://tools.ietf.org/html/rfc4443#section-3.3">
* @see <a href="https://tools.ietf.org/html/rfc4443#section-3.3">
* RFC 4443, section 3.3
* RFC 4443, section 3.3
* </a>
* </a>
...
@@ -111,6 +113,7 @@ extern "C" {
...
@@ -111,6 +113,7 @@ extern "C" {
* @{
* @{
* @name Codes for parameter problem messages
* @name Codes for parameter problem messages
*
*
* @anchor net_icmpv6_error_param_prob_codes
* @see <a href="https://tools.ietf.org/html/rfc4443#section-3.4">
* @see <a href="https://tools.ietf.org/html/rfc4443#section-3.4">
* RFC 4443, section 3.4
* RFC 4443, section 3.4
* </a>
* </a>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment