Searched refs:nh_type (Results 1 – 9 of 9) sorted by relevance
105 uint16_t nh_type; in rib6_preadd() local128 nh_type = NH_TYPE_IPV6_ETHER_NHOP; in rib6_preadd()130 nh_type = NH_TYPE_IPV6_ETHER_RSLV; in rib6_preadd()132 nhop_set_type(nh, nh_type); in rib6_preadd()
59 uint16_t nh_type; in rib4_preadd() local105 nh_type = NH_TYPE_IPV4_ETHER_NHOP; in rib4_preadd()107 nh_type = NH_TYPE_IPV4_ETHER_RSLV; in rib4_preadd()109 nhop_set_type(nh, nh_type); in rib4_preadd()
288 nh_priv->nh_type = 0; // hook responsibility to set nhop type in fill_nhop_from_info()469 nh_priv->nh_type = nh_orig->nh_priv->nh_type; in nhop_create_from_nhop()733 return (nh->nh_priv->nh_type); in nhop_get_type()737 nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type) in nhop_set_type() argument740 nh->nh_priv->nh_type = nh_type; in nhop_set_type()835 pnhe->nh_type = nh->nh_priv->nh_type; in dump_nhop_entry()
194 uint8_t nh_type; member223 key.nh_type = priv->nh_type & 0xFF; in hash_priv()
80 uint16_t nh_type; /* nexthop type */ member
196 uint16_t nh_type; /* nexthop type */ member
243 void nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type);
263 char *cp = nh_types[nh->nh_type]; in print_nhop_entry_sysctl()