diff --git a/doc/developer/logging.rst b/doc/developer/logging.rst index 16d555461d..e262f6af94 100644 --- a/doc/developer/logging.rst +++ b/doc/developer/logging.rst @@ -158,7 +158,6 @@ Networking data types - :c:struct:`prefix_ls` - :c:struct:`prefix_rd` - - :c:struct:`prefix_ptr` - :c:struct:`prefix_sg` (use :frrfmt:`%pPSG4`) - :c:union:`prefixptr` (dereference to get :c:struct:`prefix`) - :c:union:`prefixconstptr` (dereference to get :c:struct:`prefix`) diff --git a/lib/prefix.h b/lib/prefix.h index f1d6b2dc02..b85f3ce312 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -287,13 +287,6 @@ static inline int is_evpn_prefix_ipaddr_v6(const struct prefix_evpn *evp) return 0; } -/* Prefix for a generic pointer */ -struct prefix_ptr { - uint8_t family; - uint16_t prefixlen; - uintptr_t prefix __attribute__((aligned(8))); -}; - /* Prefix for a Flowspec entry */ struct prefix_fs { uint8_t family;