Home
last modified time | relevance | path

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

12345

/linux/include/net/
H A Dneighbour.h42 struct neighbour;
77 int (*neigh_setup)(struct neighbour *);
140 struct neighbour { struct
162 int (*output)(struct neighbour *, struct sk_buff *); argument
174 void (*solicit)(struct neighbour *, struct sk_buff *); argument
175 void (*error_report)(struct neighbour *, struct sk_buff *);
176 int (*output)(struct neighbour *, struct sk_buff *);
177 int (*connected_output)(struct neighbour *, struct sk_buff *);
217 bool (*key_eq)(const struct neighbour *, const void *pkey);
218 int (*constructor)(struct neighbour *);
[all …]
H A Dndisc.h192 void (*update)(const struct net_device *dev, struct neighbour *n,
196 struct neighbour *neigh, u8 *ha_buf,
223 struct neighbour *n, u32 flags, in ndisc_ops_update()
243 struct neighbour *neigh, in ndisc_ops_redirect_opt_addr_space()
319 struct neighbour *neigh, in ndisc_redirect_opt_addr_space()
357 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup_noref()
363 struct neighbour *__ipv6_neigh_lookup_noref_stub(struct net_device *dev, in __ipv6_neigh_lookup_noref_stub()
370 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup()
372 struct neighbour *n; in __ipv6_neigh_lookup()
386 struct neighbour *n; in __ipv6_confirm_neigh()
[all …]
H 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()
H A Dnetevent.h16 struct neighbour;
22 struct neighbour *neigh;
H A Ddst.h408 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) in dst_neigh_lookup()
410 struct neighbour *n = dst->ops->neigh_lookup(dst, NULL, daddr); in dst_neigh_lookup()
414 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst, in dst_neigh_lookup_skb()
417 struct neighbour *n; in dst_neigh_lookup_skb()
616 struct neighbour *dst_blackhole_neigh_lookup(const struct dst_entry *dst,
H A Droute.h400 static inline struct neighbour *ip_neigh_gw4(struct net_device *dev, in ip_neigh_gw4()
403 struct neighbour *neigh; in ip_neigh_gw4()
412 static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt, in ip_neigh_for_gw()
417 struct neighbour *neigh; in ip_neigh_for_gw()
/linux/net/x25/
H A Dx25_subr.c56 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked()
95 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_validate_nr()
169 if (x25->neighbour->extended) { in x25_write_internal()
191 x25->neighbour->global_facil_mask); in x25_write_internal()
236 if (x25->neighbour->extended) { in x25_write_internal()
255 x25_transmit_link(skb, x25->neighbour); in x25_write_internal()
290 if (x25->neighbour->extended) { in x25_decode()
310 if (x25->neighbour->extended) { in x25_decode()
361 if (x25->neighbour) { in x25_disconnect()
363 x25_neigh_put(x25->neighbour); in x25_disconnect()
[all …]
H 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()
H A Dx25_proc.c93 if (!x25->neighbour || !x25->neighbour->dev) in x25_seq_socket_show()
96 devname = x25->neighbour->dev->name; in x25_seq_socket_show()
H A Daf_x25.c313 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket()
789 x25->neighbour = x25_get_neigh(rt->dev); in x25_connect()
790 if (!x25->neighbour) in x25_connect()
793 x25_limit_facilities(&x25->facilities, 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()
[all …]
/linux/net/netrom/
H A 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()
275 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
[all …]
/linux/net/rose/
H A 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()
188 rose_node->neighbour[rose_node->count] = rose_neigh; in rose_add_node()
312 if (ax25cmp(&rose_route->neighbour, in rose_del_node()
325 if (rose_node->neighbour[i] == rose_neigh) { in rose_del_node()
341 rose_node->neighbour[0] = in rose_del_node()
342 rose_node->neighbour[1]; in rose_del_node()
345 rose_node->neighbour[1] = in rose_del_node()
346 rose_node->neighbour[2]; in rose_del_node()
[all …]
H A Drose_in.c59 rose_neigh_put(rose->neighbour); in rose_state1_machine()
82 rose_neigh_put(rose->neighbour); in rose_state2_machine()
87 rose_neigh_put(rose->neighbour); in rose_state2_machine()
124 rose_neigh_put(rose->neighbour); in rose_state3_machine()
237 rose_neigh_put(rose->neighbour); in rose_state4_machine()
257 rose_neigh_put(rose_sk(sk)->neighbour); in rose_state5_machine()
H A Daf_rose.c171 if (rose->neighbour == neigh) { in rose_kill_by_neigh()
173 rose_neigh_put(rose->neighbour); 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_neigh_put(rose->neighbour); in rose_kill_by_device()
309 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
658 rose_neigh_put(rose->neighbour); in rose_release()
822 rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, in rose_connect()
824 if (!rose->neighbour) { in rose_connect()
829 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
[all …]
/linux/include/trace/events/
H 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/cxgb4/
H 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,
118 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh);
/linux/net/core/
H A Dneighbour.c54 static void neigh_notify(struct neighbour *n, int type, int flags, u32 pid);
55 static void __neigh_notify(struct neighbour *n, int type, int flags, u32 pid);
110 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole()
116 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release()
136 static void neigh_mark_dead(struct neighbour *n) in neigh_mark_dead()
147 static void neigh_update_gc_list(struct neighbour *n) in neigh_update_gc_list()
177 static void neigh_update_managed_list(struct neighbour *n) in neigh_update_managed_list()
198 static void neigh_update_flags(struct neighbour *neigh, u32 flags, int *notify, in neigh_update_flags()
236 bool neigh_remove_one(struct neighbour *n) in neigh_remove_one()
259 struct neighbour *n, *tmp; in neigh_forced_gc()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.h46 struct neighbour;
64 struct neighbour *neigh; /* associated neighbour */
111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
H A Dl2t.c74 static inline void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace()
246 static inline void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry()
269 struct neighbour *neigh; in t3_l2t_get()
362 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh) in t3_l2t_update()
/linux/net/ipv4/
H A Darp.c124 static bool arp_key_eq(const struct neighbour *n, const void *pkey);
125 static int arp_constructor(struct neighbour *neigh);
126 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb);
127 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb);
219 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq()
224 static int arp_constructor(struct neighbour *neigh) in arp_constructor()
295 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) in arp_error_report()
334 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) in arp_solicit()
715 struct neighbour *n; in arp_process()
1102 struct neighbour *neigh; in arp_req_set()
[all …]
/linux/net/6lowpan/
H A Dndisc.c50 static void lowpan_ndisc_802154_update(struct neighbour *n, u32 flags, in lowpan_ndisc_802154_update()
95 struct neighbour *n, u32 flags, u8 icmp6_type, in lowpan_ndisc_update()
107 u8 icmp6_type, struct neighbour *neigh, in lowpan_ndisc_opt_addr_space()
/linux/net/atm/
H A Dclip.c133 static int neigh_check_cb(struct neighbour *n) in neigh_check_cb()
277 static void clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_solicit()
285 static void clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_error()
301 static int clip_constructor(struct net_device *dev, struct neighbour *neigh) in clip_constructor()
345 struct neighbour *n; in clip_start_xmit()
459 struct neighbour *neigh; in clip_setentry()
767 static void atmarp_info(struct seq_file *seq, struct neighbour *n, in atmarp_info()
857 struct neighbour *n, loff_t * pos) in clip_seq_sub_iter()
884 struct neighbour *n = v; in clip_seq_show()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H 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/drivers/net/ethernet/rocker/
H A Drocker.h127 struct neighbour *n);
129 struct neighbour *n);
/linux/net/ipv6/
H 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);
80 static void ndisc_error_report(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()
726 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) in ndisc_error_report()
738 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) in ndisc_solicit()
778 void ndisc_update(const struct net_device *dev, struct neighbour *neigh, in ndisc_update()
799 struct neighbour *neigh; in ndisc_recv_ns()
[all …]

12345