BroadcomTables

Struct BroadcomTables 

Source
pub struct BroadcomTables {
Show 36 fields pub host_entries: u32, pub host_entries_max: u32, pub ipv4_entries: u32, pub ipv4_entries_max: u32, pub ipv6_entries: u32, pub ipv6_entries_max: u32, pub ipv4_ipv6_entries: u32, pub ipv6_ipv6_entries_max: u32, pub long_ipv6_entries: u32, pub long_ipv6_entries_max: u32, pub total_routes: u32, pub total_routes_max: u32, pub ecmp_nexthops: u32, pub ecmp_nexthops_max: u32, pub mac_entries: u32, pub mac_entries_max: u32, pub ipv4_neighbors: u32, pub ipv6_neighbors: u32, pub ipv4_routes: u32, pub ipv6_routes: u32, pub acl_ingress_entries: u32, pub acl_ingress_entries_max: u32, pub acl_ingress_counters: u32, pub acl_ingress_counters_max: u32, pub acl_ingress_meters: u32, pub acl_ingress_meters_max: u32, pub acl_ingress_slices: u32, pub acl_ingress_slices_max: u32, pub acl_egress_entries: u32, pub acl_egress_entries_max: u32, pub acl_egress_counters: u32, pub acl_egress_counters_max: u32, pub acl_egress_meters: u32, pub acl_egress_meters_max: u32, pub acl_egress_slices: u32, pub acl_egress_slices_max: u32,
}
Expand description

Broadcom Switch ASIC Table Utilization - Format (4413,3)

Table utilization statistics from Broadcom switch ASICs

§XDR Definition (sFlow Broadcom Tables)

/* Table utilizations */
/* utilization of ASIC hardware tables */
/* opaque = counter_data; enterprise = 4413; format = 3 */
struct hw_tables {
  unsigned int host_entries;
  unsigned int host_entries_max;
  unsigned int ipv4_entries;
  unsigned int ipv4_entries_max;
  unsigned int ipv6_entries;
  unsigned int ipv6_entries_max;
  unsigned int ipv4_ipv6_entries;
  unsigned int ipv6_ipv6_entries_max;
  unsigned int long_ipv6_entries;
  unsigned int long_ipv6_entries_max;
  unsigned int total_routes;
  unsigned int total_routes_max;
  unsigned int ecmp_nexthops;
  unsigned int ecmp_nexthops_max;
  unsigned int mac_entries;
  unsigned int mac_entries_max;
  unsigned int ipv4_neighbors;
  unsigned int ipv6_neighbors;
  unsigned int ipv4_routes;
  unsigned int ipv6_routes;
  unsigned int acl_ingress_entries;
  unsigned int acl_ingress_entries_max;
  unsigned int acl_ingress_counters;
  unsigned int acl_ingress_counters_max;
  unsigned int acl_ingress_meters;
  unsigned int acl_ingress_meters_max;
  unsigned int acl_ingress_slices;
  unsigned int acl_ingress_slices_max;
  unsigned int acl_egress_entries;
  unsigned int acl_egress_entries_max;
  unsigned int acl_egress_counters;
  unsigned int acl_egress_counters_max;
  unsigned int acl_egress_meters;
  unsigned int acl_egress_meters_max;
  unsigned int acl_egress_slices;
  unsigned int acl_egress_slices_max;
}

Fields§

§host_entries: u32

Number of host table entries

§host_entries_max: u32

Maximum number of host table entries

§ipv4_entries: u32

Number of IPv4 routing table entries

§ipv4_entries_max: u32

Maximum number of IPv4 routing table entries

§ipv6_entries: u32

Number of IPv6 routing table entries

§ipv6_entries_max: u32

Maximum number of IPv6 routing table entries

§ipv4_ipv6_entries: u32

Number of IPv4/IPv6 routing table entries

§ipv6_ipv6_entries_max: u32

Maximum number of IPv6/IPv6 routing table entries

§long_ipv6_entries: u32

Number of long IPv6 routing table entries

§long_ipv6_entries_max: u32

Maximum number of long IPv6 routing table entries

§total_routes: u32

Total number of routes

§total_routes_max: u32

Maximum total number of routes

§ecmp_nexthops: u32

Number of ECMP nexthops

§ecmp_nexthops_max: u32

Maximum number of ECMP nexthops

§mac_entries: u32

Number of MAC table entries

§mac_entries_max: u32

Maximum number of MAC table entries

§ipv4_neighbors: u32

Number of IPv4 neighbors

§ipv6_neighbors: u32

Number of IPv6 neighbors

§ipv4_routes: u32

Number of IPv4 routes

§ipv6_routes: u32

Number of IPv6 routes

§acl_ingress_entries: u32

Number of ingress ACL entries

§acl_ingress_entries_max: u32

Maximum number of ingress ACL entries

§acl_ingress_counters: u32

Number of ingress ACL counters

§acl_ingress_counters_max: u32

Maximum number of ingress ACL counters

§acl_ingress_meters: u32

Number of ingress ACL meters

§acl_ingress_meters_max: u32

Maximum number of ingress ACL meters

§acl_ingress_slices: u32

Number of ingress ACL slices

§acl_ingress_slices_max: u32

Maximum number of ingress ACL slices

§acl_egress_entries: u32

Number of egress ACL entries

§acl_egress_entries_max: u32

Maximum number of egress ACL entries

§acl_egress_counters: u32

Number of egress ACL counters

§acl_egress_counters_max: u32

Maximum number of egress ACL counters

§acl_egress_meters: u32

Number of egress ACL meters

§acl_egress_meters_max: u32

Maximum number of egress ACL meters

§acl_egress_slices: u32

Number of egress ACL slices

§acl_egress_slices_max: u32

Maximum number of egress ACL slices

Trait Implementations§

Source§

impl Clone for BroadcomTables

Source§

fn clone(&self) -> BroadcomTables

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BroadcomTables

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for BroadcomTables

Source§

fn eq(&self, other: &BroadcomTables) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for BroadcomTables

Source§

impl StructuralPartialEq for BroadcomTables

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.