The branch main has been updated by melifaro:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=9c0ff6a8bbb5b32db2b8c7afb8bc5212ce717804

commit 9c0ff6a8bbb5b32db2b8c7afb8bc5212ce717804
Author:     Alexander V. Chernikov <[email protected]>
AuthorDate: 2021-01-04 21:45:46 +0000
Commit:     Alexander V. Chernikov <[email protected]>
CommitDate: 2021-01-04 21:45:46 +0000

    Remove now-unused RT_GATEWAY* definitions.
    
    They were used to simplify nexthop transition, hence not needed
     anymore.
---
 sys/net/route/nhop.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/net/route/nhop.h b/sys/net/route/nhop.h
index 8b5ac7ada072..ce18cc04e163 100644
--- a/sys/net/route/nhop.h
+++ b/sys/net/route/nhop.h
@@ -157,9 +157,6 @@ struct nhop_object {
 #define        NH_IS_VALID(_nh)        RT_LINK_IS_UP((_nh)->nh_ifp)
 #define        NH_IS_NHGRP(_nh)        ((_nh)->nh_flags & NHF_MULTIPATH)
 
-#define        RT_GATEWAY(_rt)         ((struct sockaddr 
*)&(_rt)->rt_nhop->gw4_sa)
-#define        RT_GATEWAY_CONST(_rt)   ((const struct sockaddr 
*)&(_rt)->rt_nhop->gw4_sa)
-
 #define        NH_FREE(_nh) do {                                       \
        nhop_free(_nh); \
        /* guard against invalid refs */                        \
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to