Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dneighbour.h39 struct neighbour;
72 int (*neigh_setup)(struct neighbour *);
73 void (*neigh_cleanup)(struct neighbour *);
132 struct neighbour { struct
133 struct neighbour __rcu *next; argument
152 int (*output)(struct neighbour *, struct sk_buff *); argument
161 void (*solicit)(struct neighbour *, struct sk_buff *); argument
162 void (*error_report)(struct neighbour *, struct sk_buff *);
163 int (*output)(struct neighbour *, struct sk_buff *);
164 int (*connected_output)(struct neighbour *, struct sk_buff *);
[all …]
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()
183 void ndisc_send_ns(struct net_device *dev, struct neighbour *neigh,
189 void ndisc_send_na(struct net_device *dev, struct neighbour *neigh,
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;
Ddst.h436 static inline int dst_neigh_output(struct dst_entry *dst, struct neighbour *n, in dst_neigh_output()
457 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) in dst_neigh_lookup()
459 struct neighbour *n = dst->ops->neigh_lookup(dst, NULL, daddr); in dst_neigh_lookup()
463 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst, in dst_neigh_lookup_skb()
466 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 */
Ddn_neigh.h9 struct neighbour n;
Drose.h113 struct rose_neigh *neighbour[3]; member
132 struct rose_neigh *neighbour; member
Datmclip.h41 struct neighbour *neigh; /* neighbour back-pointer */
Ddst_ops.h32 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
Daddrconf.h163 void (*ndisc_send_na)(struct net_device *dev, struct neighbour *neigh,
/linux-4.1.27/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()
256 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()
871 static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst, in dn_dst_neigh_lookup()
883 struct neighbour *n; in dn_rt_set_next_hop()
975 struct neighbour *neigh = NULL; in dn_route_output_slow()
1314 struct neighbour *neigh = NULL; in dn_route_input_slow()
/linux-4.1.27/net/netrom/
Dnr_route.c120 if (nr_nodet->routes[i].neighbour == nr_neigh) in nr_add_node()
193 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
211 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
227 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
236 nr_node->routes[2].neighbour->count--; in nr_add_node()
237 nr_neigh_put(nr_node->routes[2].neighbour); in nr_add_node()
239 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node()
240 nr_remove_neigh(nr_node->routes[2].neighbour); in nr_add_node()
244 nr_node->routes[2].neighbour = nr_neigh; in nr_add_node()
303 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.h44 struct neighbour;
62 struct neighbour *neigh; /* associated neighbour */
98 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh,
103 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()
343 static void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry()
361 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, in cxgb4_l2t_get()
476 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh) in t4_l2t_update()
Dcxgb4_main.c2163 static void check_neigh_update(struct neighbour *neigh) in check_neigh_update()
/linux-4.1.27/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.1.27/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.1.27/net/rose/
Drose_route.c81 if (ax25cmp(&rose_route->neighbour, in rose_add_node()
95 rose_neigh->callsign = rose_route->neighbour; in rose_add_node()
165 rose_node->neighbour[0] = rose_neigh; in rose_add_node()
191 rose_node->neighbour[rose_node->count] = rose_neigh; in rose_add_node()
322 if (ax25cmp(&rose_route->neighbour, in rose_del_node()
335 if (rose_node->neighbour[i] == rose_neigh) { in rose_del_node()
348 rose_node->neighbour[0] = in rose_del_node()
349 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()
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 rose->neighbour->use--; in rose_kill_by_device()
283 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
621 rose->neighbour->use--; in rose_release()
765 rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, in rose_connect()
767 if (!rose->neighbour) { in rose_connect()
772 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
820 rose->neighbour->use++; 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.1.27/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.1.27/net/ipv4/
Darp.c125 static bool arp_key_eq(const struct neighbour *n, const void *pkey);
126 static int arp_constructor(struct neighbour *neigh);
127 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb);
128 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()
288 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) in arp_error_report()
294 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) in arp_solicit()
640 struct neighbour *n; in arp_process()
943 struct neighbour *neigh; in arp_req_set()
[all …]
Droute.c150 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst,
439 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, in ipv4_neigh_lookup()
446 struct neighbour *n; in ipv4_neigh_lookup()
711 struct neighbour *n; in __ip_do_redirect()
Dfib_semantics.c417 struct neighbour *n; in fib_detect_death()
Dip_tunnel.c671 struct neighbour *neigh; in ip_tunnel_xmit()
Dip_output.c177 struct neighbour *neigh; in ip_finish_output2()
/linux-4.1.27/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()
330 struct neighbour *n; in clip_start_xmit()
443 struct neighbour *neigh; in clip_setentry()
733 static void atmarp_info(struct seq_file *seq, struct neighbour *n, in atmarp_info()
823 struct neighbour *n, loff_t * pos) in clip_seq_sub_iter()
850 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.1.27/net/ipv6/
Dndisc.c87 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey);
88 static int ndisc_constructor(struct neighbour *neigh);
89 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb);
90 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb);
300 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq()
305 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor()
477 void ndisc_send_na(struct net_device *dev, struct neighbour *neigh, in ndisc_send_na()
554 void ndisc_send_ns(struct net_device *dev, struct neighbour *neigh, in ndisc_send_ns()
647 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) in ndisc_error_report()
659 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) in ndisc_solicit()
[all …]
Droute.c181 static struct neighbour *ip6_neigh_lookup(const struct dst_entry *dst, in ip6_neigh_lookup()
186 struct neighbour *n; in ip6_neigh_lookup()
505 struct neighbour *neigh; in rt6_probe()
571 struct neighbour *neigh; in rt6_check_neigh()
1836 struct neighbour *neigh; in rt6_do_redirect()
Dip6_output.c63 struct neighbour *neigh; in ip6_finish_output2()
887 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.c1709 struct neighbour *neigh; in fib6_age()
Dip6_tunnel.c993 struct neighbour *neigh; in ip6_tnl_xmit2()
/linux-4.1.27/include/uapi/linux/
Dnetrom.h30 ax25_address neighbour; member
Drose.h68 ax25_address neighbour; member
DKbuild274 header-y += neighbour.h
/linux-4.1.27/net/bridge/
Dbr_nf_core.c43 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup()
Dbr_input.c67 struct neighbour *n; in br_do_proxy_arp()
Dbr_netfilter.c311 struct neighbour *neigh; in br_nf_pre_routing_finish_bridge()
/linux-4.1.27/net/sched/
Dsch_teql.c223 struct neighbour *n; in __teql_resolve()
231 struct neighbour *mn; in __teql_resolve()
/linux-4.1.27/drivers/infiniband/core/
Daddr.c204 struct neighbour *n; in dst_fetch_ha()
526 struct neighbour *neigh = ctx; in netevent_callback()
/linux-4.1.27/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);
1150 int (*ndo_neigh_construct)(struct neighbour *n);
1151 void (*ndo_neigh_destroy)(struct neighbour *n);
/linux-4.1.27/net/ethernet/
Deth.c222 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-uwb_rc98 A neighbour UWB device that has either been detected
/linux-4.1.27/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.1.27/Documentation/isdn/
DREADME.x2515 - If you connect to an X.25 neighbour not operated by yourself, ASK the
/linux-4.1.27/drivers/net/
Dvxlan.c1343 struct neighbour *n; in arp_reduce()
1421 struct neighbour *n, bool isrouter) in vxlan_na_create()
1514 struct neighbour *n; in neigh_reduce()
1581 struct neighbour *n; in route_shortcircuit()
/linux-4.1.27/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.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.c600 struct neighbour *n; in cxgbi_check_route()
701 struct neighbour *n; in cxgbi_check_route6()
/linux-4.1.27/drivers/firewire/
Dnet.c240 static int fwnet_header_cache(const struct neighbour *neigh, in fwnet_header_cache()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dcm.c408 struct neighbour *n; in find_route()
1876 struct neighbour *n; in import_ep()
3666 struct neighbour *neigh; in rx_pkt()
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c2921 struct neighbour *n = __ipv4_neigh_lookup(dev, (__force u32)ip_addr); in rocker_port_ipv4_resolve()
4992 static int rocker_neigh_update(struct net_device *dev, struct neighbour *n) in rocker_neigh_update()
5005 struct neighbour *n = ptr; in rocker_netevent_event()
/linux-4.1.27/Documentation/
Datomic_ops.txt374 generic neighbour discover code of the networking. Olaf Kirch
/linux-4.1.27/drivers/s390/net/
Dqeth_l3_main.c2735 struct neighbour *n = NULL; in qeth_l3_get_cast_type()
3234 static int qeth_l3_neigh_setup_noarp(struct neighbour *n) in qeth_l3_neigh_setup_noarp()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1365 struct neighbour *n = NULL; in init_act_open()
/linux-4.1.27/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.1.27/drivers/net/bonding/
Dbond_main.c3440 static int bond_neigh_init(struct neighbour *n) in bond_neigh_init()
/linux-4.1.27/net/xfrm/
Dxfrm_policy.c2800 static struct neighbour *xfrm_neigh_lookup(const struct dst_entry *dst, in xfrm_neigh_lookup()
/linux-4.1.27/Documentation/networking/
Dip-sysctl.txt1525 1 - Generate unsolicited neighbour advertisements when device is brought