FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
fib_types.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include <vnet/ip/ip.h>
17 
18 #include <vnet/fib/fib_types.h>
19 #include <vnet/fib/fib_internal.h>
20 #include <vnet/fib/fib_table.h>
21 #include <vnet/mpls/mpls.h>
22 
23 /*
24  * arrays of protocol and link names
25  */
26 static const char* fib_protocol_names[] = FIB_PROTOCOLS;
27 static const char* vnet_link_names[] = VNET_LINKS;
28 static const char* fib_forw_chain_names[] = FIB_FORW_CHAINS;
30 
31 u8 *
32 format_fib_protocol (u8 * s, va_list * ap)
33 {
34  fib_protocol_t proto = va_arg(*ap, int); // fib_protocol_t promotion
35 
36  return (format (s, "%s", fib_protocol_names[proto]));
37 }
38 
39 u8 *
40 format_vnet_link (u8 * s, va_list * ap)
41 {
42  vnet_link_t link = va_arg(*ap, int); // vnet_link_t promotion
43 
44  return (format (s, "%s", vnet_link_names[link]));
45 }
46 
47 u8 *
48 format_fib_forw_chain_type (u8 * s, va_list * args)
49 {
50  fib_forward_chain_type_t fct = va_arg(*args, int);
51 
52  return (format (s, "%s", fib_forw_chain_names[fct]));
53 }
54 
55 u8 *
56 format_fib_mpls_lsp_mode(u8 *s, va_list *ap)
57 {
58  fib_mpls_lsp_mode_t mode = va_arg(*ap, int);
59 
60  return (format (s, "%s", fib_mpls_lsp_mode_names[mode]));
61 }
62 
63 u8 *
64 format_fib_mpls_label (u8 *s, va_list *ap)
65 {
66  fib_mpls_label_t *label = va_arg(*ap, fib_mpls_label_t *);
67 
68  s = format(s, "%U %U ttl:%d exp:%d",
70  label->fml_value,
72  label->fml_mode,
73  label->fml_ttl,
74  label->fml_exp);
75 
76  return (s);
77 }
78 
79 void
80 fib_prefix_from_ip46_addr (const ip46_address_t *addr,
81  fib_prefix_t *pfx)
82 {
84 
85  pfx->fp_proto = ((ip46_address_is_ip4(addr) ?
88  pfx->fp_len = ((ip46_address_is_ip4(addr) ?
89  32 : 128));
90  pfx->fp_addr = *addr;
91 }
92 
93 void
95  mpls_eos_bit_t eos,
96  fib_prefix_t *pfx)
97 {
99  pfx->fp_len = 21;
100  pfx->fp_label = label;
101  pfx->fp_eos = eos;
102 }
103 
104 int
106  const fib_prefix_t *p2)
107 {
108  int res;
109 
110  res = (p1->fp_proto - p2->fp_proto);
111 
112  if (0 == res)
113  {
114  switch (p1->fp_proto)
115  {
116  case FIB_PROTOCOL_IP4:
117  case FIB_PROTOCOL_IP6:
118  res = (p1->fp_len - p2->fp_len);
119 
120  if (0 == res)
121  {
122  res = ip46_address_cmp(&p1->fp_addr, &p2->fp_addr);
123  }
124  break;
125  case FIB_PROTOCOL_MPLS:
126  res = (p1->fp_label - p2->fp_label);
127 
128  if (0 == res)
129  {
130  res = (p1->fp_eos - p2->fp_eos);
131  }
132  break;
133  }
134  }
135 
136  return (res);
137 }
138 
139 int
141  const fib_prefix_t *p2)
142 {
143  switch (p1->fp_proto)
144  {
145  case FIB_PROTOCOL_IP4:
147  &p1->fp_addr.ip4,
148  &p2->fp_addr.ip4,
149  p1->fp_len));
150  case FIB_PROTOCOL_IP6:
152  &p1->fp_addr.ip6,
153  &p2->fp_addr.ip6,
154  p1->fp_len));
155  case FIB_PROTOCOL_MPLS:
156  break;
157  }
158  return (0);
159 }
160 
161 int
163 {
164  switch (prefix->fp_proto)
165  {
166  case FIB_PROTOCOL_IP4:
167  return (prefix->fp_len == 32);
168  case FIB_PROTOCOL_IP6:
169  return (prefix->fp_len == 128);
170  case FIB_PROTOCOL_MPLS:
171  return (!0);
172  }
173  return (0);
174 }
175 
176 u8 *
177 format_fib_prefix (u8 * s, va_list * args)
178 {
179  fib_prefix_t *fp = va_arg (*args, fib_prefix_t *);
180 
181  /*
182  * protocol specific so it prints ::/0 correctly.
183  */
184  switch (fp->fp_proto)
185  {
186  case FIB_PROTOCOL_IP6:
187  {
188  ip6_address_t p6 = fp->fp_addr.ip6;
189 
191  s = format (s, "%U", format_ip6_address, &p6);
192  break;
193  }
194  case FIB_PROTOCOL_IP4:
195  {
196  ip4_address_t p4 = fp->fp_addr.ip4;
197  p4.as_u32 &= ip4_main.fib_masks[fp->fp_len];
198 
199  s = format (s, "%U", format_ip4_address, &p4);
200  break;
201  }
202  case FIB_PROTOCOL_MPLS:
203  s = format (s, "%U:%U",
206  break;
207  }
208  s = format (s, "/%d", fp->fp_len);
209 
210  return (s);
211 }
212 
213 int
215  const fib_route_path_t *rpath2)
216 {
217  int res;
218 
219  res = ip46_address_cmp(&rpath1->frp_addr,
220  &rpath2->frp_addr);
221 
222  if (0 != res) return (res);
223 
224  res = (rpath1->frp_sw_if_index - rpath2->frp_sw_if_index);
225 
226  if (0 != res) return (res);
227 
228  if (ip46_address_is_zero(&rpath1->frp_addr))
229  {
230  res = rpath1->frp_fib_index - rpath2->frp_fib_index;
231  }
232 
233  return (res);
234 }
235 
238 {
239  switch (fib_proto)
240  {
241  case FIB_PROTOCOL_IP6:
242  return (DPO_PROTO_IP6);
243  case FIB_PROTOCOL_IP4:
244  return (DPO_PROTO_IP4);
245  case FIB_PROTOCOL_MPLS:
246  return (DPO_PROTO_MPLS);
247  }
248  ASSERT(0);
249  return (0);
250 }
251 
254 {
255  switch (dpo_proto)
256  {
257  case DPO_PROTO_IP6:
258  return (FIB_PROTOCOL_IP6);
259  case DPO_PROTO_IP4:
260  return (FIB_PROTOCOL_IP4);
261  case DPO_PROTO_MPLS:
262  return (FIB_PROTOCOL_MPLS);
263  default:
264  break;
265  }
266  ASSERT(0);
267  return (0);
268 }
269 
272 {
273  switch (proto)
274  {
275  case FIB_PROTOCOL_IP4:
276  return (VNET_LINK_IP4);
277  case FIB_PROTOCOL_IP6:
278  return (VNET_LINK_IP6);
279  case FIB_PROTOCOL_MPLS:
280  return (VNET_LINK_MPLS);
281  }
282  ASSERT(0);
283  return (0);
284 }
285 
288 {
289  switch (proto)
290  {
291  case DPO_PROTO_IP4:
293  case DPO_PROTO_IP6:
295  case DPO_PROTO_MPLS:
297  case DPO_PROTO_ETHERNET:
299  case DPO_PROTO_NSH:
300  return (FIB_FORW_CHAIN_TYPE_NSH);
301  case DPO_PROTO_BIER:
302  return (FIB_FORW_CHAIN_TYPE_BIER);
303  }
304  ASSERT(0);
306 }
307 
310 {
311  switch (proto)
312  {
313  case FIB_PROTOCOL_IP4:
315  case FIB_PROTOCOL_IP6:
317  case FIB_PROTOCOL_MPLS:
319  }
320  ASSERT(0);
322 }
323 
326 {
327  switch (fct)
328  {
331  return (VNET_LINK_IP4);
334  return (VNET_LINK_IP6);
336  return (VNET_LINK_ETHERNET);
338  return (VNET_LINK_NSH);
341  /*
342  * insufficient information to to convert
343  */
344  ASSERT(0);
345  break;
347  return (VNET_LINK_MPLS);
348  }
349  return (VNET_LINK_IP4);
350 }
351 
354 {
355  switch (link_type)
356  {
357  case VNET_LINK_IP4:
359  case VNET_LINK_IP6:
361  case VNET_LINK_MPLS:
363  case VNET_LINK_ETHERNET:
365  case VNET_LINK_NSH:
366  return (FIB_FORW_CHAIN_TYPE_NSH);
367  case VNET_LINK_ARP:
368  break;
369  }
370 
371  ASSERT(0);
373 }
374 
377 {
378  switch (fct)
379  {
382  return (DPO_PROTO_IP4);
385  return (DPO_PROTO_IP6);
387  return (DPO_PROTO_ETHERNET);
389  return (DPO_PROTO_NSH);
391  return (DPO_PROTO_BIER);
394  return (DPO_PROTO_MPLS);
395  }
396  return (DPO_PROTO_IP4);
397 }
398 
399 uword
400 unformat_fib_route_path (unformat_input_t * input, va_list * args)
401 {
402  fib_route_path_t *rpath = va_arg (*args, fib_route_path_t *);
403  u32 *payload_proto = va_arg (*args, u32*);
404  u32 weight, preference, udp_encap_id, fi;
405  mpls_label_t out_label;
406  vnet_main_t *vnm;
407 
408  vnm = vnet_get_main ();
409  memset(rpath, 0, sizeof(*rpath));
410  rpath->frp_weight = 1;
411  rpath->frp_sw_if_index = ~0;
412 
414  {
415  if (unformat (input, "%U %U",
417  &rpath->frp_addr.ip4,
419  &rpath->frp_sw_if_index))
420  {
421  rpath->frp_proto = DPO_PROTO_IP4;
422  }
423  else if (unformat (input, "%U %U",
425  &rpath->frp_addr.ip6,
427  &rpath->frp_sw_if_index))
428  {
429  rpath->frp_proto = DPO_PROTO_IP6;
430  }
431  else if (unformat (input, "weight %u", &weight))
432  {
433  rpath->frp_weight = weight;
434  }
435  else if (unformat (input, "preference %u", &preference))
436  {
437  rpath->frp_preference = preference;
438  }
439  else if (unformat (input, "%U next-hop-table %d",
441  &rpath->frp_addr.ip4,
442  &rpath->frp_fib_index))
443  {
444  rpath->frp_sw_if_index = ~0;
445  rpath->frp_proto = DPO_PROTO_IP4;
446 
447  /*
448  * the user enter table-ids, convert to index
449  */
451  if (~0 == fi)
452  return 0;
453  rpath->frp_fib_index = fi;
454  }
455  else if (unformat (input, "%U next-hop-table %d",
457  &rpath->frp_addr.ip6,
458  &rpath->frp_fib_index))
459  {
460  rpath->frp_sw_if_index = ~0;
461  rpath->frp_proto = DPO_PROTO_IP6;
463  if (~0 == fi)
464  return 0;
465  rpath->frp_fib_index = fi;
466  }
467  else if (unformat (input, "%U",
469  &rpath->frp_addr.ip4))
470  {
471  /*
472  * the recursive next-hops are by default in the default table
473  */
474  rpath->frp_fib_index = 0;
475  rpath->frp_sw_if_index = ~0;
476  rpath->frp_proto = DPO_PROTO_IP4;
477  }
478  else if (unformat (input, "%U",
480  &rpath->frp_addr.ip6))
481  {
482  rpath->frp_fib_index = 0;
483  rpath->frp_sw_if_index = ~0;
484  rpath->frp_proto = DPO_PROTO_IP6;
485  }
486  else if (unformat (input, "udp-encap %d", &udp_encap_id))
487  {
488  rpath->frp_udp_encap_id = udp_encap_id;
490  rpath->frp_proto = *payload_proto;
491  }
492  else if (unformat (input, "lookup in table %d", &rpath->frp_fib_index))
493  {
494  rpath->frp_proto = *payload_proto;
495  rpath->frp_sw_if_index = ~0;
496  rpath->frp_flags |= FIB_ROUTE_PATH_DEAG;
497  }
498  else if (unformat (input, "resolve-via-host"))
499  {
501  }
502  else if (unformat (input, "resolve-via-attached"))
503  {
505  }
506  else if (unformat (input,
507  "ip4-lookup-in-table %d",
508  &rpath->frp_fib_index))
509  {
510  rpath->frp_proto = DPO_PROTO_IP4;
511  *payload_proto = DPO_PROTO_IP4;
512  }
513  else if (unformat (input,
514  "ip6-lookup-in-table %d",
515  &rpath->frp_fib_index))
516  {
517  rpath->frp_proto = DPO_PROTO_IP6;
518  *payload_proto = DPO_PROTO_IP6;
519  }
520  else if (unformat (input,
521  "mpls-lookup-in-table %d",
522  &rpath->frp_fib_index))
523  {
524  rpath->frp_proto = DPO_PROTO_MPLS;
525  *payload_proto = DPO_PROTO_MPLS;
526  }
527  else if (unformat (input, "src-lookup"))
528  {
530  }
531  else if (unformat (input,
532  "l2-input-on %U",
534  &rpath->frp_sw_if_index))
535  {
536  rpath->frp_proto = DPO_PROTO_ETHERNET;
537  *payload_proto = DPO_PROTO_ETHERNET;
539  }
540  else if (unformat (input, "via-label %U",
542  &rpath->frp_local_label))
543  {
544  rpath->frp_eos = MPLS_NON_EOS;
545  rpath->frp_proto = DPO_PROTO_MPLS;
546  rpath->frp_sw_if_index = ~0;
547  }
548  else if (unformat (input, "rx-ip4 %U",
550  &rpath->frp_sw_if_index))
551  {
552  rpath->frp_proto = DPO_PROTO_IP4;
554  }
555  else if (unformat (input, "out-labels"))
556  {
557  while (unformat (input, "%U",
558  unformat_mpls_unicast_label, &out_label))
559  {
560  fib_mpls_label_t fml = {
561  .fml_value = out_label,
562  };
563  vec_add1(rpath->frp_label_stack, fml);
564  }
565  }
566  else if (unformat (input, "%U",
568  &rpath->frp_sw_if_index))
569  {
570  rpath->frp_proto = *payload_proto;
571  }
572  else
573  {
574  return (0);
575  }
576  }
577 
578  return (1);
579 }
static const char * vnet_link_names[]
Definition: fib_types.c:27
static void ip6_address_mask(ip6_address_t *a, ip6_address_t *mask)
Definition: ip6_packet.h:241
fib_protocol_t fp_proto
protocol type
Definition: fib_types.h:202
Contribute an object that is to be used to forward BIER packets.
Definition: fib_types.h:112
Contribute an object that is to be used to forward IP6 packets.
Definition: fib_types.h:127
ip46_address_t frp_addr
The next-hop address.
Definition: fib_types.h:476
Contribute an object that is to be used to forward IP6 packets.
Definition: fib_types.h:103
fib_forward_chain_type_t fib_forw_chain_type_from_link_type(vnet_link_t link_type)
Convert from a adjacency&#39;s link type to chain type.
Definition: fib_types.c:353
static const char * fib_protocol_names[]
Definition: fib_types.c:26
mpls_eos_bit_t frp_eos
EOS bit for the resolving label.
Definition: fib_types.h:487
int fib_route_path_cmp(const fib_route_path_t *rpath1, const fib_route_path_t *rpath2)
Definition: fib_types.c:214
A representation of a path as described by a route producer.
Definition: fib_types.h:460
vnet_main_t * vnet_get_main(void)
Definition: misc.c:47
uword unformat_fib_route_path(unformat_input_t *input, va_list *args)
Unformat a fib_route_path_t from CLI input.
Definition: fib_types.c:400
u32 mpls_label_t
A label value only, i.e.
Definition: packet.h:24
dpo_proto_t fib_forw_chain_type_to_dpo_proto(fib_forward_chain_type_t fct)
Convert from a chain type to the DPO proto it will install.
Definition: fib_types.c:376
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
Definition: vec.h:523
#define VNET_LINKS
Definition: interface.h:312
Contribute an object that is to be used to forward IP4 packets.
Definition: fib_types.h:99
static uword ip4_destination_matches_route(const ip4_main_t *im, const ip4_address_t *key, const ip4_address_t *dest, uword dest_length)
Definition: ip4.h:174
u8 * format(u8 *s, const char *fmt,...)
Definition: format.c:419
dpo_proto_t frp_proto
The protocol of the address below.
Definition: fib_types.h:465
unformat_function_t unformat_vnet_sw_interface
A path that result in received traffic being recieved/recirculated so that it appears to have arrived...
Definition: fib_types.h:339
vhost_vring_addr_t addr
Definition: vhost_user.h:116
#define ip46_address_cmp(ip46_1, ip46_2)
Definition: ip6_packet.h:85
unsigned char u8
Definition: types.h:56
int fib_prefix_is_host(const fib_prefix_t *prefix)
Return true is the prefix is a host prefix.
Definition: fib_types.c:162
u8 * format_fib_protocol(u8 *s, va_list *ap)
Definition: fib_types.c:32
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
unformat_function_t unformat_mpls_unicast_label
Definition: mpls.h:79
format_function_t format_ip4_address
Definition: format.h:81
unformat_function_t unformat_ip4_address
Definition: format.h:76
u32 frp_sw_if_index
The interface.
Definition: fib_types.h:495
static const char * fib_mpls_lsp_mode_names[]
Definition: fib_types.c:29
u8 * format_fib_mpls_lsp_mode(u8 *s, va_list *ap)
Format an LSP mode type.
Definition: fib_types.c:56
static uword ip6_destination_matches_route(const ip6_main_t *im, const ip6_address_t *key, const ip6_address_t *dest, uword dest_length)
Definition: ip6.h:242
Recursion constraint of via a host prefix.
Definition: fib_types.h:314
u8 * format_fib_prefix(u8 *s, va_list *args)
Definition: fib_types.c:177
Aggregrate type for a prefix.
Definition: fib_types.h:193
int fib_prefix_is_cover(const fib_prefix_t *p1, const fib_prefix_t *p2)
Compare two prefixes for covering relationship.
Definition: fib_types.c:140
A path via a UDP encap object.
Definition: fib_types.h:351
unsigned int u32
Definition: types.h:88
Contribute an object that is to be used to forward Ethernet packets.
Definition: fib_types.h:131
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
u32 fib_table_find(fib_protocol_t proto, u32 table_id)
Get the index of the FIB for a Table-ID.
Definition: fib_table.c:1056
fib_protocol_t dpo_proto_to_fib(dpo_proto_t dpo_proto)
Definition: fib_types.c:253
u16 fp_len
The mask length.
Definition: fib_types.h:197
Contribute an object that is to be used to forward end-of-stack MPLS packets.
Definition: fib_types.h:119
format_function_t format_mpls_eos_bit
Definition: mpls.h:67
ip46_address_t fp_addr
The address type is not deriveable from the fp_addr member.
Definition: fib_types.h:216
struct _unformat_input_t unformat_input_t
enum fib_mpls_lsp_mode_t_ fib_mpls_lsp_mode_t
MPLS LSP mode - only valid at the head and tail.
static const char * fib_forw_chain_names[]
Definition: fib_types.c:28
Configuration for each label value in the output-stack.
Definition: fib_types.h:415
fib_mpls_label_t * frp_label_stack
The outgoing MPLS label Stack.
Definition: fib_types.h:515
Recursion constraint of via an attahced prefix.
Definition: fib_types.h:318
fib_mpls_lsp_mode_t fml_mode
The LSP mode.
Definition: fib_types.h:425
#define ip46_address_is_ip4(ip46)
Definition: ip6_packet.h:81
unformat_function_t unformat_ip6_address
Definition: format.h:97
ip6_address_t fib_masks[129]
Definition: ip6.h:173
vnet_link_t fib_forw_chain_type_to_link_type(fib_forward_chain_type_t fct)
Convert from a chain type to the adjacency&#39;s link type.
Definition: fib_types.c:325
#define UNFORMAT_END_OF_INPUT
Definition: format.h:144
format_function_t format_ip6_address
Definition: format.h:99
Contribute an object that is to be used to forward NSH packets.
Definition: fib_types.h:137
void fib_prefix_from_mpls_label(mpls_label_t label, mpls_eos_bit_t eos, fib_prefix_t *pfx)
Big train switch; FIB debugs on or off.
Definition: fib_types.c:94
mpls_label_t fml_value
The label value.
Definition: fib_types.h:420
void fib_prefix_from_ip46_addr(const ip46_address_t *addr, fib_prefix_t *pfx)
Host prefix from ip.
Definition: fib_types.c:80
mpls_label_t fp_label
Definition: fib_types.h:219
#define ASSERT(truth)
ip6_main_t ip6_main
Definition: ip6_forward.c:2574
enum vnet_link_t_ vnet_link_t
Link Type: A description of the protocol of packets on the link.
u8 frp_preference
A path preference.
Definition: fib_types.h:548
A deag path using the packet&#39;s source not destination address.
Definition: fib_types.h:347
enum fib_forward_chain_type_t_ fib_forward_chain_type_t
FIB output chain type.
fib_route_path_flags_t frp_flags
flags on the path
Definition: fib_types.h:552
u8 * format_fib_forw_chain_type(u8 *s, va_list *args)
Definition: fib_types.c:48
#define FIB_FORW_CHAINS
Definition: fib_types.h:140
dpo_proto_t fib_proto_to_dpo(fib_protocol_t fib_proto)
Definition: fib_types.c:237
A path that resolves via another table.
Definition: fib_types.h:367
format_function_t format_mpls_unicast_label
Definition: mpls.h:69
mpls_label_t frp_local_label
The MPLS local Label to reursively resolve through.
Definition: fib_types.h:483
#define FIB_MPLS_LSP_MODES
Definition: fib_types.h:402
int fib_prefix_cmp(const fib_prefix_t *p1, const fib_prefix_t *p2)
Compare two prefixes for equality.
Definition: fib_types.c:105
u64 uword
Definition: types.h:112
typedef prefix
Definition: ip_types.api:40
u8 * format_fib_mpls_label(u8 *s, va_list *ap)
Format an MPLS label.
Definition: fib_types.c:64
ip4_main_t ip4_main
Global ip4 main structure.
Definition: ip4_forward.c:832
vnet_link_t fib_proto_to_link(fib_protocol_t proto)
Convert from a protocol to a link type.
Definition: fib_types.c:271
u8 fml_exp
EXP bits; valid only at imposition.
Definition: fib_types.h:435
u8 * format_vnet_link(u8 *s, va_list *ap)
Definition: fib_types.c:40
Contribute an object that is to be used to forward non-end-of-stack MPLS packets. ...
Definition: fib_types.h:108
u8 frp_weight
[un]equal cost path weight
Definition: fib_types.h:542
u32 frp_udp_encap_id
UDP encap ID.
Definition: fib_types.h:532
#define ip46_address_is_zero(ip46)
Definition: ip6_packet.h:86
Contribute an object that is to be used to forward IP4 packets.
Definition: fib_types.h:123
u32 frp_fib_index
The FIB index to lookup the nexthop Only valid for recursive paths.
Definition: fib_types.h:506
fib_forward_chain_type_t fib_forw_chain_type_from_dpo_proto(dpo_proto_t proto)
Convert from a payload-protocol to a chain type.
Definition: fib_types.c:287
#define FIB_PROTOCOLS
Definition: fib_types.h:42
fib_forward_chain_type_t fib_forw_chain_type_from_fib_proto(fib_protocol_t proto)
Convert from a fib-protocol to a chain type.
Definition: fib_types.c:309
uword unformat(unformat_input_t *i, const char *fmt,...)
Definition: unformat.c:972
static uword unformat_check_input(unformat_input_t *i)
Definition: format.h:170
mpls_eos_bit_t fp_eos
Definition: fib_types.h:220
u32 fib_masks[33]
Definition: ip4.h:108
enum mpls_eos_bit_t_ mpls_eos_bit_t