Home
last modified time | relevance | path

Searched refs:nh_type (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/netinet6/
H A Din6_rmx.c124 uint16_t nh_type; in rib6_augment_nh()
126 nh_type = NH_TYPE_IPV6_ETHER_NHOP; in rib6_augment_nh()
128 nh_type = NH_TYPE_IPV6_ETHER_RSLV; in rib6_augment_nh()
130 nhop_set_type(nh, nh_type); in rib6_augment_nh()
125 uint16_t nh_type; rib6_augment_nh() local
/freebsd/sys/netinet/
H A Din_rmx.c101 uint16_t nh_type; in rib4_augment_nh() local
103 nh_type = NH_TYPE_IPV4_ETHER_NHOP; in rib4_augment_nh()
105 nh_type = NH_TYPE_IPV4_ETHER_RSLV; in rib4_augment_nh()
107 nhop_set_type(nh, nh_type); in rib4_augment_nh()
/freebsd/sys/net/route/
H A Dnhop.c196 uint8_t nh_type; member
219 .nh_type = priv->nh_type & 0xFF, in hash_priv()
H A Dnhop_ctl.c714 nh_priv->nh_type = nh_orig->nh_priv->nh_type; in nhop_copy()
899 return (nh->nh_priv->nh_type); in nhop_get_type()
903 nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type) in nhop_set_type() argument
906 nh->nh_priv->nh_type = nh_type; in nhop_set_type()
1218 pnhe->nh_type = nh->nh_priv->nh_type; in dump_nhop_entry()
H A Dnhop.h196 void nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type);
245 uint16_t nh_type; /* nexthop type */ member
H A Dnhop_var.h77 uint16_t nh_type; /* nexthop type */ member
/freebsd/usr.bin/netstat/
H A Dnhops.c253 char *cp = nh_types[nh->nh_type]; in print_nhop_entry_sysctl()