]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_spf.h
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / ospfd / ospf_spf.h
index e23f5941ff834f0c9ed6f603f6f65542c3e213cf..85f42bcd18292cf9d0d7f6d2cd9cfd109c1f1417 100644 (file)
 
 /* A router or network in an area */
 struct vertex {
-       u_char flags;
-       u_char type;            /* copied from LSA header */
+       uint8_t flags;
+       uint8_t type;           /* copied from LSA header */
        struct in_addr id;      /* copied from LSA header */
        struct lsa_header *lsa; /* Router or Network LSA */
        int *stat;              /* Link to LSA status. */
-       u_int32_t distance;     /* from root to this vertex */
+       uint32_t distance;      /* from root to this vertex */
        struct list *parents;   /* list of parents in SPF tree */
        struct list *children;  /* list of children in SPF tree*/
 };