\doxysection{rtrlib/bgpsec/bgpsec.h File Reference}
\hypertarget{bgpsec_8h}{}\label{bgpsec_8h}\index{rtrlib/bgpsec/bgpsec.h@{rtrlib/bgpsec/bgpsec.h}}
{\ttfamily \#include "{}rtrlib/lib/ip.\+h"{}}\newline
{\ttfamily \#include "{}rtrlib/spki/spkitable.\+h"{}}\newline
{\ttfamily \#include $<$stdint.\+h$>$}\newline
\doxysubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structrtr__secure__path__seg}{rtr\+\_\+secure\+\_\+path\+\_\+seg}}
\begin{DoxyCompactList}\small\item\em A single Secure Path Segment. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structrtr__signature__seg}{rtr\+\_\+signature\+\_\+seg}}
\begin{DoxyCompactList}\small\item\em A single Signature Segment. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structrtr__bgpsec__nlri}{rtr\+\_\+bgpsec\+\_\+nlri}}
\begin{DoxyCompactList}\small\item\em This struct contains the Network Layer Reachability Information (NLRI). \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structrtr__bgpsec}{rtr\+\_\+bgpsec}}
\begin{DoxyCompactList}\small\item\em The data that is passed to the rtr\+\_\+mgr\+\_\+bgpsec\+\_\+validate\+\_\+as\+\_\+path function. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__mod__bgpsec__h_ga10c896b36edae4ffef5f4680c85ff54e}{BGPSEC\+\_\+\+IPV4}}~1
\item 
\#define \mbox{\hyperlink{group__mod__bgpsec__h_ga8c1b5ec5499e8907aea105d45d2bab99}{BGPSEC\+\_\+\+IPV6}}~2
\end{DoxyCompactItemize}
\doxysubsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__mod__bgpsec__h_ga02fc9657b1a370e44d40cf158a895fee}{rtr\+\_\+bgpsec\+\_\+algorithm\+\_\+suites}} \{ \mbox{\hyperlink{group__mod__bgpsec__h_gga02fc9657b1a370e44d40cf158a895feea810d0ce8d5538e90ae797516fce0403a}{RTR\+\_\+\+BGPSEC\+\_\+\+ALGORITHM\+\_\+\+SUITE\+\_\+1}} = 1
 \}
\begin{DoxyCompactList}\small\item\em All supported algorithm suites. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{group__mod__bgpsec__h_ga68db4b8982e72512221963390473920d}{rtr\+\_\+bgpsec\+\_\+rtvals}} \{ \newline
\mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920dac4afb6c9d62f7348067da39406a30936}{RTR\+\_\+\+BGPSEC\+\_\+\+NOT\+\_\+\+VALID}} = 2
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920da5bc92f4a86ecb254e085ee565c630425}{RTR\+\_\+\+BGPSEC\+\_\+\+VALID}} = 1
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920da4b2d522b407118280d4e3145d2d7771d}{RTR\+\_\+\+BGPSEC\+\_\+\+SUCCESS}} = 0
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920da9da7ad6b6a05205d1df1221c44ede237}{RTR\+\_\+\+BGPSEC\+\_\+\+ERROR}} = -\/1
, \newline
\mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920dacc4a12cda298e7f76be8bfd90560a463}{RTR\+\_\+\+BGPSEC\+\_\+\+LOAD\+\_\+\+PUB\+\_\+\+KEY\+\_\+\+ERROR}} = -\/2
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920daba10f86e6916f030c8623fecd6ac4a80}{RTR\+\_\+\+BGPSEC\+\_\+\+LOAD\+\_\+\+PRIV\+\_\+\+KEY\+\_\+\+ERROR}} = -\/3
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920da5d838e1e0070f6a0483056d84e5c793e}{RTR\+\_\+\+BGPSEC\+\_\+\+ROUTER\+\_\+\+KEY\+\_\+\+NOT\+\_\+\+FOUND}} = -\/4
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920dac2bde30da1e8aedefa74eaeee64f47bf}{RTR\+\_\+\+BGPSEC\+\_\+\+SIGNING\+\_\+\+ERROR}} = -\/5
, \newline
\mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920dab96170b4b62053fb2c250dc3c5d50ab8}{RTR\+\_\+\+BGPSEC\+\_\+\+UNSUPPORTED\+\_\+\+ALGORITHM\+\_\+\+SUITE}} = -\/6
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920da7841ed69cb20185924ab0190f6b3775e}{RTR\+\_\+\+BGPSEC\+\_\+\+UNSUPPORTED\+\_\+\+AFI}} = -\/7
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920da2525e9bf30080965199c54116769e711}{RTR\+\_\+\+BGPSEC\+\_\+\+WRONG\+\_\+\+SEGMENT\+\_\+\+COUNT}} = -\/8
, \mbox{\hyperlink{group__mod__bgpsec__h_gga68db4b8982e72512221963390473920dab0b4eec01c7a160dddc36a927479c7c1}{RTR\+\_\+\+BGPSEC\+\_\+\+INVALID\+\_\+\+ARGUMENTS}} = -\/9
 \}
\begin{DoxyCompactList}\small\item\em Status codes for various cases. \end{DoxyCompactList}\end{DoxyCompactItemize}
