Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Dneighbour.h39 struct neighbour;
72 int (*neigh_setup)(struct neighbour *);
73 void (*neigh_cleanup)(struct neighbour *);
133 struct neighbour { struct
134 struct neighbour __rcu *next; argument
153 int (*output)(struct neighbour *, struct sk_buff *); argument
162 void (*solicit)(struct neighbour *, struct sk_buff *); argument
163 void (*error_report)(struct neighbour *, struct sk_buff *);
164 int (*output)(struct neighbour *, struct sk_buff *);
165 int (*connected_output)(struct neighbour *, struct sk_buff *);
[all …]
Darp.h20 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
25 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
27 struct neighbour *n; in __ipv4_neigh_lookup()
Dnetevent.h15 struct neighbour;
20 struct neighbour *neigh;
Dndisc.h157 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup_noref()
162 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup()
164 struct neighbour *n; in __ipv6_neigh_lookup()
Ddst.h437 static inline int dst_neigh_output(struct dst_entry *dst, struct neighbour *n, in dst_neigh_output()
458 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) in dst_neigh_lookup()
460 struct neighbour *n = dst->ops->neigh_lookup(dst, NULL, daddr); in dst_neigh_lookup()
464 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst, in dst_neigh_lookup_skb()
467 struct neighbour *n = dst->ops->neigh_lookup(dst, skb, NULL); in dst_neigh_lookup_skb()
Ddn_dev.h95 struct neighbour *router; /* Default router on circuit */
96 struct neighbour *peer; /* Peer on pointopoint links */
Drose.h113 struct rose_neigh *neighbour[3]; member
132 struct rose_neigh *neighbour; member
Datmclip.h41 struct neighbour *neigh; /* neighbour back-pointer */
Ddn_neigh.h9 struct neighbour n;
Ddst_ops.h33 struct neighbour * (*neigh_lookup)(const struct dst_entry *dst,
Ddn_route.h73 struct neighbour *n;
Dnetrom.h102 struct nr_neigh *neighbour; member
Dx25.h150 struct x25_neigh *neighbour; member
/linux-4.4.14/net/decnet/
Ddn_neigh.c51 static int dn_neigh_construct(struct neighbour *);
52 static void dn_neigh_error_report(struct neighbour *, struct sk_buff *);
53 static int dn_neigh_output(struct neighbour *neigh, struct sk_buff *skb);
72 static bool dn_key_eq(const struct neighbour *neigh, const void *pkey) in dn_key_eq()
110 static int dn_neigh_construct(struct neighbour *neigh) in dn_neigh_construct()
166 static void dn_neigh_error_report(struct neighbour *neigh, struct sk_buff *skb) in dn_neigh_error_report()
172 static int dn_neigh_output(struct neighbour *neigh, struct sk_buff *skb) in dn_neigh_output()
201 struct neighbour *neigh = rt->n; in dn_neigh_output_packet()
209 static int dn_long_output(struct neighbour *neigh, struct sock *sk, in dn_long_output()
257 static int dn_short_output(struct neighbour *neigh, struct sock *sk, in dn_short_output()
[all …]
DTODO4 o Proper timeouts on each neighbour (in routing mode) rather than
Ddn_route.c124 static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst,
167 struct neighbour *n = rt->n; in dn_dst_ifdown()
274 struct neighbour *n = rt->n; in dn_dst_update_pmtu()
869 static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst, in dn_dst_neigh_lookup()
881 struct neighbour *n; in dn_rt_set_next_hop()
973 struct neighbour *neigh = NULL; in dn_route_output_slow()
1319 struct neighbour *neigh = NULL; in dn_route_input_slow()
/linux-4.4.14/net/netrom/
Dnr_route.c119 if (nr_nodet->routes[i].neighbour == nr_neigh) in nr_add_node()
192 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
210 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
226 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
235 nr_node->routes[2].neighbour->count--; in nr_add_node()
236 nr_neigh_put(nr_node->routes[2].neighbour); in nr_add_node()
238 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node()
239 nr_remove_neigh(nr_node->routes[2].neighbour); in nr_add_node()
243 nr_node->routes[2].neighbour = nr_neigh; in nr_add_node()
302 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
[all …]
/linux-4.4.14/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()
196 x25->neighbour->global_facil_mask); in x25_write_internal()
245 if (x25->neighbour->extended) { in x25_write_internal()
264 x25_transmit_link(skb, x25->neighbour); in x25_write_internal()
299 if (x25->neighbour->extended) { in x25_decode()
319 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()
775 x25->neighbour = x25_get_neigh(rt->dev); in x25_connect()
776 if (!x25->neighbour) in x25_connect()
779 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect()
781 x25->lci = x25_new_lci(x25->neighbour); in x25_connect()
818 x25_neigh_put(x25->neighbour); in x25_connect()
1036 makex25->neighbour = nb; in x25_rx_call_request()
1111 if (!x25->neighbour) in x25_sendmsg()
1194 if (x25->neighbour->extended) { in x25_sendmsg()
[all …]
Dx25_in.c68 skb_pull(skbo, (x25->neighbour->extended) ? in x25_queue_rx_frame()
210 modulus = (x25->neighbour->extended) ? X25_EMODULUS : X25_SMODULUS; in x25_state3_machine()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.h58 struct neighbour;
76 struct neighbour *neigh; /* associated neighbour */
112 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh,
117 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh);
Dl2t.c128 static void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace()
346 static void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry()
364 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, in cxgb4_l2t_get()
479 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh) in t4_l2t_update()
Dcxgb4_main.c2202 static void check_neigh_update(struct neighbour *neigh) in check_neigh_update()
/linux-4.4.14/net/core/
Dneighbour.c55 static void __neigh_notify(struct neighbour *n, int type, int flags);
56 static void neigh_update_notify(struct neighbour *neigh);
91 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole()
97 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release()
131 struct neighbour *n; in neigh_forced_gc()
132 struct neighbour __rcu **np; in neigh_forced_gc()
165 static void neigh_add_timer(struct neighbour *n, unsigned long when) in neigh_add_timer()
175 static int neigh_del_timer(struct neighbour *n) in neigh_del_timer()
204 struct neighbour *n; in neigh_flush_dev()
205 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
[all …]
DMakefile11 neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
/linux-4.4.14/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()
350 rose_node->neighbour[1] = in rose_del_node()
351 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()
236 rose->neighbour->use--; in rose_state4_machine()
256 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()
622 rose->neighbour->use--; in rose_release()
766 rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, in rose_connect()
768 if (!rose->neighbour) { in rose_connect()
773 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
[all …]
Drose_out.c45 rose_transmit_link(skb, rose->neighbour); in rose_send_iframe()
Drose_timer.c181 rose->neighbour->use--; in rose_timer_expiry()
Drose_subr.c198 rose_transmit_link(skb, rose->neighbour); in rose_write_internal()
/linux-4.4.14/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()
282 static inline void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry()
305 struct neighbour *neigh; in t3_l2t_get()
398 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh) in t3_l2t_update()
Dt3cdev.h61 void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
Dcxgb3_offload.c66 static void cxgb_neigh_update(struct neighbour *neigh);
68 struct neighbour *neigh, const void *daddr);
488 static void dummy_neigh_update(struct t3cdev *dev, struct neighbour *neigh) in dummy_neigh_update()
967 cxgb_neigh_update((struct neighbour *)ctx); in nb_callback()
1073 static void cxgb_neigh_update(struct neighbour *neigh) in cxgb_neigh_update()
1111 struct neighbour *neigh, in cxgb_redirect()
/linux-4.4.14/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()
290 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) in arp_error_report()
329 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) in arp_solicit()
659 struct neighbour *n; in arp_process()
974 struct neighbour *neigh; in arp_req_set()
[all …]
Droute.c154 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst,
443 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, in ipv4_neigh_lookup()
450 struct neighbour *n; in ipv4_neigh_lookup()
713 struct neighbour *n; in __ip_do_redirect()
Dip_tunnel.c684 struct neighbour *neigh; in ip_tunnel_xmit()
Dfib_semantics.c433 struct neighbour *n; in fib_detect_death()
Dip_output.c181 struct neighbour *neigh; in ip_finish_output2()
/linux-4.4.14/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 neighbour *neigh) in clip_constructor()
333 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()
DKconfig31 bool "Do NOT send ICMP if no neighbour"
34 Normally, an "ICMP host unreachable" message is sent if a neighbour
/linux-4.4.14/include/uapi/linux/
Dnetrom.h30 ax25_address neighbour; member
Drose.h68 ax25_address neighbour; member
DKbuild281 header-y += neighbour.h
/linux-4.4.14/net/ipv6/
Dndisc.c88 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey);
89 static int ndisc_constructor(struct neighbour *neigh);
90 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb);
91 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb);
302 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq()
307 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor()
650 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) in ndisc_error_report()
662 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) in ndisc_solicit()
717 struct neighbour *neigh; in ndisc_recv_ns()
887 struct neighbour *neigh; in ndisc_recv_na()
[all …]
Droute.c203 static struct neighbour *ip6_neigh_lookup(const struct dst_entry *dst, in ip6_neigh_lookup()
208 struct neighbour *n; in ip6_neigh_lookup()
534 struct neighbour *neigh; in rt6_probe()
599 struct neighbour *neigh; in rt6_check_neigh()
2104 struct neighbour *neigh; in rt6_do_redirect()
Dip6_output.c64 struct neighbour *neigh; in ip6_finish_output2()
908 struct neighbour *n; in ip6_dst_lookup_tail()
Dsit.c835 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit()
864 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit()
Dip6_fib.c1758 struct neighbour *neigh; in fib6_age()
Dip6_tunnel.c1052 struct neighbour *neigh; in ip6_tnl_xmit2()
/linux-4.4.14/net/bridge/
Dbr_nf_core.c43 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup()
Dbr_input.c73 struct neighbour *n; in br_do_proxy_arp()
Dbr_netfilter_hooks.c258 struct neighbour *neigh; in br_nf_pre_routing_finish_bridge()
/linux-4.4.14/net/sched/
Dsch_teql.c223 struct neighbour *n; in __teql_resolve()
231 struct neighbour *mn; in __teql_resolve()
/linux-4.4.14/drivers/infiniband/core/
Daddr.c203 struct neighbour *n; in dst_fetch_ha()
528 struct neighbour *neigh = ctx; in netevent_callback()
/linux-4.4.14/include/linux/
Detherdevice.h39 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
Dnetdevice.h192 struct neighbour;
264 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type);
1176 int (*ndo_neigh_construct)(struct neighbour *n);
1177 void (*ndo_neigh_destroy)(struct neighbour *n);
/linux-4.4.14/net/ethernet/
Deth.c224 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-uwb_rc98 A neighbour UWB device that has either been detected
/linux-4.4.14/drivers/net/
Dvrf.c409 struct neighbour *neigh; in vrf_finish_output6()
520 struct neighbour *neigh; in vrf_finish_output()
Dvxlan.c1356 struct neighbour *n; in arp_reduce()
1434 struct neighbour *n, bool isrouter) in vxlan_na_create()
1527 struct neighbour *n; in neigh_reduce()
1594 struct neighbour *n; in route_shortcircuit()
/linux-4.4.14/drivers/net/plip/
Dplip.c153 static int plip_hard_header_cache(const struct neighbour *neigh,
1027 static int plip_hard_header_cache(const struct neighbour *neigh, in plip_hard_header_cache()
/linux-4.4.14/Documentation/isdn/
DREADME.x2515 - If you connect to an X.25 neighbour not operated by yourself, ASK the
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes.c226 struct neighbour *neigh = ptr; in nes_net_event()
Dnes_cm.c1519 struct neighbour *neigh; in nes_addr_resolve_neigh()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c3048 struct neighbour *n = __ipv4_neigh_lookup(dev, (__force u32)ip_addr); in rocker_port_ipv4_resolve()
4297 static void rocker_port_neigh_destroy(struct neighbour *n) in rocker_port_neigh_destroy()
5429 static int rocker_neigh_update(struct net_device *dev, struct neighbour *n) in rocker_neigh_update()
5443 struct neighbour *n = ptr; in rocker_netevent_event()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c604 struct neighbour *n; in cxgbi_check_route()
705 struct neighbour *n; in cxgbi_check_route6()
/linux-4.4.14/drivers/firewire/
Dnet.c240 static int fwnet_header_cache(const struct neighbour *neigh, in fwnet_header_cache()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcm.c419 struct neighbour *n; in find_route()
1933 struct neighbour *n; in import_ep()
3794 struct neighbour *neigh; in rx_pkt()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c2625 struct neighbour *n = NULL; in qeth_l3_get_cast_type()
3118 static int qeth_l3_neigh_setup_noarp(struct neighbour *n) in qeth_l3_neigh_setup_noarp()
/linux-4.4.14/Documentation/
Datomic_ops.txt376 generic neighbour discover code of the networking. Olaf Kirch
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1372 struct neighbour *n = NULL; in init_act_open()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_net.c1954 static int isdn_header_cache(const struct neighbour *neigh, struct hh_cache *hh, in isdn_header_cache()
/linux-4.4.14/drivers/net/bonding/
Dbond_main.c3458 static int bond_neigh_init(struct neighbour *n) in bond_neigh_init()
/linux-4.4.14/net/xfrm/
Dxfrm_policy.c2820 static struct neighbour *xfrm_neigh_lookup(const struct dst_entry *dst, in xfrm_neigh_lookup()
/linux-4.4.14/Documentation/networking/
Dip-sysctl.txt1605 1 - Generate unsolicited neighbour advertisements when device is brought