/linux-4.1.27/include/net/ |
D | neighbour.h | 39 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 …]
|
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() 183 void ndisc_send_ns(struct net_device *dev, struct neighbour *neigh, 189 void ndisc_send_na(struct net_device *dev, struct neighbour *neigh,
|
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 | dst.h | 436 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()
|
D | dn_dev.h | 95 struct neighbour *router; /* Default router on circuit */ 96 struct neighbour *peer; /* Peer on pointopoint links */
|
D | dn_neigh.h | 9 struct neighbour n;
|
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 | dst_ops.h | 32 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
|
D | addrconf.h | 163 void (*ndisc_send_na)(struct net_device *dev, struct neighbour *neigh,
|
/linux-4.1.27/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() 256 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() 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/ |
D | nr_route.c | 120 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/ |
D | l2t.h | 44 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);
|
D | l2t.c | 128 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()
|
D | cxgb4_main.c | 2163 static void check_neigh_update(struct neighbour *neigh) in check_neigh_update()
|
/linux-4.1.27/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.1.27/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.1.27/net/rose/ |
D | rose_route.c | 81 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 …]
|
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 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 …]
|
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.1.27/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.1.27/net/ipv4/ |
D | arp.c | 125 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 …]
|
D | route.c | 150 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()
|
D | fib_semantics.c | 417 struct neighbour *n; in fib_detect_death()
|
D | ip_tunnel.c | 671 struct neighbour *neigh; in ip_tunnel_xmit()
|
D | ip_output.c | 177 struct neighbour *neigh; in ip_finish_output2()
|
/linux-4.1.27/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() 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()
|
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.1.27/net/ipv6/ |
D | ndisc.c | 87 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 …]
|
D | route.c | 181 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()
|
D | ip6_output.c | 63 struct neighbour *neigh; in ip6_finish_output2() 887 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 | 1709 struct neighbour *neigh; in fib6_age()
|
D | ip6_tunnel.c | 993 struct neighbour *neigh; in ip6_tnl_xmit2()
|
/linux-4.1.27/include/uapi/linux/ |
D | netrom.h | 30 ax25_address neighbour; member
|
D | rose.h | 68 ax25_address neighbour; member
|
D | Kbuild | 274 header-y += neighbour.h
|
/linux-4.1.27/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 | 67 struct neighbour *n; in br_do_proxy_arp()
|
D | br_netfilter.c | 311 struct neighbour *neigh; in br_nf_pre_routing_finish_bridge()
|
/linux-4.1.27/net/sched/ |
D | sch_teql.c | 223 struct neighbour *n; in __teql_resolve() 231 struct neighbour *mn; in __teql_resolve()
|
/linux-4.1.27/drivers/infiniband/core/ |
D | addr.c | 204 struct neighbour *n; in dst_fetch_ha() 526 struct neighbour *neigh = ctx; in netevent_callback()
|
/linux-4.1.27/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); 1150 int (*ndo_neigh_construct)(struct neighbour *n); 1151 void (*ndo_neigh_destroy)(struct neighbour *n);
|
/linux-4.1.27/net/ethernet/ |
D | eth.c | 222 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/ |
D | sysfs-class-uwb_rc | 98 A neighbour UWB device that has either been detected
|
/linux-4.1.27/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.1.27/Documentation/isdn/ |
D | README.x25 | 15 - If you connect to an X.25 neighbour not operated by yourself, ASK the
|
/linux-4.1.27/drivers/net/ |
D | vxlan.c | 1343 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/ |
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.1.27/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 600 struct neighbour *n; in cxgbi_check_route() 701 struct neighbour *n; in cxgbi_check_route6()
|
/linux-4.1.27/drivers/firewire/ |
D | net.c | 240 static int fwnet_header_cache(const struct neighbour *neigh, in fwnet_header_cache()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 408 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/ |
D | rocker.c | 2921 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/ |
D | atomic_ops.txt | 374 generic neighbour discover code of the networking. Olaf Kirch
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_l3_main.c | 2735 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/ |
D | cxgb4i.c | 1365 struct neighbour *n = NULL; in init_act_open()
|
/linux-4.1.27/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.1.27/drivers/net/bonding/ |
D | bond_main.c | 3440 static int bond_neigh_init(struct neighbour *n) in bond_neigh_init()
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_policy.c | 2800 static struct neighbour *xfrm_neigh_lookup(const struct dst_entry *dst, in xfrm_neigh_lookup()
|
/linux-4.1.27/Documentation/networking/ |
D | ip-sysctl.txt | 1525 1 - Generate unsolicited neighbour advertisements when device is brought
|