Home
last modified time | relevance | path

Searched refs:neighbour (Results 1 – 25 of 112) sorted by relevance

12345

/kernel/linux/linux-5.10/include/net/
Dneighbour.h41 struct neighbour;
74 int (*neigh_setup)(struct neighbour *);
134 struct neighbour { struct
135 struct neighbour __rcu *next; argument
155 int (*output)(struct neighbour *, struct sk_buff *); argument
165 void (*solicit)(struct neighbour *, struct sk_buff *); argument
166 void (*error_report)(struct neighbour *, struct sk_buff *);
167 int (*output)(struct neighbour *, struct sk_buff *);
168 int (*connected_output)(struct neighbour *, struct sk_buff *);
187 struct neighbour __rcu **hash_buckets;
[all …]
Dndisc.h207 void (*update)(const struct net_device *dev, struct neighbour *n,
211 struct neighbour *neigh, u8 *ha_buf,
247 struct neighbour *n, u32 flags, in ndisc_ops_update()
267 struct neighbour *neigh, in ndisc_ops_redirect_opt_addr_space()
343 struct neighbour *neigh, in ndisc_redirect_opt_addr_space()
381 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup_noref()
387 struct neighbour *__ipv6_neigh_lookup_noref_stub(struct net_device *dev, in __ipv6_neigh_lookup_noref_stub()
394 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup()
396 struct neighbour *n; in __ipv6_neigh_lookup()
410 struct neighbour *n; in __ipv6_confirm_neigh()
[all …]
Darp.h22 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()
Dnetevent.h16 struct neighbour;
21 struct neighbour *neigh;
Ddst.h393 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) in dst_neigh_lookup()
395 struct neighbour *n = dst->ops->neigh_lookup(dst, NULL, daddr); in dst_neigh_lookup()
399 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst, in dst_neigh_lookup_skb()
402 struct neighbour *n = NULL; in dst_neigh_lookup_skb()
543 struct neighbour *dst_blackhole_neigh_lookup(const struct dst_entry *dst,
/kernel/linux/linux-5.10/net/x25/
Dx25_subr.c55 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 …]
Dx25_out.c54 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()
Dx25_proc.c94 if (!x25->neighbour || (dev = x25->neighbour->dev) == NULL) in x25_seq_socket_show()
97 devname = x25->neighbour->dev->name; in x25_seq_socket_show()
Daf_x25.c212 if (x25_sk(s)->neighbour && x25_sk(s)->neighbour->dev == dev) in x25_kill_by_device()
323 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket()
788 x25->neighbour = x25_get_neigh(rt->dev); in x25_connect()
789 if (!x25->neighbour) in x25_connect()
792 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect()
794 x25->lci = x25_new_lci(x25->neighbour); in x25_connect()
830 if (rc && x25->neighbour) { in x25_connect()
832 x25_neigh_put(x25->neighbour); in x25_connect()
833 x25->neighbour = NULL; in x25_connect()
1056 makex25->neighbour = nb; in x25_rx_call_request()
[all …]
/kernel/linux/linux-5.10/net/decnet/
Ddn_neigh.c52 static int dn_neigh_construct(struct neighbour *);
53 static void dn_neigh_error_report(struct neighbour *, struct sk_buff *);
54 static int dn_neigh_output(struct neighbour *neigh, struct sk_buff *skb);
73 static bool dn_key_eq(const struct neighbour *neigh, const void *pkey) in dn_key_eq()
111 static int dn_neigh_construct(struct neighbour *neigh) in dn_neigh_construct()
167 static void dn_neigh_error_report(struct neighbour *neigh, struct sk_buff *skb) in dn_neigh_error_report()
173 static int dn_neigh_output(struct neighbour *neigh, struct sk_buff *skb) in dn_neigh_output()
202 struct neighbour *neigh = rt->n; in dn_neigh_output_packet()
210 static int dn_long_output(struct neighbour *neigh, struct sock *sk, in dn_long_output()
258 static int dn_short_output(struct neighbour *neigh, struct sock *sk, in dn_short_output()
[all …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/
Dnndisc.h28 static inline bool neigh_key_eq800(const struct neighbour *n, const void *pkey) in neigh_key_eq800()
46 static inline struct neighbour *__nip_neigh_lookup_noref(struct net_device *dev, in __nip_neigh_lookup_noref()
53 static inline struct neighbour *__nip_neigh_lookup(struct net_device *dev, in __nip_neigh_lookup()
56 struct neighbour *n; in __nip_neigh_lookup()
/kernel/linux/linux-5.10/net/netrom/
Dnr_route.c128 if (nr_nodet->routes[i].neighbour == nr_neigh) in nr_add_node()
201 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
220 if (nr_node->routes[i].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()
246 nr_neigh_put(nr_node->routes[2].neighbour); in nr_add_node()
248 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node()
249 nr_remove_neigh(nr_node->routes[2].neighbour); in nr_add_node()
253 nr_node->routes[2].neighbour = nr_neigh; in nr_add_node()
274 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.h60 struct neighbour;
78 struct neighbour *neigh; /* associated neighbour */
113 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh,
120 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh);
/kernel/linux/linux-5.10/net/rose/
Drose_route.c77 if (ax25cmp(&rose_route->neighbour, in rose_add_node()
91 rose_neigh->callsign = rose_route->neighbour; in rose_add_node()
161 rose_node->neighbour[0] = rose_neigh; in rose_add_node()
187 rose_node->neighbour[rose_node->count] = rose_neigh; in rose_add_node()
318 if (ax25cmp(&rose_route->neighbour, in rose_del_node()
331 if (rose_node->neighbour[i] == rose_neigh) { in rose_del_node()
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()
[all …]
Drose_in.c58 rose->neighbour->use--; in rose_state1_machine()
81 rose->neighbour->use--; in rose_state2_machine()
86 rose->neighbour->use--; in rose_state2_machine()
122 rose->neighbour->use--; in rose_state3_machine()
235 rose->neighbour->use--; in rose_state4_machine()
255 rose_sk(sk)->neighbour->use--; in rose_state5_machine()
Daf_rose.c170 if (rose->neighbour == neigh) { in rose_kill_by_neigh()
172 rose->neighbour->use--; in rose_kill_by_neigh()
173 rose->neighbour = NULL; in rose_kill_by_neigh()
192 if (rose->neighbour) in rose_kill_by_device()
193 rose->neighbour->use--; in rose_kill_by_device()
282 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
623 rose->neighbour->use--; in rose_release()
769 rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, in rose_connect()
771 if (!rose->neighbour) { in rose_connect()
776 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
[all …]
/kernel/linux/linux-5.10/net/core/
Dneighbour.c55 static void __neigh_notify(struct neighbour *n, int type, int flags,
57 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid);
93 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole()
99 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release()
119 static void neigh_mark_dead(struct neighbour *n) in neigh_mark_dead()
128 static void neigh_update_gc_list(struct neighbour *n) in neigh_update_gc_list()
159 static bool neigh_update_ext_learned(struct neighbour *neigh, u32 flags, in neigh_update_ext_learned()
181 static bool neigh_del(struct neighbour *n, struct neighbour __rcu **np, in neigh_del()
188 struct neighbour *neigh; in neigh_del()
202 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl) in neigh_remove_one()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dneigh.h26 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),
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnndisc.c78 static void nndisc_solicit(struct neighbour *neigh, struct sk_buff *skb);
82 static bool nndisc_key_eq(const struct neighbour *neigh, const void *pkey);
83 static int nndisc_constructor(struct neighbour *neigh);
85 static void nndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) in nndisc_error_report()
90 static void nndisc_generic_error_report(struct neighbour *neigh, struct sk_buff *skb) in nndisc_generic_error_report()
176 static bool nndisc_key_eq(const struct neighbour *neigh, const void *pkey) in nndisc_key_eq()
181 static int nndisc_constructor(struct neighbour *neigh) in nndisc_constructor()
406 static void nndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) in nndisc_solicit()
518 struct neighbour *neigh; in nndisc_rcv_ns()
581 struct neighbour *neigh; in nndisc_rcv_na()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h46 struct neighbour;
64 struct neighbour *neigh; /* associated neighbour */
111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
/kernel/linux/linux-5.10/net/ipv4/
Darp.c123 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);
126 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb);
217 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq()
222 static int arp_constructor(struct neighbour *neigh) in arp_constructor()
293 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) in arp_error_report()
332 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) in arp_solicit()
689 struct neighbour *n; in arp_process()
1028 struct neighbour *neigh; in arp_req_set()
[all …]
/kernel/linux/linux-5.10/net/6lowpan/
Dndisc.c56 static void lowpan_ndisc_802154_update(struct neighbour *n, u32 flags, in lowpan_ndisc_802154_update()
103 struct neighbour *n, u32 flags, u8 icmp6_type, in lowpan_ndisc_update()
115 u8 icmp6_type, struct neighbour *neigh, in lowpan_ndisc_opt_addr_space()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c85 struct neighbour **out_n, in mlx5e_route_lookup_ipv4_get()
88 struct neighbour *n; in mlx5e_route_lookup_ipv4_get()
136 struct neighbour *n) in mlx5e_route_lookup_ipv4_put()
193 struct neighbour *n; in mlx5e_tc_tun_create_header_ipv4()
309 struct neighbour **out_n, in mlx5e_route_lookup_ipv6_get()
313 struct neighbour *n; in mlx5e_route_lookup_ipv6_get()
344 struct neighbour *n) in mlx5e_route_lookup_ipv6_put()
359 struct neighbour *n = NULL; in mlx5e_tc_tun_create_header_ipv6()
/kernel/linux/linux-5.10/net/atm/
Dclip.c121 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dneigh.c115 struct neighbour *n;
131 struct neighbour *n = update_work->n; in mlx5e_rep_neigh_update()
168 struct neighbour *n) in mlx5e_alloc_neigh_update_work()
212 struct neighbour *n; in mlx5e_rep_netevent_event()

12345