| /tools/testing/selftests/net/forwarding/ |
| A D | tc_flower_l2_miss.sh | 73 local dmac=00:01:02:03:04:05 109 bridge fdb del $dmac dev $swp2 master static 130 local dmac=$1; shift 187 local dmac=01:00:5e:01:01:01 199 local dmac=33:33:00:00:00:01 237 local dmac=$1; shift 246 local dmac=$1; shift 271 local dmac=01:00:5e:00:00:01 283 local dmac=33:33:00:00:00:01 300 local dmac=ff:ff:ff:ff:ff:ff [all …]
|
| A D | no_forwarding.sh | 35 local dmac=$3 43 local dmac=$2 60 local dmac=$2 94 local dmac=$(mac_get $h2) 102 send_non_ip $h1 $smac $dmac 105 send_uc_ipv4 $h1 $dmac 107 send_uc_ipv6 $h1 $dmac 114 send_non_ip $h1.$vid $smac $dmac 117 send_uc_ipv4 $h1.$vid $dmac 119 send_uc_ipv6 $h1.$vid $dmac [all …]
|
| A D | tc_flower_port_range.sh | 84 local dmac=$(mac_get $h2) 106 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 113 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 120 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 129 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 131 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 133 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 135 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 137 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 206 local dmac=$(mac_get $h2) [all …]
|
| A D | bridge_mdb.sh | 1003 local dmac=$1; shift 1065 local dmac=01:02:03:04:05:06 1070 dst_mac $dmac action drop 1074 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q 1081 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q 1087 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q 1094 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q 1120 local dmac=$1; shift 1212 local dmac=01:02:03:04:05:06 1217 dst_mac $dmac action drop [all …]
|
| A D | lib.sh | 1522 local dmac=$1; shift 1526 -a own -b $dmac -t "$proto" -q "${mz_args[@]}" & 1536 local dmac=$1; shift 1539 __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ 1549 local dmac=$1; shift 1552 __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ 1561 local dmac=$1; shift 1564 start_traffic_pktsize 8000 "$h_in" "$sip" "$dip" "$dmac" \ 1573 local dmac=$1; shift 1576 start_tcp_traffic_pktsize 8000 "$h_in" "$sip" "$dip" "$dmac" \
|
| A D | bridge_mdb_max.sh | 255 local dmac=01:00:5e:01:01:$(printf "%02x" $grp) 256 $MZ $peer -a own -b $dmac -c 1 -A 192.0.2.1 -B $GRP \ 276 local dmac=01:00:5e:00:00:02 277 $MZ $peer -a own -b $dmac -c 1 -A 192.0.2.1 -B 224.0.0.2 \ 294 local dmac=33:33:00:00:00:$(printf "%02x" $grp) 296 $MZ -6 $peer -a own -b $dmac -c 1 -A $SIP -B $GRP \ 317 local dmac=33:33:00:00:00:$(printf "%02x" $grp) 319 $MZ -6 $peer -a own -b $dmac -c 1 -A $SIP -B $GRP \
|
| A D | router.sh | 240 local dmac=01:02:03:04:05:06 249 $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $dmac \
|
| A D | local_termination.sh | 124 local dmac=$2 126 ip neigh add $H2_IPV4 lladdr $dmac dev $if_name
|
| /tools/testing/selftests/net/ |
| A D | test_bridge_backup_port.sh | 247 local dmac=00:11:22:33:44:55 260 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10" 265 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t … 343 local dmac=00:11:22:33:44:55 360 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10" 361 run_cmd "bridge -n $sw1 fdb replace $dmac dev vx0 self static dst 192.0.2.36 src_vni 10010" 479 local dmac=00:11:22:33:44:55 505 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10" 653 local dmac=00:11:22:33:44:55 671 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10" [all …]
|
| A D | test_vxlan_nolocalbypass.sh | 121 local dmac=00:0a:0b:0c:0d:0e 123 run_cmd "bridge -n $ns1 fdb add $dmac dev vx0 self static dst 192.0.2.1 port 4790" 126 …ter add dev vx1 ingress pref 1 handle 101 proto all flower src_mac $smac dst_mac $dmac action pass" 134 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q" 144 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q" 154 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
|
| A D | gro.c | 90 static char *dmac = "aa:00:00:00:00:01"; variable 1277 dmac = optarg; in parse_args() 1319 read_MAC(dst_mac, dmac); in main()
|
| A D | fib_tests.sh | 2565 local dmac=$(ip -n $ns2 -j link show dev veth2 | jq -r '.[]["address"]') 2567 local cmd="ip netns exec $ns1 mausezahn veth1 -a own -b $dmac 2610 local dmac=$(ip -n $ns2 -j link show dev veth2 | jq -r '.[]["address"]') 2612 local cmd="ip netns exec $ns1 mausezahn -6 veth1 -a own -b $dmac
|
| /tools/testing/selftests/drivers/net/mlxsw/ |
| A D | devlink_trap_l2_drops.sh | 120 local dmac=de:ad:be:ef:13:37 129 flower dst_mac $dmac action drop 180 local dmac=de:ad:be:ef:13:37 189 flower dst_mac $dmac action drop 222 local dmac=de:ad:be:ef:13:37 232 flower dst_mac $dmac action drop 291 local dmac=de:ad:be:ef:13:37 302 flower dst_mac $dmac action drop 333 local dmac=01:00:5e:00:00:01 347 flower dst_mac $dmac action drop [all …]
|
| A D | devlink_trap_l3_drops.sh | 196 local dmac=01:02:03:04:05:06 207 $MZ $h1 $flags -t udp "sp=54321,dp=12345" -c 0 -p 100 -b $dmac \
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | fib_lookup.c | 53 __u8 dmac[6]; member 62 .dmac = DMAC_INIT, }, 70 .dmac = DMAC_INIT, }, 81 .dmac = DMAC_INIT2, }, 89 .dmac = DMAC_INIT2, }, 355 ret = memcmp(tests[i].dmac, fib_params->dmac, sizeof(tests[i].dmac)); in test_fib_lookup() 359 mac_str(expected, tests[i].dmac); in test_fib_lookup() 360 mac_str(actual, fib_params->dmac); in test_fib_lookup()
|
| /tools/testing/selftests/bpf/ |
| A D | test_iptunnel_common.h | 31 __u8 dmac[6]; member
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_tc_neigh_fib.c | 134 __builtin_memcpy(eth->h_dest, fib_params.dmac, ETH_ALEN); in tc_redir()
|
| A D | test_xdp.c | 75 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr()
|
| A D | test_xdp_loop.c | 71 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr()
|
| A D | test_xdp_dynptr.c | 73 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr()
|
| /tools/testing/selftests/drivers/net/ocelot/ |
| A D | basic_qos.sh | 204 local dmac=$(mac_get ${h2})
|
| /tools/include/uapi/linux/ |
| A D | bpf.h | 7332 __u8 dmac[6]; /* ETH_ALEN */ member
|