Home
last modified time | relevance | path

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

1234

/Linux-v4.19/include/net/
Dneighbour.h41 struct neighbour;
74 int (*neigh_setup)(struct neighbour *);
75 void (*neigh_cleanup)(struct neighbour *);
135 struct neighbour { struct
136 struct neighbour __rcu *next; argument
155 int (*output)(struct neighbour *, struct sk_buff *); argument
164 void (*solicit)(struct neighbour *, struct sk_buff *); argument
165 void (*error_report)(struct neighbour *, struct sk_buff *);
166 int (*output)(struct neighbour *, struct sk_buff *);
167 int (*connected_output)(struct neighbour *, struct sk_buff *);
[all …]
Dndisc.h203 void (*update)(const struct net_device *dev, struct neighbour *n,
207 struct neighbour *neigh, u8 *ha_buf,
243 struct neighbour *n, u32 flags, in ndisc_ops_update()
263 struct neighbour *neigh, in ndisc_ops_redirect_opt_addr_space()
339 struct neighbour *neigh, in ndisc_redirect_opt_addr_space()
377 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup_noref()
382 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup()
384 struct neighbour *n; in __ipv6_neigh_lookup()
398 struct neighbour *n; in __ipv6_confirm_neigh()
435 void ndisc_update(const struct net_device *dev, struct neighbour *neigh,
Darp.h21 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
29 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
31 struct neighbour *n; in __ipv4_neigh_lookup()
44 struct neighbour *n; in __ipv4_confirm_neigh()
Dnetevent.h16 struct neighbour;
21 struct neighbour *neigh;
Ddn_dev.h96 struct neighbour *router; /* Default router on circuit */
97 struct neighbour *peer; /* Peer on pointopoint links */
Ddst.h403 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) in dst_neigh_lookup()
405 struct neighbour *n = dst->ops->neigh_lookup(dst, NULL, daddr); in dst_neigh_lookup()
409 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst, in dst_neigh_lookup_skb()
412 struct neighbour *n = dst->ops->neigh_lookup(dst, skb, NULL); in dst_neigh_lookup_skb()
/Linux-v4.19/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 …]
/Linux-v4.19/net/netrom/
Dnr_route.c131 if (nr_nodet->routes[i].neighbour == nr_neigh) in nr_add_node()
204 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
222 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
238 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
247 nr_node->routes[2].neighbour->count--; in nr_add_node()
248 nr_neigh_put(nr_node->routes[2].neighbour); in nr_add_node()
250 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node()
251 nr_remove_neigh(nr_node->routes[2].neighbour); in nr_add_node()
255 nr_node->routes[2].neighbour = nr_neigh; in nr_add_node()
276 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
[all …]
/Linux-v4.19/net/x25/
Dx25_out.c59 int header_len = x25->neighbour->extended ? X25_EXT_MIN_LEN : in x25_output()
99 if (x25->neighbour->extended) in x25_output()
128 if (x25->neighbour->extended) { in x25_send_iframe()
138 x25_transmit_link(skb, x25->neighbour); in x25_send_iframe()
158 x25_transmit_link(skb, x25->neighbour); in x25_kick()
167 modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_kick()
Dx25_subr.c60 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked()
99 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_validate_nr()
173 if (x25->neighbour->extended) { in x25_write_internal()
195 x25->neighbour->global_facil_mask); in x25_write_internal()
240 if (x25->neighbour->extended) { in x25_write_internal()
259 x25_transmit_link(skb, x25->neighbour); in x25_write_internal()
294 if (x25->neighbour->extended) { in x25_decode()
314 if (x25->neighbour->extended) { in x25_decode()
Dx25_proc.c99 if (!x25->neighbour || (dev = x25->neighbour->dev) == NULL) in x25_seq_socket_show()
102 devname = x25->neighbour->dev->name; in x25_seq_socket_show()
Daf_x25.c217 if (x25_sk(s)->neighbour && x25_sk(s)->neighbour->dev == dev) in x25_kill_by_device()
328 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket()
776 x25->neighbour = x25_get_neigh(rt->dev); in x25_connect()
777 if (!x25->neighbour) in x25_connect()
780 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect()
782 x25->lci = x25_new_lci(x25->neighbour); in x25_connect()
819 x25_neigh_put(x25->neighbour); in x25_connect()
1038 makex25->neighbour = nb; in x25_rx_call_request()
1113 if (!x25->neighbour) in x25_sendmsg()
1196 if (x25->neighbour->extended) { in x25_sendmsg()
[all …]
/Linux-v4.19/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()
122 static bool neigh_del(struct neighbour *n, __u8 state, __u8 flags, in neigh_del()
123 struct neighbour __rcu **np, struct neigh_table *tbl) in neigh_del()
130 struct neighbour *neigh; in neigh_del()
144 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl) in neigh_remove_one()
149 struct neighbour *n; in neigh_remove_one()
150 struct neighbour __rcu **np; in neigh_remove_one()
[all …]
/Linux-v4.19/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);
/Linux-v4.19/net/rose/
Drose_route.c80 if (ax25cmp(&rose_route->neighbour, in rose_add_node()
94 rose_neigh->callsign = rose_route->neighbour; in rose_add_node()
164 rose_node->neighbour[0] = rose_neigh; in rose_add_node()
190 rose_node->neighbour[rose_node->count] = rose_neigh; in rose_add_node()
321 if (ax25cmp(&rose_route->neighbour, in rose_del_node()
334 if (rose_node->neighbour[i] == rose_neigh) { in rose_del_node()
347 rose_node->neighbour[0] = in rose_del_node()
348 rose_node->neighbour[1]; in rose_del_node()
351 rose_node->neighbour[1] = in rose_del_node()
352 rose_node->neighbour[2]; in rose_del_node()
[all …]
Drose_in.c61 rose->neighbour->use--; in rose_state1_machine()
84 rose->neighbour->use--; in rose_state2_machine()
89 rose->neighbour->use--; in rose_state2_machine()
125 rose->neighbour->use--; in rose_state3_machine()
238 rose->neighbour->use--; in rose_state4_machine()
258 rose_sk(sk)->neighbour->use--; in rose_state5_machine()
Daf_rose.c173 if (rose->neighbour == neigh) { in rose_kill_by_neigh()
175 rose->neighbour->use--; in rose_kill_by_neigh()
176 rose->neighbour = NULL; in rose_kill_by_neigh()
195 if (rose->neighbour) in rose_kill_by_device()
196 rose->neighbour->use--; in rose_kill_by_device()
284 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
623 rose->neighbour->use--; in rose_release()
767 rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, in rose_connect()
769 if (!rose->neighbour) { in rose_connect()
774 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
[all …]
/Linux-v4.19/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);
Dl2t.c74 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-v4.19/net/ipv4/
Darp.c127 static bool arp_key_eq(const struct neighbour *n, const void *pkey);
128 static int arp_constructor(struct neighbour *neigh);
129 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb);
130 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()
691 struct neighbour *n; in arp_process()
1026 struct neighbour *neigh; in arp_req_set()
[all …]
/Linux-v4.19/net/6lowpan/
Dndisc.c62 static void lowpan_ndisc_802154_update(struct neighbour *n, u32 flags, in lowpan_ndisc_802154_update()
109 struct neighbour *n, u32 flags, u8 icmp6_type, in lowpan_ndisc_update()
121 u8 icmp6_type, struct neighbour *neigh, in lowpan_ndisc_opt_addr_space()
/Linux-v4.19/net/atm/
Dclip.c120 static int neigh_check_cb(struct neighbour *n) in neigh_check_cb()
265 static void clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_solicit()
273 static void clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_error()
289 static int clip_constructor(struct net_device *dev, struct neighbour *neigh) in clip_constructor()
333 struct neighbour *n; in clip_start_xmit()
445 struct neighbour *neigh; in clip_setentry()
735 static void atmarp_info(struct seq_file *seq, struct neighbour *n, in atmarp_info()
825 struct neighbour *n, loff_t * pos) in clip_seq_sub_iter()
852 struct neighbour *n = v; in clip_seq_show()
/Linux-v4.19/drivers/net/ethernet/rocker/
Drocker.h134 struct neighbour *n);
136 struct neighbour *n);
/Linux-v4.19/include/uapi/linux/
Dnetrom.h31 ax25_address neighbour; member
/Linux-v4.19/net/ipv6/
Dndisc.c79 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey);
80 static int ndisc_constructor(struct neighbour *neigh);
81 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb);
82 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb);
317 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq()
322 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor()
689 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) in ndisc_error_report()
701 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) in ndisc_solicit()
744 void ndisc_update(const struct net_device *dev, struct neighbour *neigh, in ndisc_update()
765 struct neighbour *neigh; in ndisc_recv_ns()
[all …]

1234