nexthop          1761 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 	fm10k_record_global_table_data(&err_msg.nexthop, &hw->swapi.nexthop);
nexthop            81 drivers/net/ethernet/intel/fm10k/fm10k_pf.h 	struct fm10k_global_table_data	nexthop;
nexthop           563 drivers/net/ethernet/intel/fm10k/fm10k_type.h 	struct fm10k_swapi_table_info nexthop;
nexthop           365 drivers/net/vrf.c 	const struct in6_addr *nexthop;
nexthop           375 drivers/net/vrf.c 	nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr);
nexthop           376 drivers/net/vrf.c 	neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop);
nexthop           378 drivers/net/vrf.c 		neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false);
nexthop            41 include/net/inet_sock.h 	__be32		nexthop;
nexthop           173 include/net/ip6_fib.h 	struct nexthop			*nh;
nexthop           129 include/net/ip_fib.h struct nexthop;
nexthop           154 include/net/ip_fib.h 	struct nexthop		*nh;
nexthop           121 include/net/net_namespace.h 	struct netns_nexthop	nexthop;
nexthop            21 include/net/nexthop.h struct nexthop;
nexthop            51 include/net/nexthop.h 	struct nexthop		*nh_parent;
nexthop            64 include/net/nexthop.h 	struct nexthop	*nh;
nexthop            69 include/net/nexthop.h 	struct nexthop	*nh_parent;  /* nexthop of group with this entry */
nexthop           103 include/net/nexthop.h struct nexthop *nexthop_find_by_id(struct net *net, u32 id);
nexthop           106 include/net/nexthop.h static inline bool nexthop_get(struct nexthop *nh)
nexthop           111 include/net/nexthop.h static inline void nexthop_put(struct nexthop *nh)
nexthop           117 include/net/nexthop.h static inline bool nexthop_cmp(const struct nexthop *nh1,
nexthop           118 include/net/nexthop.h 			       const struct nexthop *nh2)
nexthop           123 include/net/nexthop.h static inline bool nexthop_is_multipath(const struct nexthop *nh)
nexthop           134 include/net/nexthop.h struct nexthop *nexthop_select_path(struct nexthop *nh, int hash);
nexthop           136 include/net/nexthop.h static inline unsigned int nexthop_num_path(const struct nexthop *nh)
nexthop           152 include/net/nexthop.h struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel)
nexthop           164 include/net/nexthop.h int nexthop_mpath_fill_node(struct sk_buff *skb, struct nexthop *nh,
nexthop           171 include/net/nexthop.h 		struct nexthop *nhe = nhg->nh_entries[i].nh;
nexthop           184 include/net/nexthop.h static inline bool nexthop_is_blackhole(const struct nexthop *nh)
nexthop           205 include/net/nexthop.h 	struct nexthop *nh;
nexthop           214 include/net/nexthop.h struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel)
nexthop           236 include/net/nexthop.h static inline bool nexthop_uses_dev(const struct nexthop *nh,
nexthop           246 include/net/nexthop.h 			struct nexthop *nhe = nhg->nh_entries[i].nh;
nexthop           269 include/net/nexthop.h int fib_check_nexthop(struct nexthop *nh, u8 scope,
nexthop           291 include/net/nexthop.h int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg,
nexthop           294 include/net/nexthop.h static inline struct fib6_nh *nexthop_fib6_nh(struct nexthop *nh)
nexthop           324 include/net/nexthop.h 	struct nexthop *nh = res->f6i->nh;
nexthop           339 include/net/nexthop.h int nexthop_for_each_fib6_nh(struct nexthop *nh,
nexthop           165 net/bluetooth/6lowpan.c 	const struct in6_addr *nexthop;
nexthop           176 net/bluetooth/6lowpan.c 			nexthop = daddr;
nexthop           180 net/bluetooth/6lowpan.c 			nexthop = &lowpan_cb(skb)->gw;
nexthop           183 net/bluetooth/6lowpan.c 		nexthop = rt6_nexthop(rt, daddr);
nexthop           189 net/bluetooth/6lowpan.c 		memcpy(&lowpan_cb(skb)->gw, nexthop, sizeof(struct in6_addr));
nexthop           192 net/bluetooth/6lowpan.c 	BT_DBG("gw %pI6c", nexthop);
nexthop           201 net/bluetooth/6lowpan.c 		if (!ipv6_addr_cmp(&peer->peer_addr, nexthop)) {
nexthop           209 net/bluetooth/6lowpan.c 	neigh = __ipv6_neigh_lookup(dev->netdev, nexthop);
nexthop            44 net/dccp/ipv4.c 	__be32 daddr, nexthop;
nexthop            58 net/dccp/ipv4.c 	nexthop = daddr = usin->sin_addr.s_addr;
nexthop            65 net/dccp/ipv4.c 		nexthop = inet_opt->opt.faddr;
nexthop            71 net/dccp/ipv4.c 	rt = ip_route_connect(fl4, nexthop, inet->inet_saddr,
nexthop          1342 net/ipv4/fib_semantics.c 	struct nexthop *nh = NULL;
nexthop           592 net/ipv4/ip_options.c 			if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0)
nexthop           597 net/ipv4/ip_options.c 			ip_hdr(skb)->daddr = opt->nexthop;
nexthop           620 net/ipv4/ip_options.c 	__be32 nexthop;
nexthop           647 net/ipv4/ip_options.c 		memcpy(&nexthop, &optptr[srrptr-1], 4);
nexthop           651 net/ipv4/ip_options.c 		err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, dev);
nexthop           662 net/ipv4/ip_options.c 		iph->daddr = nexthop;
nexthop           667 net/ipv4/ip_options.c 		opt->nexthop = nexthop;
nexthop            19 net/ipv4/nexthop.c static void remove_nexthop(struct net *net, struct nexthop *nh,
nexthop            57 net/ipv4/nexthop.c 	head = &net->nexthop.devhash[hash];
nexthop            61 net/ipv4/nexthop.c static void nexthop_free_mpath(struct nexthop *nh)
nexthop            80 net/ipv4/nexthop.c static void nexthop_free_single(struct nexthop *nh)
nexthop            98 net/ipv4/nexthop.c 	struct nexthop *nh = container_of(head, struct nexthop, rcu);
nexthop           109 net/ipv4/nexthop.c static struct nexthop *nexthop_alloc(void)
nexthop           111 net/ipv4/nexthop.c 	struct nexthop *nh;
nexthop           113 net/ipv4/nexthop.c 	nh = kzalloc(sizeof(struct nexthop), GFP_KERNEL);
nexthop           124 net/ipv4/nexthop.c 	size_t sz = offsetof(struct nexthop, nh_grp)
nexthop           138 net/ipv4/nexthop.c 	while (++net->nexthop.seq == 0)
nexthop           143 net/ipv4/nexthop.c struct nexthop *nexthop_find_by_id(struct net *net, u32 id)
nexthop           147 net/ipv4/nexthop.c 	pp = &net->nexthop.rb_root.rb_node;
nexthop           149 net/ipv4/nexthop.c 		struct nexthop *nh;
nexthop           156 net/ipv4/nexthop.c 		nh = rb_entry(parent, struct nexthop, rb_node);
nexthop           171 net/ipv4/nexthop.c 	u32 id_start = net->nexthop.last_id_allocated;
nexthop           174 net/ipv4/nexthop.c 		net->nexthop.last_id_allocated++;
nexthop           175 net/ipv4/nexthop.c 		if (net->nexthop.last_id_allocated == id_start)
nexthop           178 net/ipv4/nexthop.c 		if (!nexthop_find_by_id(net, net->nexthop.last_id_allocated))
nexthop           179 net/ipv4/nexthop.c 			return net->nexthop.last_id_allocated;
nexthop           215 net/ipv4/nexthop.c static int nh_fill_node(struct sk_buff *skb, struct nexthop *nh,
nexthop           291 net/ipv4/nexthop.c static size_t nh_nlmsg_size_grp(struct nexthop *nh)
nexthop           300 net/ipv4/nexthop.c static size_t nh_nlmsg_size_single(struct nexthop *nh)
nexthop           331 net/ipv4/nexthop.c static size_t nh_nlmsg_size(struct nexthop *nh)
nexthop           345 net/ipv4/nexthop.c static void nexthop_notify(int event, struct nexthop *nh, struct nl_info *info)
nexthop           372 net/ipv4/nexthop.c static bool valid_group_nh(struct nexthop *nh, unsigned int npaths,
nexthop           435 net/ipv4/nexthop.c 		struct nexthop *nh;
nexthop           490 net/ipv4/nexthop.c struct nexthop *nexthop_select_path(struct nexthop *nh, int hash)
nexthop           492 net/ipv4/nexthop.c 	struct nexthop *rc = NULL;
nexthop           530 net/ipv4/nexthop.c int nexthop_for_each_fib6_nh(struct nexthop *nh,
nexthop           571 net/ipv4/nexthop.c int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg,
nexthop           607 net/ipv4/nexthop.c static int fib6_check_nh_list(struct nexthop *old, struct nexthop *new,
nexthop           623 net/ipv4/nexthop.c static int nexthop_check_scope(struct nexthop *nh, u8 scope,
nexthop           647 net/ipv4/nexthop.c int fib_check_nexthop(struct nexthop *nh, u8 scope,
nexthop           671 net/ipv4/nexthop.c static int fib_check_nh_list(struct nexthop *old, struct nexthop *new,
nexthop           709 net/ipv4/nexthop.c 	struct nexthop *nhp = nhge->nh_parent;
nexthop           710 net/ipv4/nexthop.c 	struct nexthop *nh = nhge->nh;
nexthop           757 net/ipv4/nexthop.c static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh,
nexthop           769 net/ipv4/nexthop.c static void remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo)
nexthop           785 net/ipv4/nexthop.c static void __remove_nexthop_fib(struct net *net, struct nexthop *nh)
nexthop           806 net/ipv4/nexthop.c static void __remove_nexthop(struct net *net, struct nexthop *nh,
nexthop           824 net/ipv4/nexthop.c static void remove_nexthop(struct net *net, struct nexthop *nh,
nexthop           828 net/ipv4/nexthop.c 	rb_erase(&nh->rb_node, &net->nexthop.rb_root);
nexthop           842 net/ipv4/nexthop.c static void nh_rt_cache_flush(struct net *net, struct nexthop *nh)
nexthop           853 net/ipv4/nexthop.c static int replace_nexthop_grp(struct net *net, struct nexthop *old,
nexthop           854 net/ipv4/nexthop.c 			       struct nexthop *new,
nexthop           882 net/ipv4/nexthop.c static int replace_nexthop_single(struct net *net, struct nexthop *old,
nexthop           883 net/ipv4/nexthop.c 				  struct nexthop *new,
nexthop           908 net/ipv4/nexthop.c static void __nexthop_replace_notify(struct net *net, struct nexthop *nh,
nexthop           937 net/ipv4/nexthop.c static void nexthop_replace_notify(struct net *net, struct nexthop *nh,
nexthop           948 net/ipv4/nexthop.c static int replace_nexthop(struct net *net, struct nexthop *old,
nexthop           949 net/ipv4/nexthop.c 			   struct nexthop *new, struct netlink_ext_ack *extack)
nexthop          1007 net/ipv4/nexthop.c static int insert_nexthop(struct net *net, struct nexthop *new_nh,
nexthop          1011 net/ipv4/nexthop.c 	struct rb_root *root = &net->nexthop.rb_root;
nexthop          1020 net/ipv4/nexthop.c 		struct nexthop *nh;
nexthop          1028 net/ipv4/nexthop.c 		nh = rb_entry(parent, struct nexthop, rb_node);
nexthop          1072 net/ipv4/nexthop.c 	struct hlist_head *head = &net->nexthop.devhash[hash];
nexthop          1087 net/ipv4/nexthop.c 	struct rb_root *root = &net->nexthop.rb_root;
nexthop          1089 net/ipv4/nexthop.c 	struct nexthop *nh;
nexthop          1092 net/ipv4/nexthop.c 		nh = rb_entry(node, struct nexthop, rb_node);
nexthop          1098 net/ipv4/nexthop.c static struct nexthop *nexthop_create_group(struct net *net,
nexthop          1105 net/ipv4/nexthop.c 	struct nexthop *nh;
nexthop          1130 net/ipv4/nexthop.c 		struct nexthop *nhe;
nexthop          1167 net/ipv4/nexthop.c static int nh_create_ipv4(struct net *net, struct nexthop *nh,
nexthop          1202 net/ipv4/nexthop.c static int nh_create_ipv6(struct net *net,  struct nexthop *nh,
nexthop          1231 net/ipv4/nexthop.c static struct nexthop *nexthop_create(struct net *net, struct nh_config *cfg,
nexthop          1235 net/ipv4/nexthop.c 	struct nexthop *nh;
nexthop          1284 net/ipv4/nexthop.c static struct nexthop *nexthop_add(struct net *net, struct nh_config *cfg,
nexthop          1287 net/ipv4/nexthop.c 	struct nexthop *nh;
nexthop          1498 net/ipv4/nexthop.c 	struct nexthop *nh;
nexthop          1566 net/ipv4/nexthop.c 	struct nexthop *nh;
nexthop          1589 net/ipv4/nexthop.c 	struct nexthop *nh;
nexthop          1622 net/ipv4/nexthop.c static bool nh_dump_filtered(struct nexthop *nh, int dev_idx, int master_idx,
nexthop          1719 net/ipv4/nexthop.c 	struct rb_root *root = &net->nexthop.rb_root;
nexthop          1732 net/ipv4/nexthop.c 		struct nexthop *nh;
nexthop          1737 net/ipv4/nexthop.c 		nh = rb_entry(node, struct nexthop, rb_node);
nexthop          1759 net/ipv4/nexthop.c 	cb->seq = net->nexthop.seq;
nexthop          1769 net/ipv4/nexthop.c 	struct hlist_head *head = &net->nexthop.devhash[hash];
nexthop          1816 net/ipv4/nexthop.c 	kfree(net->nexthop.devhash);
nexthop          1823 net/ipv4/nexthop.c 	net->nexthop.rb_root = RB_ROOT;
nexthop          1824 net/ipv4/nexthop.c 	net->nexthop.devhash = kzalloc(sz, GFP_KERNEL);
nexthop          1825 net/ipv4/nexthop.c 	if (!net->nexthop.devhash)
nexthop           205 net/ipv4/tcp_ipv4.c 	__be32 daddr, nexthop;
nexthop           218 net/ipv4/tcp_ipv4.c 	nexthop = daddr = usin->sin_addr.s_addr;
nexthop           224 net/ipv4/tcp_ipv4.c 		nexthop = inet_opt->opt.faddr;
nexthop           230 net/ipv4/tcp_ipv4.c 	rt = ip_route_connect(fl4, nexthop, inet->inet_saddr,
nexthop            62 net/ipv6/ip6_output.c 	const struct in6_addr *nexthop;
nexthop           110 net/ipv6/ip6_output.c 	nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr);
nexthop           111 net/ipv6/ip6_output.c 	neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop);
nexthop           113 net/ipv6/ip6_output.c 		neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false);
nexthop           514 net/ipv6/route.c static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh,
nexthop          3580 net/ipv6/route.c 	struct nexthop *nh = NULL;
nexthop          5367 net/ipv6/route.c static int rt6_fill_node_nexthop(struct sk_buff *skb, struct nexthop *nh,
nexthop           249 net/netfilter/nf_flow_table_ip.c 	__be32 nexthop;
nexthop           297 net/netfilter/nf_flow_table_ip.c 	nexthop = rt_nexthop(rt, flow->tuplehash[!dir].tuple.src_v4.s_addr);
nexthop           299 net/netfilter/nf_flow_table_ip.c 	neigh_xmit(NEIGH_ARP_TABLE, outdev, &nexthop, skb);
nexthop           475 net/netfilter/nf_flow_table_ip.c 	const struct in6_addr *nexthop;
nexthop           527 net/netfilter/nf_flow_table_ip.c 	nexthop = rt6_nexthop(rt, &flow->tuplehash[!dir].tuple.src_v6);
nexthop           529 net/netfilter/nf_flow_table_ip.c 	neigh_xmit(NEIGH_ND_TABLE, outdev, nexthop, skb);