Home
last modified time | relevance | path

Searched refs:neighbour (Results 1 – 25 of 102) sorted by last modified time

12345

/linux/net/x25/
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/rose/
H 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()
214 if (rose->neighbour) in rose_kill_by_device()
215 rose->neighbour->use--; in rose_kill_by_device()
309 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
658 rose->neighbour->use--; in rose_release()
808 rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, in rose_connect()
810 if (!rose->neighbour) { in rose_connect()
815 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
[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/ipv6/
H A Droute.c209 struct neighbour *ip6_neigh_lookup(const struct in6_addr *gw, in ip6_neigh_lookup()
214 struct neighbour *n; in ip6_neigh_lookup()
225 static struct neighbour *ip6_dst_neigh_lookup(const struct dst_entry *dst, in ip6_dst_neigh_lookup()
620 struct neighbour *neigh; in rt6_probe()
686 struct neighbour *neigh; in rt6_check_neigh()
2109 struct neighbour *neigh; in rt6_age_examine_exception()
4121 struct neighbour *neigh; in rt6_do_redirect()
H A Dsit.c879 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit()
908 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit()
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);
322 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq()
327 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor()
723 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) in ndisc_error_report()
735 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 …]
H A Dip6_tunnel.c1114 struct neighbour *neigh; in ip6_tnl_xmit()
H A Dip6_output.c68 struct neighbour *neigh; in ip6_finish_output2()
1101 struct neighbour *n; in ip6_dst_lookup_tail()
/linux/include/net/
H A Dsock.h2131 static inline void sock_confirm_neigh(struct sk_buff *skb, struct neighbour *n) in sock_confirm_neigh()
H A Droute.h374 static inline struct neighbour *ip_neigh_gw4(struct net_device *dev, in ip_neigh_gw4()
377 struct neighbour *neigh; in ip_neigh_gw4()
386 static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt, in ip_neigh_for_gw()
391 struct neighbour *neigh; in ip_neigh_for_gw()
/linux/drivers/net/bonding/
H A Dbond_main.c4627 static int bond_neigh_init(struct neighbour *n) in bond_neigh_init()
/linux/drivers/infiniband/core/
H A Dcma.c5183 struct neighbour *neigh = ctx; in cma_netevent_callback()
/linux/net/xfrm/
H A Dxfrm_policy.c4049 static struct neighbour *xfrm_neigh_lookup(const struct dst_entry *dst, in xfrm_neigh_lookup()
/linux/net/sched/
H A Dsch_teql.c222 struct neighbour *n; in __teql_resolve()
230 struct neighbour *mn; in __teql_resolve()
/linux/net/ipv4/
H A Droute.c147 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst,
400 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, in ipv4_neigh_lookup()
406 struct neighbour *n; in ipv4_neigh_lookup()
734 struct neighbour *n; in __ip_do_redirect()
H A Dip_tunnel.c727 struct neighbour *neigh; in ip_tunnel_xmit()
H A Dip_output.c204 struct neighbour *neigh; in ip_finish_output2()
H A Dfib_semantics.c555 struct neighbour *n; in fib_detect_death()
2200 struct neighbour *n; in fib_good_nh()
H 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);
126 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb);
218 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq()
223 static int arp_constructor(struct neighbour *neigh) in arp_constructor()
294 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) in arp_error_report()
333 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) in arp_solicit()
711 struct neighbour *n; in arp_process()
1096 struct neighbour *neigh; in arp_req_set()
[all …]
/linux/net/core/
H A Dneighbour.c54 static void __neigh_notify(struct neighbour *n, int type, int flags,
56 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid);
92 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole()
98 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release()
118 static void neigh_mark_dead(struct neighbour *n) in neigh_mark_dead()
129 static void neigh_update_gc_list(struct neighbour *n) in neigh_update_gc_list()
158 static void neigh_update_managed_list(struct neighbour *n) in neigh_update_managed_list()
179 static void neigh_update_flags(struct neighbour *neigh, u32 flags, int *notify, in neigh_update_flags()
208 static bool neigh_del(struct neighbour *n, struct neighbour __rcu **np, in neigh_del()
215 struct neighbour *neigh; in neigh_del()
[all …]
H A Dfilter.c2202 struct neighbour *neigh; in bpf_out_neigh_v6()
2301 struct neighbour *neigh; in bpf_out_neigh_v4()
5863 struct neighbour *neigh; in bpf_ipv4_fib_lookup()
6003 struct neighbour *neigh; in bpf_ipv6_fib_lookup()
H A DMakefile13 neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
/linux/net/bridge/
H A Dbr_netfilter_hooks.c272 struct neighbour *neigh; in br_nf_pre_routing_finish_bridge()
/linux/net/bluetooth/
H A D6lowpan.c140 struct neighbour *neigh; in peer_lookup_dst()
/linux/net/atm/
H 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()

12345