Home
last modified time | relevance | path

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

12345678910>>...22

/linux/include/net/
A Dneighbour.h41 struct neighbour;
74 int (*neigh_setup)(struct neighbour *);
134 struct neighbour { struct
135 struct neighbour __rcu *next; argument
188 struct neighbour __rcu **hash_buckets;
303 struct neighbour *n; in ___neigh_lookup_noref()
381 void neigh_app_ns(struct neighbour *n);
395 struct neighbour *n, loff_t *pos);
440 static inline struct neighbour * neigh_clone(struct neighbour *neigh) in neigh_clone()
530 static inline struct neighbour *
[all …]
A 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()
387 struct neighbour *__ipv6_neigh_lookup_noref_stub(struct net_device *dev, in __ipv6_neigh_lookup_noref_stub()
396 struct neighbour *n; in __ipv6_neigh_lookup()
410 struct neighbour *n; in __ipv6_confirm_neigh()
427 struct neighbour *n; in __ipv6_confirm_neigh_stub()
442 static inline struct neighbour *ip_neigh_gw6(struct net_device *dev, in ip_neigh_gw6()
[all …]
A 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()
A Dnetevent.h16 struct neighbour;
21 struct neighbour *neigh;
A Ddst.h399 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()
561 struct neighbour *dst_blackhole_neigh_lookup(const struct dst_entry *dst,
A Ddn_dev.h96 struct neighbour *router; /* Default router on circuit */
97 struct neighbour *peer; /* Peer on pointopoint links */
/linux/net/x25/
A 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 …]
A 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()
A 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()
A Daf_x25.c779 if (!x25->neighbour) in x25_connect()
784 x25->lci = x25_new_lci(x25->neighbour); in x25_connect()
820 if (rc && x25->neighbour) { in x25_connect()
822 x25_neigh_put(x25->neighbour); in x25_connect()
823 x25->neighbour = NULL; in x25_connect()
1046 makex25->neighbour = nb; in x25_rx_call_request()
1123 if (!x25->neighbour) in x25_sendmsg()
1206 if (x25->neighbour->extended) { in x25_sendmsg()
1218 if (x25->neighbour->extended) { in x25_sendmsg()
1280 if (x25->neighbour == NULL) in x25_recvmsg()
[all …]
/linux/net/decnet/
A Ddn_neigh.c52 static int dn_neigh_construct(struct neighbour *);
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()
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()
342 struct neighbour *neigh = rt->n; in dn_to_neigh_output()
386 struct neighbour *neigh; in dn_neigh_router_hello()
447 struct neighbour *neigh; in dn_neigh_endnode_hello()
506 static void neigh_elist_cb(struct neighbour *neigh, void *_info) in neigh_elist_cb()
[all …]
/linux/net/netrom/
A Dnr_route.c201 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()
335 nr_neigh = nr_neigh_get_dev(neighbour, dev); in nr_del_node()
471 nr_neigh = s->routes[i].neighbour; in nr_dec_obs()
526 if (t->routes[i].neighbour == s) { in nr_rt_device_down()
658 &nr_route.neighbour, in nr_rt_ioctl()
684 &nr_route.neighbour, dev); in nr_rt_ioctl()
[all …]
/linux/net/core/
A Dneighbour.c208 static bool neigh_del(struct neighbour *n, struct neighbour __rcu **np, in neigh_del()
215 struct neighbour *neigh; in neigh_del()
234 struct neighbour *n; in neigh_remove_one()
330 struct neighbour *n; in neigh_flush_dev()
560 struct neighbour *n; in neigh_lookup()
580 struct neighbour *n; in neigh_lookup_nodev()
608 static struct neighbour *
919 struct neighbour *n; in neigh_periodic_work()
2648 struct neighbour *n; in neigh_dump_table()
3034 struct neighbour *n; in neigh_for_each()
[all …]
/linux/net/rose/
A Drose_route.c344 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()
691 res = node->neighbour[i]; in rose_get_neigh()
702 res = node->neighbour[i]; in rose_get_neigh()
927 rose->neighbour->use--; in rose_route_frame()
[all …]
A 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()
A Daf_rose.c171 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()
193 if (rose->neighbour) in rose_kill_by_device()
194 rose->neighbour->use--; in rose_kill_by_device()
621 rose->neighbour->use--; in rose_release()
769 if (!rose->neighbour) { in rose_connect()
822 rose->neighbour->use++; in rose_connect()
1018 make_rose->neighbour = neigh; in rose_rx_call_request()
1022 make_rose->neighbour->use++; in rose_rx_call_request()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
A 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);
/linux/include/trace/events/
A 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),
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dl2t.h46 struct neighbour;
64 struct neighbour *neigh; /* associated neighbour */
111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
/linux/net/ipv4/
A 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);
222 static int arp_constructor(struct neighbour *neigh) in arp_constructor()
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()
1083 static unsigned int arp_state_to_flags(struct neighbour *neigh) in arp_state_to_flags()
1100 struct neighbour *neigh; in arp_req_get()
1121 struct neighbour *neigh = neigh_lookup(&arp_tbl, &ip, dev); in arp_invalidate()
[all …]
/linux/net/6lowpan/
A 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()
/linux/net/atm/
A 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
A Dneigh.c115 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/net/ipv6/
A Dndisc.c75 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey);
78 static int ndisc_constructor(struct neighbour *neigh);
79 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb);
320 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq()
325 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor()
718 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) in ndisc_solicit()
782 struct neighbour *neigh; in ndisc_recv_ns()
966 struct neighbour *neigh; in ndisc_recv_na()
1072 struct neighbour *neigh; in ndisc_recv_rs()
1173 struct neighbour *neigh = NULL; in ndisc_router_discovery()
[all …]
/linux/drivers/net/ethernet/rocker/
A Drocker.h127 struct neighbour *n);
129 struct neighbour *n);

Completed in 83 milliseconds

12345678910>>...22