Searched +full:local +full:- +full:mac +full:- +full:address (Results 1 – 25 of 644) sorted by relevance
12345678910>>...26
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/ |
D | rif_mac_profiles_occ.sh | 2 # SPDX-License-Identifier: GPL-2.0 18 # Disable IPv6 on the two interfaces to avoid IPv6 link-local addresses 37 # Reload in order to clean all the RIFs and RIF MAC profiles created 43 local count=$1; shift 44 local batch_file="$(mktemp)" 50 cat >> $batch_file <<-EOF 52 address 00:$m:$m:$m:$m:$m type vlan id $vlan 53 address add 192.0.$m.1/24 dev $h1.$vlan 57 ip -b $batch_file &> /dev/null 58 rm -f $batch_file [all …]
|
D | rif_mac_profiles.sh | 2 # SPDX-License-Identifier: GPL-2.0 53 ip address add 192.0.2.2/24 dev $rp1 54 ip address add 198.51.100.2/24 dev $rp2 59 ip address del 198.51.100.2/24 dev $rp2 60 ip address del 192.0.2.2/24 dev $rp1 102 local test_name=$@; shift 103 local smac=$(mac_get $rp2) 111 # match on source MAC because it is not set in eACL after routing 117 # source MAC 122 $MZ $h1 -a own -b $(mac_get $rp1) -t udp "sp=12345,dp=54321" \ [all …]
|
D | rif_mac_profile_scale.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test for RIF MAC profiles resource. The test adds VLAN netdevices according to 5 # the maximum number of RIF MAC profiles, sets each of them with a random 6 # MAC address, and checks that eventually the number of occupied RIF MAC 7 # profiles equals the maximum number of RIF MAC profiles. 14 local count=$1; shift 15 local should_fail=$1; shift 16 local batch_file="$(mktemp)" 22 cat >> $batch_file <<-EOF 24 address 00:$m:$m:$m:$m:$m type vlan id $vlan [all …]
|
D | vxlan.sh | 2 # SPDX-License-Identifier: GPL-2.0 92 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 99 log_test "vxlan device - valid configuration" 109 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 116 log_test "vxlan device with a vlan-aware bridge" 126 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 144 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 \ 170 log_test "vxlan device with no local ip" 180 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 198 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 dev dummy1 [all …]
|
/linux-6.12.1/net/core/ |
D | of_net.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/nvmem-consumer.h> 18 * of_get_phy_mode - Get phy mode for given device_node 22 * The function gets phy interface string from property 'phy-mode' or 23 * 'phy-connection-type'. The index in phy_modes table is set in 25 * PHY_INTERFACE_MODE_NA and an errno is returned, e.g. -ENODEV. 34 err = of_property_read_string(np, "phy-mode", &pm); in of_get_phy_mode() 36 err = of_property_read_string(np, "phy-connection-type", &pm); in of_get_phy_mode() 46 return -ENODEV; in of_get_phy_mode() 54 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) { in of_get_mac_addr() [all …]
|
/linux-6.12.1/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_3xxx.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * use. Because of this, it contains a super-set of the available 15 phy0: ethernet-phy@0 { 17 marvell,reg-init = 21 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */ 22 /* irq, blink-activity, blink-link */ 23 <3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */ 27 phy1: ethernet-phy@1 { 29 marvell,reg-init = 33 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */ [all …]
|
D | octeon_68xx.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 * use. Because of this, it contains a super-set of the available 11 compatible = "cavium,octeon-6880"; 12 #address-cells = <2>; 13 #size-cells = <2>; 14 interrupt-parent = <&ciu2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/falcon/ |
D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 15 * enum ef4_filter_match_flags - Flags for hardware filter match type 16 * @EF4_FILTER_MATCH_REM_HOST: Match by remote IP host address 17 * @EF4_FILTER_MATCH_LOC_HOST: Match by local IP host address 18 * @EF4_FILTER_MATCH_REM_MAC: Match by remote MAC address 20 * @EF4_FILTER_MATCH_LOC_MAC: Match by local MAC address 21 * @EF4_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port 22 * @EF4_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 26 * @EF4_FILTER_MATCH_LOC_MAC_IG: Match by local MAC address I/G bit. [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 15 * enum efx_filter_match_flags - Flags for hardware filter match type 16 * @EFX_FILTER_MATCH_REM_HOST: Match by remote IP host address 17 * @EFX_FILTER_MATCH_LOC_HOST: Match by local IP host address 18 * @EFX_FILTER_MATCH_REM_MAC: Match by remote MAC address 20 * @EFX_FILTER_MATCH_LOC_MAC: Match by local MAC address 21 * @EFX_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port 22 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 26 * @EFX_FILTER_MATCH_LOC_MAC_IG: Match by local MAC address I/G bit. [all …]
|
/linux-6.12.1/tools/testing/selftests/net/forwarding/ |
D | vxlan_bridge_1d.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +--------------------+ +----------------------+ 8 # +----|---------------+ +--|-------------------+ 10 # +----|--------------------------------------------------|-------------------+ 12 # | +--|--------------------------------------------------|-----------------+ | 16 # | | local 192.0.2.17 | | 19 # | +-----------------------------------------------------------------------+ | 26 # +----|----------------------------------------------------------------------+ 28 # +----|--------------------------------------------------------+ 37 # +----|---------------------------------------|----------------+ [all …]
|
D | vxlan_bridge_1q.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 13 # +----|------------------+ +----|-------------------+ 15 # +----|--------------------------------------------------|-------------------+ 17 # | +--|--------------------------------------------------|-----------------+ | 23 # | | local 192.0.2.17 local 192.0.2.17 | | 27 # | +-----------------------------------------------------------------------+ | 34 # +----|----------------------------------------------------------------------+ 36 # +----|--------------------------------------------------------+ 45 # +----|---------------------------------------|----------------+ [all …]
|
D | lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 declare -A NETIFS=( 41 # Constants for netdevice bring-up: 45 # Like INTERFACE_TIMEOUT, but default for ad-hoc waiting in testing scripts. 73 # Whether to override MAC addresses on interfaces participating in the test. 82 # Whether the machine is "slow" -- i.e. might be incapable of running tests 84 # e.g. a low-power board. 88 # Find netifs by test-specified driver name 92 local dev=$1; shift 93 local driver_path="/sys/class/net/$dev/device/driver" [all …]
|
D | vxlan_bridge_1q_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 19 # | +--|--------------------------------------------------|-----------------+ | 25 # | | local: local: | | 31 # | +-----------------------------------------------------------------------+ | 38 # +----|----------------------------------------------------------------------+ 40 # +----|----------------------------------------------------------+ 49 # +----|---------------------------------------|------------------+ [all …]
|
D | vxlan_bridge_1d_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 9 # +----|------------------+ +----|-------------------+ 11 # +----|--------------------------------------------------|-------------------+ 13 # | +--|--------------------------------------------------|-----------------+ | 17 # | | local 2001:db8:3::1 | | 20 # | +-----------------------------------------------------------------------+ | 27 # +----|----------------------------------------------------------------------+ 29 # +----|----------------------------------------------------------+ 38 # +----|---------------------------------------|------------------+ [all …]
|
D | bridge_fdb_learning_limit.sh | 2 # SPDX-License-Identifier: GPL-2.0 24 'local 0 1' 27 mac() function 32 H1_DEFAULT_MAC=$(mac 42) 40 # swp3 is used to add local MACs, so do not add it to the bridge yet. 42 # swp2 is only used for replying when learning on swp1, its MAC should not be learned. 105 ip -d -j link show dev br0 type bridge | \ 111 local mac=${1} 113 bridge -j fdb show br br0 | \ 114 jq "map(select(.mac == \"${mac}\" and (has(\"vlan\") | not))) | length" [all …]
|
D | local_termination.sh | 2 # SPDX-License-Identifier: GPL-2.0 105 # Disable promisc to ensure we don't receive unknown MAC DA packets 106 export TCPDUMP_EXTRA_FLAGS="-pl" 113 local if_name=$1; shift 114 local pkt="$1"; shift 115 local smac=$(mac_get $if_name) 119 $MZ -q $if_name "$pkt" 124 local if_name=$1 125 local dmac=$2 134 local if_name=$1; shift [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 16 * enum efx_filter_match_flags - Flags for hardware filter match type 17 * @EFX_FILTER_MATCH_REM_HOST: Match by remote IP host address 18 * @EFX_FILTER_MATCH_LOC_HOST: Match by local IP host address 19 * @EFX_FILTER_MATCH_REM_MAC: Match by remote MAC address 21 * @EFX_FILTER_MATCH_LOC_MAC: Match by local MAC address 22 * @EFX_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port 23 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 27 * @EFX_FILTER_MATCH_LOC_MAC_IG: Match by local MAC address I/G bit. [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | cavium-pip.txt | 10 - compatible: "cavium,octeon-3860-pip" 14 - reg: The base address of the PIP's register bank. 16 - #address-cells: Must be <1>. 18 - #size-cells: Must be <0>. 21 - compatible: "cavium,octeon-3860-pip-interface" 25 - reg: The interface number. 27 - #address-cells: Must be <1>. 29 - #size-cells: Must be <0>. 32 - compatible: "cavium,octeon-3860-pip-port" 36 - reg: The port number within the interface group. [all …]
|
D | engleder,tsnep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TSN endpoint Ethernet MAC 10 - Gerhard Engleder <gerhard@engleder-embedded.com> 13 - $ref: ethernet-controller.yaml# 26 interrupt-names: 29 - const: mac 30 - const: txrx-1 31 - const: txrx-2 [all …]
|
D | qca,qca7000.txt | 3 The QCA7000 is a serial-to-powerline bridge with a host interface which could 13 - compatible : Should be "qca,qca7000" 14 - reg : Should specify the SPI chip select 15 - interrupts : The first cell should specify the index of the source 18 - spi-cpha : Must be set 19 - spi-cpol : Must be set 22 - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at. 26 - qca,legacy-mode : Set the SPI data transfer of the QCA7000 to legacy mode. 33 The MAC address will be determined using the optional properties 40 #address-cells = <1>; [all …]
|
D | asix,ax88178.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Oleksij Rempel <o.rempel@pengutronix.de> 16 - $ref: ethernet-controller.yaml# 21 - enum: 22 - usbb95,1720 # ASIX AX88172 23 - usbb95,172a # ASIX AX88172A 24 - usbb95,1780 # ASIX AX88178 25 - usbb95,7720 # ASIX AX88772 [all …]
|
/linux-6.12.1/arch/arm/mach-mvebu/ |
D | kirkwood.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * arch/arm/mach-mvebu/kirkwood.c 20 #include <asm/hardware/cache-feroceon-l2.h> 24 #include "kirkwood-pm.h" 36 .name = "kirkwood-cpufreq", 37 .id = -1, 57 .id = -1, 75 * The ethernet interfaces forget the MAC address assigned by u-boot in kirkwood_dt_eth_fixup() 76 * if the clocks are turned off. Usually, u-boot on kirkwood boards in kirkwood_dt_eth_fixup() 77 * has no DT support to properly set local-mac-address property. in kirkwood_dt_eth_fixup() [all …]
|
/linux-6.12.1/net/ethernet/ |
D | eth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Ethernet-type device handling. 14 * Florian La Roche, <rzsfl@rz.uni-sb.de> 29 * Alan Cox : MAC layer pointers/new format. 34 * Andrew Morton : 26Feb01: kill ether_setup() - use netdev_boot_setup(). 46 #include <linux/nvmem-consumer.h> 67 * eth_header - create the Ethernet header 71 * @daddr: destination address (NULL leave destination address) 72 * @saddr: source address (NULL use device source address) 73 * @len: packet length (<= skb->len) [all …]
|
/linux-6.12.1/arch/powerpc/boot/ |
D | treeboot-akebono.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Copyright 2002-2005 MontaVista Software Inc. 80 /* Disable SD high-speed mode (which seems to be broken) */ in ibm_akebono_fixups() 84 /* Set the MAC address */ in ibm_akebono_fixups() 88 setprop(emac, "local-mac-address", in ibm_akebono_fixups() 102 userdata[USERDATA_LEN - 1] = '\0'; in platform_init() 104 for (i = 0; i < userdata_len - 15; i++) { in platform_init() 105 if (strncmp(&userdata[i], "local-mac-addr=", 15) == 0) { in platform_init() 106 if (i > 0 && userdata[i - 1] != ' ') { in platform_init() 108 * with local-mac-addr so this isn't in platform_init() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | srv6_hl2encap_red_l2vpn_test.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # In this example, hosts hs-1 and hs-2 are connected through an L2 VPN service. 11 # Currently, the SRv6 subsystem in Linux allows hosts hs-1 and hs-2 to exchange 14 # Routers rt-1,rt-2,rt-3 and rt-4 implement L2 VPN services 22 # Policy) by storing it into the IPv6 Destination Address. When a SRv6 35 # +--------+ +--------+ 37 # | hs-1 | | hs-2 | 39 # +---+----+ +--- +---+ 42 # +---+----+ +----+---+ 44 # | rt-1 +-------------------+ rt-2 | [all …]
|
12345678910>>...26