NFD: Named Data Networking Forwarding Daemon 24.07-28-gdcc0e6e0
Loading...
Searching...
No Matches
nfd::rib::RibUpdate Struct Reference

Represents a route that will be added to or removed from a namespace. More...

#include <daemon/rib/rib-update-batch.hpp>

+ Collaboration diagram for nfd::rib::RibUpdate:

Public Types

enum  Action {
  REGISTER = 0 ,
  UNREGISTER = 1 ,
  REMOVE_FACE = 2
}
 

Public Attributes

Action action
 
Name name
 
Route route
 

Detailed Description

Represents a route that will be added to or removed from a namespace.

Definition at line 38 of file rib-update-batch.hpp.

Member Enumeration Documentation

◆ Action

Enumerator
REGISTER 
UNREGISTER 
REMOVE_FACE 

An update triggered by a face destruction notification.

Note
indicates a Route needs to be removed after a face is destroyed

Definition at line 40 of file rib-update-batch.hpp.

Member Data Documentation

◆ action

Action nfd::rib::RibUpdate::action

Definition at line 50 of file rib-update-batch.hpp.

◆ name

Name nfd::rib::RibUpdate::name

Definition at line 51 of file rib-update-batch.hpp.

◆ route

Route nfd::rib::RibUpdate::route

Definition at line 52 of file rib-update-batch.hpp.