Searched refs:neigh (Results 101 - 116 of 116) sorted by relevance

12345

/linux-master/tools/testing/selftests/net/
H A Dsrv6_end_dt46_l3vpn_test.sh333 ip -netns ${rtsrc_name} -6 neigh add proxy ${IPv6_HS_NETWORK}::${hsdst} dev ${rtveth}
H A Dfib_tests.sh2397 ip neigh help 2>&1 | grep -q 'ip neigh get'
2399 echo "iproute2 command does not support neigh get. Skipping test"
2418 run_cmd "$IP neigh add 192.0.2.111 lladdr 00:11:22:33:44:55 nud perm dev dummy0"
2419 run_cmd "$IP neigh add 192.0.2.255 lladdr 00:11:22:33:44:55 nud perm dev dummy0"
2421 run_cmd "$IP neigh get 192.0.2.111 dev dummy0"
2422 run_cmd "$IP neigh get 192.0.2.255 dev dummy0"
2426 run_cmd "$IP neigh add 203.0.113.111 nud failed dev dummy0"
2427 run_cmd "$IP neigh add 203.0.113.255 nud failed dev dummy0"
2429 run_cmd "$IP neigh ge
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile44 mlx5_core-$(CONFIG_MLX5_CLS_ACT) += en_tc.o en/rep/tc.o en/rep/neigh.o \
/linux-master/include/linux/
H A Detherdevice.h46 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
H A Dnetdevice.h310 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type);
/linux-master/net/core/
H A Dfilter.c2202 struct neighbour *neigh; local
2226 neigh = ip_neigh_gw6(dev, nexthop);
2227 if (likely(!IS_ERR(neigh))) {
2230 sock_confirm_neigh(skb, neigh);
2233 ret = neigh_output(neigh, skb, false);
2301 struct neighbour *neigh; local
2322 neigh = ip_neigh_for_gw(rt, skb, &is_v6gw);
2324 neigh = ip_neigh_gw6(dev, &nh->ipv6_nh);
2327 neigh = ip_neigh_gw4(dev, nh->ipv4_nh);
2333 if (likely(!IS_ERR(neigh))) {
5863 struct neighbour *neigh; local
6003 struct neighbour *neigh; local
[all...]
/linux-master/drivers/infiniband/core/
H A Daddr.c851 struct neighbour *neigh = ctx; local
853 if (neigh->nud_state & NUD_VALID) {
H A Dcma.c5183 struct neighbour *neigh = ctx; local
5190 if (neigh->tbl->family == AF_INET6) {
5194 neigh_sock_6.sin6_addr = *(struct in6_addr *)neigh->primary_key;
5195 ips_node = node_from_ndev_ip(&id_table, neigh->dev->ifindex,
5197 } else if (neigh->tbl->family == AF_INET) {
5201 neigh_sock_4.sin_addr.s_addr = *(__be32 *)(neigh->primary_key);
5202 ips_node = node_from_ndev_ip(&id_table, neigh->dev->ifindex,
5212 neigh->ha, ETH_ALEN))
/linux-master/net/ipv6/
H A Dip6_tunnel.c1114 struct neighbour *neigh; local
1120 neigh = dst_neigh_lookup(skb_dst(skb),
1122 if (!neigh)
1125 addr6 = (struct in6_addr *)&neigh->primary_key;
1132 neigh_release(neigh);
/linux-master/drivers/firewire/
H A Dnet.c232 static int fwnet_header_cache(const struct neighbour *neigh, argument
240 net = neigh->dev;
243 memcpy(h->h_dest, neigh->ha, net->addr_len);
/linux-master/net/batman-adv/
H A Dbat_v.c791 .neigh = {
H A Drouting.c580 if (!bao->neigh.is_similar_or_better(cand_router,
H A Dbat_iv_ogm.c1176 "bidirectional: orig = %pM neigh = %pM => own_bcast = %2i, real recv = %2i, local tq: %3i, asym_penalty: %3i, iface_hop_penalty: %3i, total tq: %3i, if_incoming = %s, if_outgoing = %s\n",
2509 .neigh = {
H A Dtranslation-table.c1728 bao->neigh.cmp(router, BATADV_IF_DEFAULT, best_router,
/linux-master/drivers/infiniband/hw/cxgb4/
H A Dcm.c4075 struct neighbour *neigh; local
4144 neigh = dst_neigh_lookup_skb(dst, skb);
4146 if (!neigh) {
4147 pr_err("%s - failed to allocate neigh!\n", __func__);
4151 if (neigh->dev->flags & IFF_LOOPBACK) {
4157 e = cxgb4_l2t_get(dev->rdev.lldi.l2t, neigh,
4162 pdev = get_real_dev(neigh->dev);
4163 e = cxgb4_l2t_get(dev->rdev.lldi.l2t, neigh,
4167 neigh_release(neigh);
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c2371 static void check_neigh_update(struct neighbour *neigh) argument
2374 const struct net_device *netdev = neigh->dev;
2380 t4_l2t_update(dev_get_drvdata(parent), neigh); local

Completed in 586 milliseconds

12345