This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 63a036ff6ac netlink: add RT_TABLE_LOCAL definition for mqttc5 build
63a036ff6ac is described below

commit 63a036ff6ac2ff466df1e50c0797867ea51e7c5e
Author: zhanghongyu <[email protected]>
AuthorDate: Thu Dec 19 14:21:32 2024 +0800

    netlink: add RT_TABLE_LOCAL definition for mqttc5 build
    
    Just add relevant macro definitions
    
    Signed-off-by: zhanghongyu <[email protected]>
---
 .codespell-ignore-lines     | 2 ++
 include/netpacket/netlink.h | 9 +++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.codespell-ignore-lines b/.codespell-ignore-lines
index b714260b420..4e1e8750889 100644
--- a/.codespell-ignore-lines
+++ b/.codespell-ignore-lines
@@ -175,3 +175,5 @@ libs/libc/tre-mem.c
   fs_ep->sems = NULL;
             fs_ep, &fs_ep->sems, queue);
             fs_ep, &fs_ep->sems, &fs_ep->reqq);
+#define RTPROT_RA                        9    /* RDISC/ND router 
advertisements */
+  /* Followed by one or more ND options */
diff --git a/include/netpacket/netlink.h b/include/netpacket/netlink.h
index 118004034f8..a6f85a4b71c 100644
--- a/include/netpacket/netlink.h
+++ b/include/netpacket/netlink.h
@@ -317,10 +317,11 @@
 
 /* rtm_table.  Routing table identifiers */
 
-#define RT_TABLE_UNSPEC                  0
-                                            /* 1-251: User defined values */
-#define RT_TABLE_MAIN                    254
-#define RT_TABLE_MAX                     0xffffffff
+#define RT_TABLE_UNSPEC       0
+                                 /* 1-251: User defined values */
+#define RT_TABLE_MAIN         254
+#define RT_TABLE_LOCAL        255
+#define RT_TABLE_MAX          0xffffffff
 
 /* rtm_type */
 

Reply via email to