Lines Matching refs:memcpy
24 memcpy(buf + pos, &addr->pan_id, 2); in ieee802154_hdr_push_addr()
30 memcpy(buf + pos, &addr->short_addr, 2); in ieee802154_hdr_push_addr()
35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_addr()
51 memcpy(buf, hdr, 1); in ieee802154_hdr_push_sechdr()
52 memcpy(buf + 1, &hdr->frame_counter, 4); in ieee802154_hdr_push_sechdr()
62 memcpy(buf + pos, &hdr->short_src, 4); in ieee802154_hdr_push_sechdr()
67 memcpy(buf + pos, &hdr->extended_src, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_sechdr()
115 memcpy(buf, fc, 2); in ieee802154_hdr_push()
117 memcpy(skb_push(skb, pos), buf, pos); in ieee802154_hdr_push()
135 memcpy(&addr->pan_id, buf + pos, 2); in ieee802154_hdr_get_addr()
140 memcpy(&addr->short_addr, buf + pos, 2); in ieee802154_hdr_get_addr()
143 memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN); in ieee802154_hdr_get_addr()
165 memcpy(hdr, buf, 1); in ieee802154_hdr_get_sechdr()
166 memcpy(&hdr->frame_counter, buf + 1, 4); in ieee802154_hdr_get_sechdr()
176 memcpy(&hdr->short_src, buf + pos, 4); in ieee802154_hdr_get_sechdr()
181 memcpy(&hdr->extended_src, buf + pos, IEEE802154_ADDR_LEN); in ieee802154_hdr_get_sechdr()
241 memcpy(hdr, skb->data, 3); in ieee802154_hdr_pull()
272 memcpy(hdr, buf, 3); in ieee802154_hdr_peek_addrs()