/net/batman-adv/ |
D | routing.c | 78 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route() 119 struct batadv_neigh_node *router = NULL; in batadv_update_route() local 124 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route() 126 if (router != neigh_node) in batadv_update_route() 130 batadv_neigh_node_put(router); in batadv_update_route() 529 struct batadv_neigh_node *router, *cand_router = NULL; in batadv_find_router() local 539 router = batadv_orig_router_get(orig_node, recv_if); in batadv_find_router() 541 if (!router) in batadv_find_router() 542 return router; in batadv_find_router() 548 return router; in batadv_find_router() [all …]
|
D | bat_v.c | 547 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local 551 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 552 if (!router) in batadv_v_gw_throughput_get() 555 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 569 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get() 682 struct batadv_neigh_node *router; in batadv_v_gw_dump_entry() local 687 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 688 if (!router) in batadv_v_gw_dump_entry() 691 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 728 if (nla_put(msg, BATADV_ATTR_ROUTER, ETH_ALEN, router->addr)) { in batadv_v_gw_dump_entry() [all …]
|
D | bat_iv_ogm.c | 928 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_orig_update() local 1012 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_iv_ogm_orig_update() 1013 if (router == neigh_node) in batadv_iv_ogm_orig_update() 1016 if (router) { in batadv_iv_ogm_orig_update() 1017 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update() 1033 sum_orig = batadv_iv_orig_ifinfo_sum(router->orig_node, in batadv_iv_ogm_orig_update() 1034 router->if_incoming); in batadv_iv_ogm_orig_update() 1048 batadv_neigh_node_put(router); in batadv_iv_ogm_orig_update() 1315 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_process_per_outif() local 1366 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_iv_ogm_process_per_outif() [all …]
|
D | bat_v_ogm.c | 528 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_forward() local 544 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_forward() 547 if (neigh_node != router) in batadv_v_ogm_forward() 590 batadv_neigh_node_put(router); in batadv_v_ogm_forward() 697 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_route_update() local 717 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_route_update() 718 if (router && router->orig_node != orig_node && !orig_neigh_router) { in batadv_v_ogm_route_update() 735 if (router == neigh_node) in batadv_v_ogm_route_update() 742 if (router) { in batadv_v_ogm_route_update() 743 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update() [all …]
|
D | originator.c | 296 struct batadv_neigh_node *router = NULL; in batadv_orig_router_get() local 303 router = rcu_dereference(orig_ifinfo->router); in batadv_orig_router_get() 307 if (router && !kref_get_unless_zero(&router->refcount)) in batadv_orig_router_get() 308 router = NULL; in batadv_orig_router_get() 311 return router; in batadv_orig_router_get() 775 struct batadv_neigh_node *router; in batadv_orig_ifinfo_release() local 783 router = rcu_dereference_protected(orig_ifinfo->router, true); in batadv_orig_ifinfo_release() 784 batadv_neigh_node_put(router); in batadv_orig_ifinfo_release()
|
D | gateway_client.c | 201 struct batadv_neigh_node *router = NULL; in batadv_gw_election() local 228 router = batadv_orig_router_get(next_gw->orig_node, in batadv_gw_election() 230 if (!router) { in batadv_gw_election() 235 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_gw_election() 277 batadv_neigh_node_put(router); in batadv_gw_election()
|
D | translation-table.c | 1756 struct batadv_neigh_node *router, *best_router = NULL; in batadv_transtable_best_orig() local 1763 router = batadv_orig_router_get(orig_entry->orig_node, in batadv_transtable_best_orig() 1765 if (!router) in batadv_transtable_best_orig() 1769 bao->neigh.cmp(router, BATADV_IF_DEFAULT, best_router, in batadv_transtable_best_orig() 1771 batadv_neigh_node_put(router); in batadv_transtable_best_orig() 1779 best_router = router; in batadv_transtable_best_orig()
|
D | types.h | 256 struct batadv_neigh_node __rcu *router; member
|
/net/ipv6/ |
D | Kconfig | 29 to pick an appropriate router, especially when the hosts 224 This driver is useful if the other endpoint is a Cisco router: Cisco 273 Normally, a multicast router runs a userspace daemon and decides 275 destination addresses. If you say Y here, the multicast router
|
D | ndisc.c | 522 bool router, bool solicited, bool override, bool inc_opt) in ndisc_send_na() argument 561 .icmp6_router = router, in ndisc_send_na()
|
/net/ipv4/ |
D | Kconfig | 16 bool "IP: advanced router" 18 If you intend to run your Linux box mostly as a router, i.e. as a 27 Note that your box can only act as a router if you enable IP 68 Normally, a router decides what to do with a received packet based 70 the Linux router will also be able to take the packet's source 88 for those packets. The router considers all these paths to be of 202 This driver is useful if the other endpoint is a Cisco router: Cisco 225 This is used if you want your machine to act as a router for IP 237 Normally, a multicast router runs a userspace daemon and decides 239 destination addresses. If you say Y here, the multicast router
|
/net/qrtr/ |
D | Kconfig | 8 Say Y if you intend to use Qualcomm IPC router protocol. The
|
/net/ipv4/netfilter/ |
D | Kconfig | 280 router/server/switch.
|
/net/netfilter/ |
D | Kconfig | 1120 firewall/router, but machines behind it can never exchange large 1182 load-balancing router/server/switch. Basically, this match returns
|
/net/sched/ |
D | Kconfig | 33 (RSVP) on your Linux router if you also say Y to the corresponding
|