Go to the source code of this file.
      
        
          | #define mpls_error | 
          ( | 
            | 
          n,  | 
        
        
           | 
           | 
            | 
          s  | 
        
        
           | 
          ) | 
           |    s, | 
        
      
 
 
  
  
      
        
          | static u8* format_mpls_input_trace  | 
          ( | 
          u8 *  | 
          s,  | 
         
        
           | 
           | 
          va_list *  | 
          args  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | char* mpls_error_strings[] | 
         
       
   | 
  
static   | 
  
 
Initial value:= {
#define mpls_error(n,s) 
mpls_error (UNSUPPORTED_VERSION, "unsupported version")
 mpls_error (PKTS_DECAP, "MPLS-GRE input packets decapsulated")
 mpls_error (PKTS_ENCAP, "MPLS-GRE output packets encapsulated")
 mpls_error (NO_LABEL, "MPLS-GRE no label for fib/dst")
 }
 
Definition at line 241 of file node.c.
 
 
Initial value:= {
  .name = "mpls-input",
  
  .vector_size = 
sizeof (
u32),
  .n_errors = MPLS_N_ERROR,
  .next_nodes = {
#define _(s,n) 
  },
}
static uword mpls_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
#define foreach_mpls_input_next
 
format_function_t format_mpls_unicast_header_net_byte_order
 
static u8 * format_mpls_input_trace(u8 *s, va_list *args)
 
static char * mpls_error_strings[]
 
 
(constructor) VLIB_REGISTER_NODE (mpls_input_node) 
Definition at line 50 of file node.c.