| /linux-6.15/include/net/ |
| H A D | neighbour.h | 42 struct neighbour; 77 int (*neigh_setup)(struct neighbour *); 138 struct neighbour { struct 211 int (*constructor)(struct neighbour *); 303 struct neighbour *n; in ___neigh_lookup_noref() 388 void neigh_app_ns(struct neighbour *n); 392 int (*cb)(struct neighbour *)); 400 struct neighbour *n, loff_t *pos); 445 static inline struct neighbour * neigh_clone(struct neighbour *neigh) in neigh_clone() 542 static inline struct neighbour * [all …]
|
| H A D | ndisc.h | 201 void (*update)(const struct net_device *dev, struct neighbour *n, 205 struct neighbour *neigh, u8 *ha_buf, 232 struct neighbour *n, u32 flags, in ndisc_ops_update() 252 struct neighbour *neigh, in ndisc_ops_redirect_opt_addr_space() 328 struct neighbour *neigh, in ndisc_redirect_opt_addr_space() 372 struct neighbour *__ipv6_neigh_lookup_noref_stub(struct net_device *dev, in __ipv6_neigh_lookup_noref_stub() 381 struct neighbour *n; in __ipv6_neigh_lookup() 395 struct neighbour *n; in __ipv6_confirm_neigh() 406 struct neighbour *n; in __ipv6_confirm_neigh_stub() 415 static inline struct neighbour *ip_neigh_gw6(struct net_device *dev, in ip_neigh_gw6() [all …]
|
| H A D | arp.h | 22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() 31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() 37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup() 39 struct neighbour *n; in __ipv4_neigh_lookup() 52 struct neighbour *n; in __ipv4_confirm_neigh()
|
| H A D | netevent.h | 16 struct neighbour; 22 struct neighbour *neigh;
|
| H A D | dst.h | 399 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) in dst_neigh_lookup() 401 struct neighbour *n = dst->ops->neigh_lookup(dst, NULL, daddr); in dst_neigh_lookup() 405 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst, in dst_neigh_lookup_skb() 408 struct neighbour *n; in dst_neigh_lookup_skb() 570 struct neighbour *dst_blackhole_neigh_lookup(const struct dst_entry *dst,
|
| H A D | route.h | 397 static inline struct neighbour *ip_neigh_gw4(struct net_device *dev, in ip_neigh_gw4() 400 struct neighbour *neigh; in ip_neigh_gw4() 409 static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt, in ip_neigh_for_gw() 414 struct neighbour *neigh; in ip_neigh_for_gw()
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | rt_neigh.yaml | 8 IP neighbour management over rtnetlink. 181 name: neighbour-attrs 341 doc: Add new neighbour entry 343 attribute-set: neighbour-attrs 347 attributes: &neighbour-all 364 attribute-set: neighbour-attrs 373 doc: Notify a neighbour deletion 381 attribute-set: neighbour-attrs 389 attributes: *neighbour-all 396 attributes: *neighbour-all [all …]
|
| /linux-6.15/net/x25/ |
| H A D | x25_subr.c | 55 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked() 94 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_validate_nr() 168 if (x25->neighbour->extended) { in x25_write_internal() 190 x25->neighbour->global_facil_mask); in x25_write_internal() 235 if (x25->neighbour->extended) { in x25_write_internal() 254 x25_transmit_link(skb, x25->neighbour); in x25_write_internal() 289 if (x25->neighbour->extended) { in x25_decode() 309 if (x25->neighbour->extended) { in x25_decode() 360 if (x25->neighbour) { in x25_disconnect() 362 x25_neigh_put(x25->neighbour); in x25_disconnect() [all …]
|
| H A D | x25_out.c | 54 int header_len = x25->neighbour->extended ? X25_EXT_MIN_LEN : in x25_output() 94 if (x25->neighbour->extended) in x25_output() 123 if (x25->neighbour->extended) { in x25_send_iframe() 133 x25_transmit_link(skb, x25->neighbour); in x25_send_iframe() 153 x25_transmit_link(skb, x25->neighbour); in x25_kick() 162 modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_kick()
|
| H A D | x25_proc.c | 93 if (!x25->neighbour || !x25->neighbour->dev) in x25_seq_socket_show() 96 devname = x25->neighbour->dev->name; in x25_seq_socket_show()
|
| H A D | af_x25.c | 790 if (!x25->neighbour) in x25_connect() 795 x25->lci = x25_new_lci(x25->neighbour); in x25_connect() 831 if (rc && x25->neighbour) { in x25_connect() 833 x25_neigh_put(x25->neighbour); in x25_connect() 834 x25->neighbour = NULL; in x25_connect() 1057 makex25->neighbour = nb; in x25_rx_call_request() 1134 if (!x25->neighbour) in x25_sendmsg() 1217 if (x25->neighbour->extended) { in x25_sendmsg() 1229 if (x25->neighbour->extended) { in x25_sendmsg() 1291 if (x25->neighbour == NULL) in x25_recvmsg() [all …]
|
| /linux-6.15/net/netrom/ |
| H A D | nr_route.c | 201 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node() 236 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node() 245 nr_node->routes[2].neighbour->count--; in nr_add_node() 248 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node() 253 nr_node->routes[2].neighbour = nr_neigh; in nr_add_node() 327 nr_neigh = nr_neigh_get_dev(neighbour, dev); in nr_del_node() 466 nr_neigh = s->routes[i].neighbour; in nr_dec_obs() 521 if (t->routes[i].neighbour == s) { in nr_rt_device_down() 653 &nr_route.neighbour, in nr_rt_ioctl() 679 &nr_route.neighbour, dev); in nr_rt_ioctl() [all …]
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | l2t.h | 60 struct neighbour; 78 struct neighbour *neigh; /* associated neighbour */ 113 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, 118 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh);
|
| /linux-6.15/net/rose/ |
| H A D | rose_route.c | 344 rose_node->neighbour[0] = in rose_del_node() 345 rose_node->neighbour[1]; in rose_del_node() 348 rose_node->neighbour[1] = in rose_del_node() 349 rose_node->neighbour[2]; in rose_del_node() 501 if (t->neighbour[i] != s) in rose_rt_device_down() 508 t->neighbour[0] = t->neighbour[1]; in rose_rt_device_down() 511 t->neighbour[1] = t->neighbour[2]; in rose_rt_device_down() 693 res = node->neighbour[i]; in rose_get_neigh() 704 res = node->neighbour[i]; in rose_get_neigh() 929 rose->neighbour->use--; in rose_route_frame() [all …]
|
| H A D | rose_in.c | 59 rose->neighbour->use--; in rose_state1_machine() 82 rose->neighbour->use--; in rose_state2_machine() 87 rose->neighbour->use--; in rose_state2_machine() 123 rose->neighbour->use--; in rose_state3_machine() 236 rose->neighbour->use--; in rose_state4_machine() 256 rose_sk(sk)->neighbour->use--; in rose_state5_machine()
|
| H A D | af_rose.c | 171 if (rose->neighbour == neigh) { in rose_kill_by_neigh() 173 rose->neighbour->use--; in rose_kill_by_neigh() 174 rose->neighbour = NULL; in rose_kill_by_neigh() 214 if (rose->neighbour) in rose_kill_by_device() 215 rose->neighbour->use--; in rose_kill_by_device() 658 rose->neighbour->use--; in rose_release() 818 if (!rose->neighbour) { in rose_connect() 877 rose->neighbour->use++; in rose_connect() 1073 make_rose->neighbour = neigh; in rose_rx_call_request() 1080 make_rose->neighbour->use++; in rose_rx_call_request() [all …]
|
| /linux-6.15/include/trace/events/ |
| H A D | neigh.h | 26 const void *pkey, const struct neighbour *n, 74 TP_PROTO(struct neighbour *n, const u8 *lladdr, u8 new, 157 TP_PROTO(struct neighbour *n, int err), 228 TP_PROTO(struct neighbour *neigh, int err), 233 TP_PROTO(struct neighbour *neigh, int err), 238 TP_PROTO(struct neighbour *neigh, int err), 243 TP_PROTO(struct neighbour *neigh, int err), 248 TP_PROTO(struct neighbour *neigh, int rc),
|
| /linux-6.15/net/core/ |
| H A D | neighbour.c | 249 struct neighbour *n, *tmp; in neigh_forced_gc() 376 struct neighbour *n; in neigh_flush_dev() 559 struct neighbour *n; in neigh_hash_grow() 580 struct neighbour *n; in neigh_lookup() 597 static struct neighbour * 907 struct neighbour *n; in neigh_periodic_work() 1560 struct neighbour *neigh; in neigh_managed_work() 2660 struct neighbour *n; in neigh_dump_table() 3041 struct neighbour *n; in neigh_for_each() 3062 struct neighbour *n; in __neigh_for_each_release() [all …]
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | l2t.h | 46 struct neighbour; 64 struct neighbour *neigh; /* associated neighbour */ 111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
|
| H A D | l2t.c | 74 static inline void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace() 283 static inline void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry() 306 struct neighbour *neigh; in t3_l2t_get() 399 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh) in t3_l2t_update()
|
| /linux-6.15/net/ipv4/ |
| H A D | arp.c | 123 static bool arp_key_eq(const struct neighbour *n, const void *pkey); 124 static int arp_constructor(struct neighbour *neigh); 125 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb); 223 static int arp_constructor(struct neighbour *neigh) in arp_constructor() 333 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) in arp_solicit() 713 struct neighbour *n; in arp_process() 1098 struct neighbour *neigh; in arp_req_set() 1152 static unsigned int arp_state_to_flags(struct neighbour *neigh) in arp_state_to_flags() 1169 struct neighbour *neigh; in arp_req_get() 1204 struct neighbour *neigh = neigh_lookup(&arp_tbl, &ip, dev); in arp_invalidate() [all …]
|
| /linux-6.15/net/6lowpan/ |
| H A D | ndisc.c | 51 static void lowpan_ndisc_802154_update(struct neighbour *n, u32 flags, in lowpan_ndisc_802154_update() 98 struct neighbour *n, u32 flags, u8 icmp6_type, in lowpan_ndisc_update() 110 u8 icmp6_type, struct neighbour *neigh, in lowpan_ndisc_opt_addr_space()
|
| /linux-6.15/net/atm/ |
| H A D | clip.c | 121 static int neigh_check_cb(struct neighbour *n) in neigh_check_cb() 266 static void clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_solicit() 274 static void clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_error() 290 static int clip_constructor(struct net_device *dev, struct neighbour *neigh) in clip_constructor() 334 struct neighbour *n; in clip_start_xmit() 446 struct neighbour *neigh; in clip_setentry() 736 static void atmarp_info(struct seq_file *seq, struct neighbour *n, in atmarp_info() 826 struct neighbour *n, loff_t * pos) in clip_seq_sub_iter() 853 struct neighbour *n = v; in clip_seq_show()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| H A D | neigh.c | 115 struct neighbour *n; 131 struct neighbour *n = update_work->n; in mlx5e_rep_neigh_update() 170 struct neighbour *n) in mlx5e_alloc_neigh_update_work() 213 struct neighbour *n; in mlx5e_rep_netevent_event()
|
| /linux-6.15/drivers/net/ethernet/rocker/ |
| H A D | rocker.h | 127 struct neighbour *n); 129 struct neighbour *n);
|