Searched refs:nhc (Results 1 – 4 of 4) sorted by relevance
/include/trace/events/ |
D | fib.h | 16 const struct fib_nh_common *nhc, int err), 18 TP_ARGS(tb_id, flp, nhc, err), 68 dev = nhc ? nhc->nhc_dev : NULL; 71 if (nhc) { 72 if (nhc->nhc_gw_family == AF_INET) { 74 *p32 = nhc->nhc_gw.ipv4; 78 } else if (nhc->nhc_gw_family == AF_INET6) { 83 *in6 = nhc->nhc_gw.ipv6;
|
/include/net/ |
D | ip_fib.h | 172 struct fib_nh_common *nhc; member 199 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc, 203 #define FIB_RES_NHC(res) ((res).nhc) 454 static inline bool nhc_l3mdev_matches_dev(const struct fib_nh_common *nhc, in nhc_l3mdev_matches_dev() argument 457 if (nhc->nhc_dev == dev || in nhc_l3mdev_matches_dev() 458 l3mdev_master_ifindex_rcu(nhc->nhc_dev) == dev->ifindex) in nhc_l3mdev_matches_dev() 470 void fib_nhc_update_mtu(struct fib_nh_common *nhc, u32 new, u32 orig); 529 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc, 533 void fib_nh_common_release(struct fib_nh_common *nhc); 539 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags, [all …]
|
D | vxlan.h | 503 struct fib_nh_common *nhc; in vxlan_fdb_nh_path_select() local 505 nhc = nexthop_path_fdb_result(nh, hash >> 1); in vxlan_fdb_nh_path_select() 506 if (unlikely(!nhc)) in vxlan_fdb_nh_path_select() 509 switch (nhc->nhc_gw_family) { in vxlan_fdb_nh_path_select() 511 rdst->remote_ip.sin.sin_addr.s_addr = nhc->nhc_gw.ipv4; in vxlan_fdb_nh_path_select() 515 rdst->remote_ip.sin6.sin6_addr = nhc->nhc_gw.ipv6; in vxlan_fdb_nh_path_select()
|
D | nexthop.h | 325 struct fib_nh_common *nhc = &nhi->fib_nhc; in nexthop_mpath_fill_node() local 328 if (fib_add_nexthop(skb, nhc, weight, rt_family, 0) < 0) in nexthop_mpath_fill_node() 361 res->nhc = &nhi->fib_nhc; in nexthop_path_fib_result()
|