/openbmc/bmcweb/test/http/ |
H A D | router_test.cpp | 24 TEST(Router, AllowHeader) in TEST() argument 30 Router router; in TEST() local 38 router.validate(); in TEST() 39 EXPECT_EQ(router.findRoute(req).allowHeader, ""); in TEST() 40 EXPECT_EQ(router.findRoute(req).route.rule, nullptr); in TEST() 42 router.newRuleTagged<getParameterTag(url)>(std::string(url)) in TEST() 44 router.validate(); in TEST() 45 EXPECT_EQ(router.findRoute(req).allowHeader, "GET"); in TEST() 46 EXPECT_NE(router.findRoute(req).route.rule, nullptr); in TEST() 49 EXPECT_EQ(router.findRoute(patchReq).route.rule, nullptr); 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); 117 * have no information as to the router device to use, but we can handle 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() [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 192 # Setup N1. host-1 and router-2 connect to a bridge in router-1. 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} [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/misc/ |
H A D | intel,irq-router.txt | 1 Intel Interrupt Router Device Binding 4 The device tree node which describes the operation of the Intel Interrupt Router 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 { [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 519 u16 id; /* virtual router ID */ 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() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.c | 61 /* TODO: move to router.h as macros */ 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() [all …]
|
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 …]
|
/openbmc/linux/net/qrtr/ |
H A D | Kconfig | 2 # Qualcomm IPC Router configuration 6 tristate "Qualcomm IPC Router support" 8 Say Y if you intend to use Qualcomm IPC router protocol. The 18 tristate "SMD IPC Router channels" 22 most common transport for IPC Router. 25 tristate "TUN device for Qualcomm IPC Router" 32 tristate "MHI IPC Router channels"
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | ipip-conntrack-mtu.sh | 12 # |Router A|-------|Wanrouter|-------|Router B| 22 # Router A and Router B use IPIP tunnel interfaces to tunnel traffic 83 # Detailed setup for Router A 91 # 10.4.4.1 via 10.2.2.254 (Router B via Wanrouter) 113 # Detailed setup for Router B 121 # 10.2.2.1 via 10.4.4.254 (Router A via Wanrouter) 185 # Router A has learned PMTU (1400) to Router B from Wanrouter. 187 # from Router A. 197 # UDP packet is sent as two fragments (1380 + 20). Router A forwards the 201 #When sending the large UDP packet again, Router A now reassembles the [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | pirq_routing.h | 42 u8 rtr_bus; /* busno of the interrupt router */ 43 u8 rtr_devfn; /* devfn of the interrupt router */ 45 u16 rtr_vendor; /* Vendor ID of the interrupt router */ 46 u16 rtr_device; /* Device ID of the interrupt router */ 72 * implementation of interrupt router may be different. 74 * @dev: irq router's udevice 90 * implementation of interrupt router may be different. 92 * @dev: irq router's udevice 105 * implementation of interrupt router may be different. 107 * @dev: irq router's udevice [all …]
|
H A D | irq.h | 9 #include <dt-bindings/interrupt-router/intel-irq.h> 12 * Intel interrupt router configuration mechanism 14 * There are two known ways of Intel interrupt router configuration mechanism 31 * Intel interrupt router control block 41 * @lb_bdf: irq router's PCI bus/device/function number encoding
|
/openbmc/webui-vue/docs/customization/ |
H A D | build.md | 8 - [Router](#router) 54 ## Router section in Build Customization 56 :::tip [Vue Router](https://router.vuejs.org/guide/) determines which pages are 59 1. If making customizations to the default router, add `CUSTOM_ROUTER=true` key 61 2. Create a `<ENV_NAME>.js` file in `src/env/router` :::danger The filename 63 routes import in `src/router/index.js` will resolve to this new file. ::: 64 3. Define new [routes](https://router.vuejs.org/api/#routes). :::tip Use static 71 The Vue Router definition is closely tied to the app navigation but should be 72 configured separately. The Vue Router is responsible for defining the
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_i2c.c | 338 /* ddc router switching */ 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() 367 /* clock/data router switching */ [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/bmcweb/http/ |
H A D | app.hpp | 52 router.handleUpgrade(req, asyncResp, std::forward<Adaptor>(adaptor)); in handleUpgrade() 58 router.handle(req, asyncResp); in handle() 63 return router.newRuleDynamic(rule); in routeDynamic() 69 return router.newRuleTagged<Tag>(std::move(rule)); in route() 74 router.validate(); in validate() 133 router.debugPrint(); in debugPrint() 139 return router.getRoutes(root); in getRoutes() 143 return router.getRoutes(parent); in getRoutes() 166 Router router; member in crow::App
|
/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | dma-router.yaml | 4 $id: http://devicetree.org/schemas/dma/dma-router.yaml# 7 title: DMA Router Common Properties 23 pattern: "^dma-router(@.*)?$" 30 Array of phandles to the DMA controllers the router can direct 35 Number of incoming request lines the router can handle. 45 sdma_xbar: dma-router@4a002b78 {
|
/openbmc/webui-vue/src/router/ |
H A D | index.js | 1 import { createRouter, createWebHistory } from 'vue-router'; 9 const router = createRouter({ constant 22 // The privilege for the specific router was verified using the 23 // exclusiveToRoles roles in the router. 40 router.beforeEach((to, from, next) => { 61 export default router;
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | oemrouter.hpp | 28 /// Router Interface class. 29 /// @brief Abstract Router Interface 30 class Router class 33 virtual ~Router() {} in ~Router() 50 /// Expose mutable Router for configuration & activation. 52 /// @returns pointer to OEM Router to use. 53 Router* mutableRouter();
|
/openbmc/linux/Documentation/devicetree/bindings/arm/freescale/ |
H A D | fsl,vf610-mscm-ir.txt | 1 Freescale Vybrid Miscellaneous System Control - Interrupt Router 4 block of registers which control the interrupt router. The interrupt router 12 - reg: the register range of the MSCM Interrupt Router 18 assignment of the interrupt router is required.
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | usb4.c | 120 * If the connection manager implementation provides USB4 router in __usb4_switch_op() 135 * router operation instead. in __usb4_switch_op() 160 * @sw: Router whose wakes to check 230 * @sw: USB4 router to setup 239 * This does not set the configuration valid bit of the router. To do 278 * Only enable PCIe tunneling if the parent router supports it in usb4_switch_setup() 301 * @sw: USB4 router 303 * Sets configuration valid bit for the router. Must be called before 304 * any tunnels can be set through the router and after 333 * usb4_switch_read_uid() - Read UID from USB4 router [all …]
|
H A D | clx.c | 178 * tb_switch_clx_init() - Initialize router CL states 179 * @sw: Router 181 * Can be called for any router. Initializes the current CL state by 277 * tb_switch_clx_is_supported() - Is CLx supported on this type of router 278 * @sw: The router to check CLx support for 307 * tb_switch_clx_enable() - Enable CLx on upstream port of specified router 308 * @sw: Router to enable CLx for 387 * tb_switch_clx_disable() - Disable CLx on upstream port of specified router 388 * @sw: Router to disable CLx for 390 * Disables all CL states of the given router. Can be called on any [all …]
|
H A D | tb.h | 46 * @vops: Router vendor specific NVM operations (optional) 96 * struct tb_switch_tmu - Structure holding router TMU configuration 99 * @mode: TMU mode related to the upstream router. Reflects the HW 100 * setting. Don't care for host router. 101 * @mode_request: TMU mode requested to set. Related to upstream router. 102 * Don't care for host router. 156 * @max_usb3_credits: Router preferred number of buffers for USB 3.x 157 * @min_dp_aux_credits: Router preferred minimum number of buffers for DP AUX 158 * @min_dp_main_credits: Router preferred minimum number of buffers for DP MAIN 159 * @max_pcie_credits: Router preferred number of buffers for PCIe [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-ti-sci-intr.c | 3 * Texas Instruments' K3 Interrupt Router irqchip driver 22 * Interrupt Router IRQ domain. 27 * @type: Specifies the trigger type supported by this Interrupt Router 75 * @intr: IRQ domain corresponding to Interrupt Router 128 * @domain: Pointer to the interrupt router IRQ domain 161 /* Parent is Interrupt Router */ in ti_sci_intr_alloc_parent_irq() 186 * ti_sci_intr_irq_domain_alloc() - Allocate Interrupt router IRQs 187 * @domain: Point to the interrupt router IRQ domain 284 dev_info(dev, "Interrupt Router %d domain created\n", intr->ti_sci_id); in ti_sci_intr_irq_domain_probe() 305 MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol");
|
/openbmc/linux/net/batman-adv/ |
H A D | routing.c | 45 * _batadv_update_route() - set the router for this originator 49 * @neigh_node: neighbor which should be the next router 66 /* curr_router used earlier may not be the current orig_ifinfo->router in _batadv_update_route() 78 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route() 108 * batadv_update_route() - set the router for this originator 112 * @neigh_node: neighbor which should be the next router 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() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | ti,sci-intr.yaml | 7 title: Texas Instruments K3 Interrupt Router 16 The Interrupt Router (INTR) module provides a mechanism to mux M 18 to be driven per N output. An Interrupt Router can either handle edge 21 Interrupt Router 40 controller will keep track of the used and unused registers within the Router. 69 The 1st cell should contain interrupt router input hw number.
|