Lines Matching +full:mac +full:- +full:address
1 // SPDX-License-Identifier: GPL-2.0-only
3 * llc_output.c - LLC minimal output path
6 * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
17 * llc_mac_hdr_init - fills MAC header fields
18 * @skb: Address of the frame to initialize its MAC header
19 * @sa: The MAC source address
20 * @da: The MAC destination address
22 * Fills MAC header fields, depending on MAC type. Returns 0, If MAC type
28 int rc = -EINVAL; in llc_mac_hdr_init()
30 switch (skb->dev->type) { in llc_mac_hdr_init()
33 rc = dev_hard_header(skb, skb->dev, ETH_P_802_2, da, sa, in llc_mac_hdr_init()
34 skb->len); in llc_mac_hdr_init()
45 * llc_build_and_send_ui_pkt - unitdata request interface for upper layers
48 * @dmac: destination mac address
52 * using connection-less mode communication (UI pdu).
54 * Accept data frame from network layer to be sent using connection-
62 llc_pdu_header_init(skb, LLC_PDU_TYPE_U, sap->laddr.lsap, in llc_build_and_send_ui_pkt()
65 rc = llc_mac_hdr_init(skb, skb->dev->dev_addr, dmac); in llc_build_and_send_ui_pkt()