Searched refs:h_source (Results 76 - 100 of 189) sorted by relevance

12345678

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c431 memcpy(encap->eth.h_dest, encap->eth.h_source,
433 memcpy(encap->eth.h_source, temp, sizeof(encap->eth.h_source));
H A Dxdp_synproxy_kern.c544 swap_eth_addr(hdr->eth->h_source, hdr->eth->h_dest);
567 swap_eth_addr(hdr->eth->h_source, hdr->eth->h_dest);
/linux-master/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c398 memcpy(sol->eth.h_source, fip->ctl_src_addr, ETH_ALEN);
557 memcpy(kal->eth.h_source, sa, ETH_ALEN);
640 memcpy(cap->eth.h_source, fip->ctl_src_addr, ETH_ALEN);
1346 if (!ether_addr_equal(eh->h_source, fcf->fcf_mac)) {
1348 "mismatch with FCF src=%pM\n", eh->h_source);
1904 sa = eth_hdr(&fp->skb)->h_source;
2050 hton24(frame->eth.h_source, FIP_VN_FC_MAP);
2051 hton24(frame->eth.h_source + 3, fip->port_id);
2053 memcpy(frame->eth.h_source, fip->ctl_src_addr, ETH_ALEN);
2921 memcpy(frame->eth.h_source, fi
[all...]
H A Dfcoe.c1371 !ether_addr_equal(eh->h_source, ctlr->dest_addr)) {
1373 eh->h_source);
1567 memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN);
1569 memcpy(eh->h_source, port->data_src_addr, ETH_ALEN);
/linux-master/net/netfilter/ipset/
H A Dip_set_bitmap_ipmac.c230 ether_addr_copy(e.ether, eth_hdr(skb)->h_source);
/linux-master/tools/testing/selftests/net/
H A Dtap.c226 memcpy(eth->h_source, param_hwaddr_src, ETH_ALEN);
H A Dmsg_zerocopy.c502 memset(eth.h_source, 0x02, ETH_ALEN);
/linux-master/drivers/net/hamradio/
H A Dbpqether.c202 !ether_addr_equal(eth->h_source, bpq->acpt_addr))
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dtxrx.h612 return eth->h_source;
/linux-master/drivers/staging/wlan-ng/
H A Dp80211conv.c478 orinoco_spy_gather(wlandev, eth_hdr(skb)->h_source,
/linux-master/include/linux/
H A Dif_vlan.h43 * @h_source: source ethernet address
51 unsigned char h_source[ETH_ALEN];
/linux-master/include/net/
H A Dllc_pdu.h265 memcpy(sa, eth_hdr(skb)->h_source, ETH_ALEN);
/linux-master/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c370 oeth->h_source, oeth->h_dest, nskb->len) < 0) {
/linux-master/net/netfilter/
H A Dnf_log_syslog.c83 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest);
791 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest);
/linux-master/drivers/net/ppp/
H A Dpppoe.c447 po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex);
504 po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex);
/linux-master/drivers/staging/ks7010/
H A Dks_hostif.c399 eth_hdr->h_source);
434 if (ether_addr_equal(&priv->eth_addr[0], eth_hdr->h_source)) {
436 netdev_err(priv->net_dev, "eth_hdrernet->h_dest=%pM\n", eth_hdr->h_source);
1103 if (!ether_addr_equal(&priv->eth_addr[0], eth->h_source)) {
1105 "Invalid mac address: ethernet->h_source=%pM\n",
1106 eth->h_source);
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c111 eth_zero_addr(ehdr->h_source);
114 ether_addr_copy(ehdr->h_source, attr->src);
275 if (!ether_addr_equal_unaligned(ehdr->h_source, ehdr->h_dest))
278 if (!ether_addr_equal_unaligned(ehdr->h_source, src))
723 if (!ether_addr_equal_unaligned(ehdr->h_source, orig_ndev->dev_addr))
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c827 if (!is_zero_ether_addr(eth_mask->h_source)) {
828 ether_addr_copy(pkt->smac, eth_hdr->h_source);
829 ether_addr_copy(pmask->smac, eth_mask->h_source);
/linux-master/drivers/net/
H A Dmacvlan.c470 if (macvlan_forward_source(skb, port, eth->h_source)) {
474 src = macvlan_hash_lookup(port, eth->h_source);
494 if (macvlan_forward_source(skb, port, eth->h_source)) {
/linux-master/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c429 &fs->h_u.ether_spec.h_source,
430 &fs->m_u.ether_spec.h_source,
431 sizeof(fs->h_u.ether_spec.h_source));
/linux-master/net/bridge/
H A Dbr_cfm.c199 ether_addr_copy(eth_hdr->h_source, mep->config.unicast_mac.addr);
/linux-master/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c345 netdev_dbg(netdev, "Src MAC addr: %pM\n", eth->h_source);
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dselftest.c388 ether_addr_copy((u8 *)&payload->header.h_source, payload_source);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c390 ether_addr_copy((u8 *)&payload->header.h_source, payload_source);
/linux-master/drivers/net/ethernet/sfc/
H A Dselftest.c387 ether_addr_copy((u8 *)&payload->header.h_source, payload_source);

Completed in 533 milliseconds

12345678