Searched refs:smac (Results 51 - 75 of 75) sorted by path

123

/linux-master/drivers/net/ethernet/mscc/
H A Docelot_vcap.c396 etype->smac.value, etype->smac.mask);
418 llc->smac.value, llc->smac.mask);
434 snap->smac.value, snap->smac.mask);
445 arp->smac.value, arp->smac.mask);
709 etype->smac.value, etype->smac
[all...]
/linux-master/drivers/net/ethernet/sun/
H A Dsungem.c469 u32 smac = readl(gp->regs + MAC_SMACHINE); local
471 netdev_err(dev, "RX MAC fifo overflow smac[%08x]\n", smac);
/linux-master/include/linux/mlx4/
H A Dcq.h54 u8 smac[ETH_ALEN]; member in union:mlx4_cqe::__anon394
/linux-master/include/rdma/
H A Dib_cache.h32 u16 *vlan_id, u8 *smac);
H A Dib_verbs.h1035 u8 smac[ETH_ALEN]; member in struct:ib_wc
/linux-master/include/soc/mscc/
H A Docelot_vcap.h506 struct ocelot_vcap_u48 smac; member in struct:ocelot_vcap_key_etype
513 struct ocelot_vcap_u48 smac; member in struct:ocelot_vcap_key_llc
521 struct ocelot_vcap_u48 smac; member in struct:ocelot_vcap_key_snap
528 struct ocelot_vcap_u48 smac; member in struct:ocelot_vcap_key_arp
/linux-master/include/uapi/linux/
H A Dbpf.h3370 * or ipv6_dst based on family, smac is set to mac address of
3391 * and *params*->smac will not be set as output. A common
3398 * case, *params*->dmac and *params*->smac are not set either.
7222 __u8 smac[6]; /* ETH_ALEN */ member in struct:bpf_fib_lookup::__anon3000::__anon3002
/linux-master/include/uapi/rdma/
H A Dvmw_pvrdma-abi.h305 __u8 smac[6]; member in struct:pvrdma_cqe
/linux-master/net/core/
H A Dfilter.c5989 memcpy(params->smac, dev->dev_addr, ETH_ALEN);
6131 memcpy(params->smac, dev->dev_addr, ETH_ALEN);
/linux-master/net/dsa/
H A Dtag_sja1105.c127 u64 smac = ether_addr_to_u64(hdr->h_source); local
130 if (smac != SJA1105_META_SMAC)
/linux-master/samples/bpf/
H A Dtest_lwt_bpf.c162 uint64_t smac = SRC_MAC, dmac = DST_MAC; local
172 memcpy(&ehdr.h_source, &smac, 6);
H A Dxdp_fwd_kern.c139 memcpy(eth->h_source, fib_params.smac, ETH_ALEN);
/linux-master/tools/include/uapi/linux/
H A Dbpf.h3370 * or ipv6_dst based on family, smac is set to mac address of
3391 * and *params*->smac will not be set as output. A common
3398 * case, *params*->dmac and *params*->smac are not set either.
7222 __u8 smac[6]; /* ETH_ALEN */ member in struct:bpf_fib_lookup::__anon3610::__anon3612
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_padding.c186 char smac[6]; member in struct:ib_wc
H A Dtest_tc_neigh_fib.c135 __builtin_memcpy(eth->h_source, fib_params.smac, ETH_ALEN);
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap.sh89 local smac=01:02:03:04:05:06
94 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip -q &
H A Ddevlink_trap_l2_drops.sh99 local smac=01:02:03:04:05:06
103 flower src_mac $smac action drop
105 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip -d 1msec -q &
427 local smac=00:11:22:33:44:55
435 -a $smac -b $(mac_get $h2) -A 192.0.2.1 -B 192.0.2.2 -p 100 -q
441 -a $smac -b $(mac_get $h2) -A 192.0.2.1 -B 192.0.2.2 -p 100 -q
447 -a $smac -b $(mac_get $h2) -A 192.0.2.1 -B 192.0.2.2 -p 100 -q
452 bridge fdb replace $smac dev $swp1 master static vlan 1
455 -a $smac -b $(mac_get $h2) -A 192.0.2.1 -B 192.0.2.2 -p 100 -q
458 bridge fdb del $smac de
[all...]
H A Drif_mac_profiles.sh103 local smac=$(mac_get $rp2)
119 flower skip_sw src_mac $smac ip_proto udp src_port 12345 \
/linux-master/tools/testing/selftests/net/forwarding/
H A Dlocal_termination.sh53 local smac=$2
56 $MZ -q $if_name "$dmac $smac $NON_IP_PKT"
108 local smac=$(mac_get $h1)
151 "$smac > $rcv_dmac, ethertype IPv4 (0x0800)" \
155 "$smac > $MACVLAN_ADDR, ethertype IPv4 (0x0800)" \
160 "$smac > $UNKNOWN_UC_ADDR1, ethertype IPv4 (0x0800)" \
164 "$smac > $UNKNOWN_UC_ADDR2, ethertype IPv4 (0x0800)" \
170 "$smac > $UNKNOWN_UC_ADDR3, ethertype IPv4 (0x0800)" \
174 "$smac > $JOINED_MACV4_MC_ADDR, ethertype IPv4 (0x0800)" \
180 "$smac >
[all...]
H A Dno_forwarding.sh34 local smac=$2
37 $MZ -q $if_name "$dmac $smac $NON_IP_PKT"
93 local smac=$(mac_get $h1)
102 send_non_ip $h1 $smac $dmac
103 send_non_ip $h1 $smac $NON_IP_MC
104 send_non_ip $h1 $smac $BC
114 send_non_ip $h1.$vid $smac $dmac
115 send_non_ip $h1.$vid $smac $NON_IP_MC
116 send_non_ip $h1.$vid $smac $BC
133 "$smac >
[all...]
H A Dtc_flower_l2_miss.sh301 local smac=00:01:02:03:04:05
306 flower l2_miss 1 dst_mac $dmac src_mac $smac \
309 flower l2_miss 0 dst_mac $dmac src_mac $smac \
312 $MZ $h1 -a $smac -b $dmac -c 1 -p 100 -q
H A Dtc_flower_port_range.sh84 local smac=$(mac_get $h1)
105 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
112 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
119 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
128 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
130 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
132 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
134 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
136 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
/linux-master/tools/testing/selftests/net/
H A Dgro.c89 static char *smac = "aa:00:00:00:00:02"; variable
1256 { "smac", required_argument, NULL, 'S' },
1289 smac = optarg;
1318 read_MAC(src_mac, smac);
H A Dtest_bridge_backup_port.sh248 local smac=00:aa:bb:cc:dd:ee
255 run_cmd "tc -n $sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass"
258 run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass"
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 ip -p 100 -q -c 1"
275 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
292 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
302 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
312 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
324 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
334 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac
[all...]
H A Dtest_vxlan_nolocalbypass.sh120 local smac=00:01:02:03:04:05
126 run_cmd "tc -n $ns1 filter 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"

Completed in 554 milliseconds

123