/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.c | 77 if (e->neigh) 78 neigh_release(e->neigh); 79 e->neigh = n; 105 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac)); 134 neigh_event_send(e->neigh, NULL); 159 if (!neigh_event_send(e->neigh, NULL)) { 183 neigh_event_send(e->neigh, NULL); 209 neigh_event_send(e->neigh, NULL); 267 if (e->neigh) { 268 neigh_release(e->neigh); 282 reuse_entry(struct l2t_entry *e, struct neighbour *neigh) argument 305 struct neighbour *neigh; local 396 t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh) argument [all...] |
H A D | t3cdev.h | 61 void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
|
H A D | l2t.h | 64 struct neighbour *neigh; /* associated neighbour */ member in struct:l2t_entry 111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
|
H A D | cxgb3_offload.c | 64 static void cxgb_neigh_update(struct neighbour *neigh); 484 static void dummy_neigh_update(struct t3cdev *dev, struct neighbour *neigh) argument 1073 static void cxgb_neigh_update(struct neighbour *neigh) argument 1077 if (!neigh) 1079 dev = neigh->dev; 1084 t3_l2t_update(tdev, neigh);
|
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 268 struct ipoib_neigh *neigh, *tn; local 277 list_for_each_entry_safe(neigh, tn, &path->neigh_list, list) { 284 if (neigh->ah) 285 ipoib_put_ah(neigh->ah); 287 ipoib_neigh_free(dev, neigh); 412 struct ipoib_neigh *neigh, *tn; local 447 list_for_each_entry_safe(neigh, tn, &path->neigh_list, list) { 448 if (neigh->ah) { 449 WARN_ON(neigh->ah != old_ah); 457 ipoib_put_ah(neigh 563 struct ipoib_neigh *neigh; local 712 struct ipoib_neigh *neigh; local 855 struct ipoib_neigh *neigh; local 886 struct ipoib_neigh *neigh; local 902 ipoib_neigh_free(struct net_device *dev, struct ipoib_neigh *neigh) argument [all...] |
H A D | ipoib.h | 219 struct ipoib_neigh *neigh; member in struct:ipoib_cm_tx 399 * hardware address in neigh->ha. The ALIGN() expression here makes 403 static inline struct ipoib_neigh **to_ipoib_neigh(struct neighbour *neigh) argument 405 return (void*) neigh + ALIGN(offsetof(struct neighbour, ha) + 409 struct ipoib_neigh *ipoib_neigh_alloc(struct neighbour *neigh, 411 void ipoib_neigh_free(struct net_device *dev, struct ipoib_neigh *neigh); 527 static inline int ipoib_cm_up(struct ipoib_neigh *neigh) argument 530 return test_bit(IPOIB_FLAG_OPER_UP, &neigh->cm->flags); 533 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh) argument 535 return neigh 538 ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx) argument 584 ipoib_cm_up(struct ipoib_neigh *neigh) argument 590 ipoib_cm_get(struct ipoib_neigh *neigh) argument 595 ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx) argument 640 ipoib_cm_create_tx(struct net_device *dev, struct ipoib_path *path, struct ipoib_neigh *neigh) argument [all...] |
H A D | ipoib_cm.c | 802 struct ipoib_neigh *neigh; local 809 neigh = tx->neigh; 811 if (neigh) { 812 neigh->cm = NULL; 813 list_del(&neigh->list); 814 if (neigh->ah) 815 ipoib_put_ah(neigh->ah); 816 ipoib_neigh_free(dev, neigh); 818 tx->neigh 1206 struct ipoib_neigh *neigh; local 1255 ipoib_cm_create_tx(struct net_device *dev, struct ipoib_path *path, struct ipoib_neigh *neigh) argument 1292 struct ipoib_neigh *neigh; local [all...] |
H A D | ipoib_multicast.c | 73 struct ipoib_neigh *neigh, *tmp; local 81 list_for_each_entry_safe(neigh, tmp, &mcast->neigh_list, list) { 88 if (neigh->ah) 89 ipoib_put_ah(neigh->ah); 90 ipoib_neigh_free(dev, neigh); 725 struct ipoib_neigh *neigh = ipoib_neigh_alloc(n, local 728 if (neigh) { 730 neigh->ah = mcast->ah; 731 list_add_tail(&neigh->list, &mcast->neigh_list);
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.c | 129 if (e->neigh) 130 neigh_release(e->neigh); 131 e->neigh = n; 156 if (e->neigh) 157 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac)); 207 e->state = (e->neigh->nud_state & NUD_STALE) ? 236 neigh_event_send(e->neigh, NULL); 255 !neigh_event_send(e->neigh, NULL)) { 312 if (e->neigh) { 313 neigh_release(e->neigh); 341 reuse_entry(struct l2t_entry *e, struct neighbour *neigh) argument 359 cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, const struct net_device *physdev, unsigned int priority) argument 438 t4_l2t_update(struct adapter *adap, struct neighbour *neigh) argument [all...] |
H A D | l2t.h | 62 struct neighbour *neigh; /* associated neighbour */ member in struct:l2t_entry 98 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, 102 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh);
|
H A D | cxgb4_main.c | 2418 static void check_neigh_update(struct neighbour *neigh) argument 2421 const struct net_device *netdev = neigh->dev; 2427 t4_l2t_update(dev_get_drvdata(parent), neigh); local
|
/drivers/infiniband/hw/nes/ |
H A D | nes.c | 219 struct neighbour *neigh = ptr; local 230 if (netdev == neigh->dev) { 235 if (neigh->nud_state & NUD_VALID) { 236 nes_manage_arp_cache(neigh->dev, neigh->ha, 237 ntohl(*(__be32 *)neigh->primary_key), NES_ARP_ADD); 239 nes_manage_arp_cache(neigh->dev, neigh->ha, 240 ntohl(*(__be32 *)neigh->primary_key), NES_ARP_DELETE);
|
H A D | nes_cm.c | 1342 struct neighbour *neigh; local 1359 neigh = dst_neigh_lookup(&rt->dst, &dst_ip); 1362 if (neigh) { 1363 if (neigh->nud_state & NUD_VALID) { 1366 neigh->ha, ntohl(rt->rt_gateway)); 1370 neigh->ha, ETH_ALEN)) { 1380 nes_manage_arp_cache(nesvnic->netdev, neigh->ha, 1385 neigh_event_send(neigh, NULL); 1391 if (neigh) 1392 neigh_release(neigh); [all...] |
/drivers/infiniband/core/ |
H A D | addr.c | 430 struct neighbour *neigh = ctx; local 432 if (neigh->nud_state & NUD_VALID) {
|
/drivers/net/plip/ |
H A D | plip.c | 153 static int plip_hard_header_cache(const struct neighbour *neigh, 1027 static int plip_hard_header_cache(const struct neighbour *neigh, argument 1032 ret = eth_header_cache(neigh, hh, type); 1038 plip_rewrite_address (neigh->dev, eth);
|
/drivers/firewire/ |
H A D | net.c | 264 static int fwnet_header_cache(const struct neighbour *neigh, argument 272 net = neigh->dev; 275 memcpy(h->h_dest, neigh->ha, net->addr_len);
|
/drivers/isdn/i4l/ |
H A D | isdn_net.c | 1986 static int isdn_header_cache(const struct neighbour *neigh, struct hh_cache *hh, argument 1989 const struct net_device *dev = neigh->dev; 1993 return eth_header_cache(neigh, hh, type);
|