Home
last modified time | relevance | path

Searched refs:SMEMCPY (Results 1 – 22 of 22) sorted by relevance

/third_party/lwip/src/apps/snmp/
Dsnmpv3.c117 SMEMCPY(&priv_param[0], &priv1, sizeof(priv1)); in snmpv3_build_priv_param()
118 SMEMCPY(&priv_param[4], &priv2, sizeof(priv2)); in snmpv3_build_priv_param()
128 SMEMCPY(&priv_param[0], &boots, 4); in snmpv3_build_priv_param()
129 SMEMCPY(&priv_param[4], &ctr, 4); in snmpv3_build_priv_param()
Dsnmpv3_mbedtls.c202 SMEMCPY(iv_local + 8, priv_param, 8); in snmpv3_crypt()
277 SMEMCPY(password_buf, key, 16); in snmpv3_password_to_key_md5()
279 SMEMCPY(password_buf + 16 + engineLength, key, 16); in snmpv3_password_to_key_md5()
330 SMEMCPY(password_buf, key, 20); in snmpv3_password_to_key_sha()
332 SMEMCPY(password_buf + 20 + engineLength, key, 20); in snmpv3_password_to_key_sha()
/third_party/lwip/src/apps/smtp/
Dsmtp.c1042 SMEMCPY(s->tx_buf, SMTP_CMD_EHLO_1, SMTP_CMD_EHLO_1_LEN); in smtp_prepare_helo()
1044 SMEMCPY(&s->tx_buf[SMTP_CMD_EHLO_1_LEN + ipa_len], SMTP_CMD_EHLO_2, SMTP_CMD_EHLO_2_LEN); in smtp_prepare_helo()
1074 SMEMCPY(s->tx_buf, SMTP_CMD_AUTHPLAIN_1, SMTP_CMD_AUTHPLAIN_1_LEN); in smtp_prepare_auth_or_mail()
1082 SMEMCPY(&s->tx_buf[SMTP_CMD_AUTHPLAIN_1_LEN + auth_len], SMTP_CMD_AUTHPLAIN_2, in smtp_prepare_auth_or_mail()
1092 SMEMCPY(s->tx_buf, SMTP_CMD_AUTHLOGIN, SMTP_CMD_AUTHLOGIN_LEN); in smtp_prepare_auth_or_mail()
1117 SMEMCPY(&s->tx_buf[base64_len], SMTP_CRLF, SMTP_CRLF_LEN); in smtp_prepare_auth_login_uname()
1133 SMEMCPY(&s->tx_buf[base64_len], SMTP_CRLF, SMTP_CRLF_LEN); in smtp_prepare_auth_login_pass()
1148 SMEMCPY(target, SMTP_CMD_MAIL_1, SMTP_CMD_MAIL_1_LEN); in smtp_prepare_mail()
1152 SMEMCPY(target, SMTP_CMD_MAIL_2, SMTP_CMD_MAIL_2_LEN); in smtp_prepare_mail()
1165 SMEMCPY(target, SMTP_CMD_RCPT_1, SMTP_CMD_RCPT_1_LEN); in smtp_prepare_rcpt()
[all …]
/third_party/lwip/src/include/lwip/prot/
Detharp.h71 #define IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t))
78 #define IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t))
/third_party/lwip/src/core/ipv4/
Dip4_frag.c185 SMEMCPY(p->payload, &ipr->iphdr, IP_HLEN); in ip_reass_free_complete_datagram()
308 SMEMCPY(&(ipr->iphdr), fraghdr, IP_HLEN); in ip_reass_enqueue_new_datagram()
580 SMEMCPY(&ipr->iphdr, fraghdr, IP_HLEN); in ip4_reass()
628 SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN); in ip4_reass()
792 SMEMCPY(rambuf->payload, original_iphdr, IP_HLEN); in ip4_frag()
806 SMEMCPY(rambuf->payload, original_iphdr, IP_HLEN); in ip4_frag()
Detharp.c465 SMEMCPY(&arp_table[i].ethaddr, ethaddr, ETH_HWADDR_LEN);
1141 SMEMCPY(&hdr->shwaddr, hwsrc_addr, ETH_HWADDR_LEN);
1142 SMEMCPY(&hdr->dhwaddr, hwdst_addr, ETH_HWADDR_LEN);
Dicmp.c383 SMEMCPY((u8_t *)q->payload + sizeof(struct icmp_echo_hdr), (u8_t *)p->payload, in icmp_send_response()
Dautoip.c466 SMEMCPY(netifaddr.addr, netif->hwaddr, ETH_HWADDR_LEN); in autoip_arp_reply()
/third_party/lwip/src/core/ipv6/
Dethip6.c119 SMEMCPY(dest.addr, hwaddr, 6); in ethip6_output()
Dip6_frag.c769 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); in ip6_frag()
785 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); in ip6_frag()
Dnd6.c681 SMEMCPY(default_router_list[i].neighbor_entry->lladdr, lladdr_opt->addr, inp->hwaddr_len); in nd6_input()
1234 SMEMCPY(lladdr_opt->addr, netif->hwaddr, netif->hwaddr_len); in nd6_send_ns()
1305 SMEMCPY(lladdr_opt->addr, netif->hwaddr, netif->hwaddr_len); in nd6_send_na()
1384 SMEMCPY(lladdr_opt->addr, netif->hwaddr, netif->hwaddr_len); in nd6_send_rs()
/third_party/lwip/src/netif/
Dethernet.c303 SMEMCPY(&ethhdr->dest, dst, ETH_HWADDR_LEN);
304 SMEMCPY(&ethhdr->src, src, ETH_HWADDR_LEN);
Dlowpan6.c540 SMEMCPY(addr->addr, netif->hwaddr, 8); in lowpan6_hwaddr_to_addr()
543 SMEMCPY(addr->addr, netif->hwaddr, 3); in lowpan6_hwaddr_to_addr()
545 SMEMCPY(&addr->addr[5], &netif->hwaddr[3], 3); in lowpan6_hwaddr_to_addr()
637 SMEMCPY(dest.addr, hwaddr, netif->hwaddr_len); in lowpan6_output()
/third_party/lwip/test/unit/etharp/
Dtest_etharp.c99 SMEMCPY(&etharphdr->sipaddr, adr, sizeof(ip4_addr_t)); in create_arp_response()
100 SMEMCPY(&etharphdr->dipaddr, &test_ipaddr, sizeof(ip4_addr_t)); in create_arp_response()
/third_party/lwip/doc/
DNO_SYS_SampleCode.c59 SMEMCPY(netif->hwaddr, your_mac_address_goes_here, ETH_HWADDR_LEN); in netif_init()
/third_party/lwip/src/include/lwip/
Dopt.h144 #if !defined SMEMCPY || defined __DOXYGEN__
145 #define SMEMCPY(dst,src,len) memcpy(dst,src,len) macro
/third_party/lwip/src/apps/netbiosns/
Dnetbiosns.c458 SMEMCPY(resp->unit_id, ip_current_input_netif()->hwaddr, sizeof(resp->unit_id)); in netbiosns_recv()
/third_party/lwip/src/core/
Draw.c514 SMEMCPY(((u8_t *)p->payload) + pcb->chksum_offset, &chksum, sizeof(u16_t)); in raw_sendto_if_src()
Dtcp.c1673 SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg)); in tcp_seg_copy()
/third_party/lwip/src/apps/mdns/
Dmdns.c1284 SMEMCPY(&out->dest_addr, &in->source_addr, sizeof(ip_addr_t)); in mdns_init_outpacket()
1551 SMEMCPY(&announce.dest_addr, destination, sizeof(announce.dest_addr)); in mdns_announce()
1882 SMEMCPY(&packet.source_addr, addr, sizeof(packet.source_addr)); in mdns_recv()
2004 SMEMCPY(&pkt.dest_addr, destination, sizeof(pkt.dest_addr)); in mdns_send_probe()
/third_party/lwip/src/apps/http/
Dhttpd.c969 SMEMCPY(&hs->hdr_content_len[len], CRLF, 3);
/third_party/lwip/
DCHANGELOG2551 * sockets.c, ppp.c: bug #25763: corrected 4 occurrences of SMEMCPY to MEMCPY
3163 memcpy. 2 Defines are created: MEMCPY() for normal memcpy, SMEMCPY() for