Home
last modified time | relevance | path

Searched refs:dmac (Results 1 – 11 of 11) sorted by relevance

/net/bridge/netfilter/
Debt_among.c136 const char *dmac, *smac; in ebt_among_mt() local
159 dmac = eth_hdr(skb)->h_dest; in ebt_among_mt()
164 if (!ebt_mac_wormhash_contains(wh_dst, dmac, dip)) in ebt_among_mt()
168 if (ebt_mac_wormhash_contains(wh_dst, dmac, dip)) in ebt_among_mt()
/net/llc/
Dllc_output.c59 unsigned char *dmac, unsigned char dsap) in llc_build_and_send_ui_pkt() argument
65 rc = llc_mac_hdr_init(skb, skb->dev->dev_addr, dmac); in llc_build_and_send_ui_pkt()
Dllc_sap.c232 struct sk_buff *skb, u8 *dmac, u8 dsap) in llc_build_and_send_test_pkt() argument
239 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); in llc_build_and_send_test_pkt()
258 u8 *dmac, u8 dsap) in llc_build_and_send_xid_pkt() argument
265 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); in llc_build_and_send_xid_pkt()
Dllc_if.c83 int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap) in llc_establish_connection() argument
93 memcpy(daddr.mac, dmac, sizeof(daddr.mac)); in llc_establish_connection()
Dllc_c_ac.c784 u8 *dmac = llc->daddr.mac; in llc_conn_ac_send_sabme_cmd_p_set_x() local
787 dmac = llc->dev->dev_addr; in llc_conn_ac_send_sabme_cmd_p_set_x()
791 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, dmac); in llc_conn_ac_send_sabme_cmd_p_set_x()
/net/dsa/
Dtag_sja1105.c66 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_link_local() local
70 if ((dmac & SJA1105_LINKLOCAL_FILTER_A_MASK) == in sja1105_is_link_local()
73 if ((dmac & SJA1105_LINKLOCAL_FILTER_B_MASK) == in sja1105_is_link_local()
113 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_meta_frame() local
117 if (dmac != SJA1105_META_DMAC) in sja1105_is_meta_frame()
/net/bridge/
Dbr_cfm_netlink.c366 nla_memcpy(&tx_info.dmac.addr, in br_cc_ccm_tx_parse()
368 sizeof(tx_info.dmac.addr)); in br_cc_ccm_tx_parse()
557 sizeof(mep->cc_ccm_tx_info.dmac), in br_cfm_config_fill_info()
558 mep->cc_ccm_tx_info.dmac.addr)) in br_cfm_config_fill_info()
Dbr_private_cfm.h71 struct mac_addr dmac; member
Dbr_cfm.c198 ether_addr_copy(eth_hdr->h_dest, tx_info->dmac.addr); in ccm_frame_build()
/net/smc/
Dsmc_ib.c73 memcpy(&qp_attr.ah_attr.roce.dmac, lnk->peer_mac, in smc_ib_modify_qp_rtr()
/net/core/
Dfilter.c5534 memcpy(params->dmac, neigh->ha, ETH_ALEN); in bpf_ipv4_fib_lookup()
5673 memcpy(params->dmac, neigh->ha, ETH_ALEN); in bpf_ipv6_fib_lookup()