/linux-4.4.14/include/net/ |
D | neighbour.h | 39 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 …]
|
D | arp.h | 20 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()
|
D | netevent.h | 15 struct neighbour; 20 struct neighbour *neigh;
|
D | ndisc.h | 157 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()
|
D | dst.h | 437 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()
|
D | dn_dev.h | 95 struct neighbour *router; /* Default router on circuit */ 96 struct neighbour *peer; /* Peer on pointopoint links */
|
D | rose.h | 113 struct rose_neigh *neighbour[3]; member 132 struct rose_neigh *neighbour; member
|
D | atmclip.h | 41 struct neighbour *neigh; /* neighbour back-pointer */
|
D | dn_neigh.h | 9 struct neighbour n;
|
D | dst_ops.h | 33 struct neighbour * (*neigh_lookup)(const struct dst_entry *dst,
|
D | dn_route.h | 73 struct neighbour *n;
|
D | netrom.h | 102 struct nr_neigh *neighbour; member
|
D | x25.h | 150 struct x25_neigh *neighbour; member
|
/linux-4.4.14/net/decnet/ |
D | dn_neigh.c | 51 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 …]
|
D | TODO | 4 o Proper timeouts on each neighbour (in routing mode) rather than
|
D | dn_route.c | 124 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/ |
D | nr_route.c | 119 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/ |
D | x25_out.c | 59 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()
|
D | x25_subr.c | 60 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()
|
D | x25_proc.c | 99 if (!x25->neighbour || (dev = x25->neighbour->dev) == NULL) in x25_seq_socket_show() 102 devname = x25->neighbour->dev->name; in x25_seq_socket_show()
|
D | af_x25.c | 217 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 …]
|
D | x25_in.c | 68 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/ |
D | l2t.h | 58 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);
|
D | l2t.c | 128 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()
|
D | cxgb4_main.c | 2202 static void check_neigh_update(struct neighbour *neigh) in check_neigh_update()
|
/linux-4.4.14/net/core/ |
D | neighbour.c | 55 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 …]
|
D | Makefile | 11 neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
|
/linux-4.4.14/net/rose/ |
D | rose_route.c | 80 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 …]
|
D | rose_in.c | 61 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()
|
D | af_rose.c | 173 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 …]
|
D | rose_out.c | 45 rose_transmit_link(skb, rose->neighbour); in rose_send_iframe()
|
D | rose_timer.c | 181 rose->neighbour->use--; in rose_timer_expiry()
|
D | rose_subr.c | 198 rose_transmit_link(skb, rose->neighbour); in rose_write_internal()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.h | 46 struct neighbour; 64 struct neighbour *neigh; /* associated neighbour */ 111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
|
D | l2t.c | 74 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()
|
D | t3cdev.h | 61 void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
|
D | cxgb3_offload.c | 66 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/ |
D | arp.c | 127 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 …]
|
D | route.c | 154 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()
|
D | ip_tunnel.c | 684 struct neighbour *neigh; in ip_tunnel_xmit()
|
D | fib_semantics.c | 433 struct neighbour *n; in fib_detect_death()
|
D | ip_output.c | 181 struct neighbour *neigh; in ip_finish_output2()
|
/linux-4.4.14/net/atm/ |
D | clip.c | 120 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()
|
D | Kconfig | 31 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/ |
D | netrom.h | 30 ax25_address neighbour; member
|
D | rose.h | 68 ax25_address neighbour; member
|
D | Kbuild | 281 header-y += neighbour.h
|
/linux-4.4.14/net/ipv6/ |
D | ndisc.c | 88 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 …]
|
D | route.c | 203 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()
|
D | ip6_output.c | 64 struct neighbour *neigh; in ip6_finish_output2() 908 struct neighbour *n; in ip6_dst_lookup_tail()
|
D | sit.c | 835 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit() 864 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit()
|
D | ip6_fib.c | 1758 struct neighbour *neigh; in fib6_age()
|
D | ip6_tunnel.c | 1052 struct neighbour *neigh; in ip6_tnl_xmit2()
|
/linux-4.4.14/net/bridge/ |
D | br_nf_core.c | 43 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup()
|
D | br_input.c | 73 struct neighbour *n; in br_do_proxy_arp()
|
D | br_netfilter_hooks.c | 258 struct neighbour *neigh; in br_nf_pre_routing_finish_bridge()
|
/linux-4.4.14/net/sched/ |
D | sch_teql.c | 223 struct neighbour *n; in __teql_resolve() 231 struct neighbour *mn; in __teql_resolve()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | addr.c | 203 struct neighbour *n; in dst_fetch_ha() 528 struct neighbour *neigh = ctx; in netevent_callback()
|
/linux-4.4.14/include/linux/ |
D | etherdevice.h | 39 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
|
D | netdevice.h | 192 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/ |
D | eth.c | 224 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/ |
D | sysfs-class-uwb_rc | 98 A neighbour UWB device that has either been detected
|
/linux-4.4.14/drivers/net/ |
D | vrf.c | 409 struct neighbour *neigh; in vrf_finish_output6() 520 struct neighbour *neigh; in vrf_finish_output()
|
D | vxlan.c | 1356 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/ |
D | plip.c | 153 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/ |
D | README.x25 | 15 - If you connect to an X.25 neighbour not operated by yourself, ASK the
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes.c | 226 struct neighbour *neigh = ptr; in nes_net_event()
|
D | nes_cm.c | 1519 struct neighbour *neigh; in nes_addr_resolve_neigh()
|
/linux-4.4.14/drivers/net/ethernet/rocker/ |
D | rocker.c | 3048 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/ |
D | libcxgbi.c | 604 struct neighbour *n; in cxgbi_check_route() 705 struct neighbour *n; in cxgbi_check_route6()
|
/linux-4.4.14/drivers/firewire/ |
D | net.c | 240 static int fwnet_header_cache(const struct neighbour *neigh, in fwnet_header_cache()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 419 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/ |
D | qeth_l3_main.c | 2625 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/ |
D | atomic_ops.txt | 376 generic neighbour discover code of the networking. Olaf Kirch
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 1372 struct neighbour *n = NULL; in init_act_open()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_net.c | 1954 static int isdn_header_cache(const struct neighbour *neigh, struct hh_cache *hh, in isdn_header_cache()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_main.c | 3458 static int bond_neigh_init(struct neighbour *n) in bond_neigh_init()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_policy.c | 2820 static struct neighbour *xfrm_neigh_lookup(const struct dst_entry *dst, in xfrm_neigh_lookup()
|
/linux-4.4.14/Documentation/networking/ |
D | ip-sysctl.txt | 1605 1 - Generate unsolicited neighbour advertisements when device is brought
|