/openbmc/bmcweb/test/http/ |
H A D | router_test.cpp | 32 Router router; in TEST() local 40 router.validate(); in TEST() 41 EXPECT_EQ(router.findRoute(req).allowHeader, ""); in TEST() 42 EXPECT_EQ(router.findRoute(req).route.rule, nullptr); in TEST() 44 router.newRuleTagged<getParameterTag(url)>(std::string(url)) in TEST() 46 router.validate(); in TEST() 47 EXPECT_EQ(router.findRoute(req).allowHeader, "GET"); in TEST() 48 EXPECT_NE(router.findRoute(req).route.rule, nullptr); in TEST() 51 EXPECT_EQ(router.findRoute(patchReq).route.rule, nullptr); in TEST() 53 router.newRuleTagged<getParameterTag(url)>(std::string(url)) in TEST() [all …]
|
/openbmc/linux/arch/x86/pci/ |
H A D | irq.c | 53 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq); 54 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq, 56 int (*lvl)(struct pci_dev *router, struct pci_dev *dev, int pirq, 62 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device); 349 static int pirq_finali_get(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_get() argument 368 static int pirq_finali_set(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_set() argument 390 static int pirq_finali_lvl(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_lvl() argument 412 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble() argument 417 pci_read_config_byte(router, reg, &x); in read_config_nybble() 421 static void write_config_nybble(struct pci_dev *router, unsigned offset, in write_config_nybble() argument [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | traceroute.sh | 165 for ns in host-1 host-2 router-1 router-2 181 create_ns router-1 182 create_ns router-2 185 connect_ns router-2 eth3 - 2000:103::2/64 host-2 eth3 - 2000:103::4/64 189 connect_ns router-1 eth2 - 2000:102::1/64 router-2 eth2 - 2000:102::2/64 190 ip netns exec router-1 ip route add default via 2000:102::2 193 ip netns exec router-1 ip link add name ${brdev} type bridge 194 ip netns exec router-1 ip link set ${brdev} up 195 ip netns exec router-1 ip addr add 2000:101::1/64 dev ${brdev} 197 connect_ns host-1 eth0 - 2000:101::3/64 router-1 eth0 - - [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 458 rhashtable_lookup_fast(&sw->router->kern_neigh_cache_ht, key, in prestera_kern_neigh_cache_find() 474 rhashtable_remove_fast(&sw->router->kern_neigh_cache_ht, in __prestera_kern_neigh_cache_destroy() 496 err = rhashtable_insert_fast(&sw->router->kern_neigh_cache_ht, in __prestera_kern_neigh_cache_create() 544 rhashtable_lookup_fast(&sw->router->kern_fib_cache_ht, key, in prestera_kern_fib_cache_find() 571 rhashtable_remove_fast(&sw->router->kern_fib_cache_ht, in prestera_kern_fib_cache_destroy() 634 err = rhashtable_insert_fast(&sw->router->kern_fib_cache_ht, in prestera_kern_fib_cache_create() 1081 rhashtable_walk_enter(&sw->router->kern_neigh_cache_ht, &iter); in prestera_k_arb_hw_evt() 1131 rhashtable_walk_enter(&sw->router->kern_neigh_cache_ht, &iter); in __prestera_k_arb_fib_evt2nc() 1259 rhashtable_free_and_destroy(&sw->router->kern_fib_cache_ht, in prestera_k_arb_abort() 1262 rhashtable_free_and_destroy(&sw->router->kern_neigh_cache_ht, in prestera_k_arb_abort() [all …]
|
H A D | prestera_router_hw.c | 71 err = rhashtable_init(&sw->router->nh_neigh_ht, in prestera_router_hw_init() 76 err = rhashtable_init(&sw->router->nexthop_group_ht, in prestera_router_hw_init() 81 err = rhashtable_init(&sw->router->fib_ht, in prestera_router_hw_init() 86 INIT_LIST_HEAD(&sw->router->vr_list); in prestera_router_hw_init() 87 INIT_LIST_HEAD(&sw->router->rif_entry_list); in prestera_router_hw_init() 92 rhashtable_destroy(&sw->router->nexthop_group_ht); in prestera_router_hw_init() 94 rhashtable_destroy(&sw->router->nh_neigh_ht); in prestera_router_hw_init() 101 rhashtable_free_and_destroy(&sw->router->fib_ht, in prestera_router_hw_fini() 103 WARN_ON(!list_empty(&sw->router->vr_list)); in prestera_router_hw_fini() 104 WARN_ON(!list_empty(&sw->router->rif_entry_list)); in prestera_router_hw_fini() [all …]
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-memory.c | 60 klrou_t *router; in router_recurse() local 81 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse() 82 if (router == router_b) { in router_recurse() 87 router_recurse(router, router_b, depth + 1); in router_recurse() 99 klrou_t *router, *router_a = NULL, *router_b = NULL; in compute_node_distance() local 116 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance() 117 router->rou_rflag = 0; in compute_node_distance() 120 if (router->rou_port[port].port_nasid == INVALID_NASID) in compute_node_distance() 124 router->rou_port[port].port_nasid, in compute_node_distance() 125 router->rou_port[port].port_offset); in compute_node_distance() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 539 lpm_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_fib_create() 579 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_find_unused() 580 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_find_unused() 679 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_get() 680 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_get() 718 mlxsw_sp->router->lpm.tree_count = max_trees - MLXSW_SP_LPM_TREE_MIN; in mlxsw_sp_lpm_init() 719 mlxsw_sp->router->lpm.trees = kcalloc(mlxsw_sp->router->lpm.tree_count, in mlxsw_sp_lpm_init() 722 if (!mlxsw_sp->router->lpm.trees) in mlxsw_sp_lpm_init() 725 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_init() 726 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_init() [all …]
|
H A D | spectrum_dpipe.c | 214 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump() 245 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump() 252 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump() 262 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_counters_update() 275 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_counters_update() 550 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get() 606 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get() 611 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get() 666 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_counters_update() 688 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_counters_update() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_i2c.c | 344 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port() 351 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 353 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port() 355 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 358 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 360 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port() 361 val |= amdgpu_connector->router.ddc_mux_state; in amdgpu_i2c_router_select_ddc_port() 363 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port() 373 if (!amdgpu_connector->router.cd_valid) in amdgpu_i2c_router_select_cd_port() 380 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port() [all …]
|
/openbmc/bmcweb/http/ |
H A D | app.hpp | 54 router.handleUpgrade(req, asyncResp, std::forward<Adaptor>(adaptor)); in handleUpgrade() 60 router.handle(req, asyncResp); in handle() 65 return router.newRuleDynamic(rule); in routeDynamic() 71 return router.newRuleTagged<Tag>(std::move(rule)); in route() 76 router.validate(); in validate() 135 router.debugPrint(); in debugPrint() 141 return router.getRoutes(root); in getRoutes() 145 return router.getRoutes(parent); in getRoutes() 168 Router router; member in crow::App
|
/openbmc/u-boot/doc/device-tree-bindings/misc/ |
H A D | intel,irq-router.txt | 8 - reg : Specifies the interrupt router's PCI configuration space address as 10 - compatible = "intel,irq-router" 15 - intel,ibase-offset : IBASE register offset in the interrupt router's PCI 21 in the interrupt router's PCI configuration space, or IBASE. 24 The second cell is the total number of PIRQ links the router supports. 28 register offset from the interrupt router's base address. If this property 43 #include <dt-bindings/interrupt-router/intel-irq.h> 45 irq-router@1f,0 { 47 compatible = "intel,irq-router";
|
/openbmc/linux/net/batman-adv/ |
H A 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 …]
|
H A D | bat_v.c | 528 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local 532 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 533 if (!router) in batadv_v_gw_throughput_get() 536 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 550 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get() 663 struct batadv_neigh_node *router; in batadv_v_gw_dump_entry() local 668 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 669 if (!router) in batadv_v_gw_dump_entry() 672 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 709 if (nla_put(msg, BATADV_ATTR_ROUTER, ETH_ALEN, router->addr)) { in batadv_v_gw_dump_entry() [all …]
|
H A D | bat_iv_ogm.c | 927 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_orig_update() local 1011 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_iv_ogm_orig_update() 1012 if (router == neigh_node) in batadv_iv_ogm_orig_update() 1015 if (router) { in batadv_iv_ogm_orig_update() 1016 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update() 1032 sum_orig = batadv_iv_orig_ifinfo_sum(router->orig_node, in batadv_iv_ogm_orig_update() 1033 router->if_incoming); in batadv_iv_ogm_orig_update() 1047 batadv_neigh_node_put(router); in batadv_iv_ogm_orig_update() 1314 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_process_per_outif() local 1365 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_iv_ogm_process_per_outif() [all …]
|
H A D | bat_v_ogm.c | 527 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_forward() local 543 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_forward() 546 if (neigh_node != router) in batadv_v_ogm_forward() 589 batadv_neigh_node_put(router); in batadv_v_ogm_forward() 696 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_route_update() local 716 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_route_update() 717 if (router && router->orig_node != orig_node && !orig_neigh_router) { in batadv_v_ogm_route_update() 734 if (router == neigh_node) in batadv_v_ogm_route_update() 741 if (router) { in batadv_v_ogm_route_update() 742 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update() [all …]
|
/openbmc/webui-vue/src/router/ |
H A D | index.js | 9 const router = createRouter({ constant 40 router.beforeEach((to, from, next) => { 61 export default router;
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | qemu-x86_q35.dts | 8 #include <dt-bindings/interrupt-router/intel-irq.h> 10 /* ICH9 IRQ router has discrete PIRQ control registers */ 72 irq-router { 73 compatible = "intel,irq-router";
|
H A D | qemu-x86_i440fx.dts | 8 #include <dt-bindings/interrupt-router/intel-irq.h> 61 irq-router { 62 compatible = "intel,irq-router";
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | ip6_forward_instats_vrf.sh | 33 vrf_create router 34 __simple_if_init $rtr1 router 2001:1:1::1/64 35 __simple_if_init $rtr2 router 2001:1:2::1/64 44 vrf_destroy router
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_i2c.c | 58 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe() 1101 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port() 1108 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1110 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port() 1112 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1115 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1117 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port() 1118 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port() 1120 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port() 1129 if (!radeon_connector->router.cd_valid) in radeon_router_select_cd_port() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/radvd/ |
H A D | radvd_2.19.bb | 1 SUMMARY = "IPv6 router advertisement daemon" 2 DESCRIPTION = "radvd is the router advertisement daemon for IPv6. It \ 3 listens to router solicitations and sends router \ 8 choose a default router based on these advertisements."
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm4709-buffalo-wxr-1900dhp.dts | 47 led-router-amber { 48 label = "bcm53xx:amber:router"; 52 led-router-white { 53 label = "bcm53xx:white:router";
|
/openbmc/linux/Documentation/devicetree/bindings/arm/freescale/ |
H A D | fsl,vf610-mscm-ir.txt | 4 block of registers which control the interrupt router. The interrupt router 18 assignment of the interrupt router is required.
|
/openbmc/linux/include/uapi/linux/ |
H A D | icmpv6.h | 30 router:1, member 33 __u32 router:1, 72 #define icmp6_router icmp6_dataun.u_nd_advt.router
|
/openbmc/phosphor-pid-control/ipmi/ |
H A D | main_ipmi.cpp | 43 oem::Router* router = oem::mutableRouter(); in setupGlobalOemFanControl() local 51 router->registerHandler( in setupGlobalOemFanControl()
|