/openbsd/sys/netinet/ |
H A D | ip_spd.c | 204 m_copydata(m, offsetof(struct ip, ip_src), in ipsp_spd_lookup() 206 m_copydata(m, offsetof(struct ip, ip_dst), in ipsp_spd_lookup() 208 m_copydata(m, offsetof(struct ip, ip_p), sizeof(u_int8_t), in ipsp_spd_lookup() 233 m_copydata(m, hlen, sizeof(u_int16_t), in ipsp_spd_lookup() 235 m_copydata(m, hlen + sizeof(u_int16_t), in ipsp_spd_lookup() 255 m_copydata(m, offsetof(struct ip6_hdr, ip6_src), in ipsp_spd_lookup() 258 m_copydata(m, offsetof(struct ip6_hdr, ip6_dst), in ipsp_spd_lookup() 261 m_copydata(m, offsetof(struct ip6_hdr, ip6_nxt), in ipsp_spd_lookup() 287 m_copydata(m, hlen, sizeof(u_int16_t), in ipsp_spd_lookup() 289 m_copydata(m, hlen + sizeof(u_int16_t), in ipsp_spd_lookup()
|
H A D | ip_ipip.c | 357 m_copydata(m, 0, 1, &tp); in ipip_output() 404 m_copydata(m, sizeof(struct ip) + in ipip_output() 414 m_copydata(m, sizeof(struct ip) + in ipip_output() 426 m_copydata(m, sizeof(struct ip) + in ipip_output() 496 m_copydata(m, sizeof(struct ip6_hdr) + in ipip_output() 508 m_copydata(m, sizeof(struct ip6_hdr) + in ipip_output()
|
H A D | ip_ah.c | 336 m_copydata(m, 0, sizeof(ip6), &ip6); in ah_massage_headers() 383 m_copydata(m, sizeof(struct ip6_hdr), in ah_massage_headers() 472 m_copydata(m, 0, sizeof(ip6), &ip6); in ah_massage_headers() 550 m_copydata(m, skip + offsetof(struct ah, ah_hl), sizeof(u_int8_t), &hl); in ah_input() 554 m_copydata(m, skip + offsetof(struct ah, ah_rpl), in ah_input() 671 m_copydata(m, 0, skip + rplen + ahx->authsize, ptr); in ah_input() 706 m_copydata(m, skip + rplen, ahx->authsize, calc); in ah_input() 728 m_copydata(m, skip + offsetof(struct ah, ah_rpl), in ah_input() 1013 m_copydata(m, protoff, sizeof(u_int8_t), &ah->ah_nh); in ah_output() 1064 m_copydata(m, 0, skip, ptr); in ah_output()
|
H A D | ipsec_input.c | 225 m_copydata(m, skip, sizeof(u_int32_t), (caddr_t) &spi); in ipsec_common_input() 228 m_copydata(m, skip + sizeof(u_int32_t), sizeof(u_int32_t), in ipsec_common_input() 232 m_copydata(m, skip + sizeof(u_int16_t), sizeof(u_int16_t), in ipsec_common_input() 253 m_copydata(m, offsetof(struct ip, ip_dst), in ipsec_common_input() 261 m_copydata(m, offsetof(struct ip6_hdr, ip6_dst), in ipsec_common_input() 418 m_copydata(m, protoff, 1, (caddr_t) &prot); in ipsec_common_input_cb() 1003 m_copydata(m, protoff, sizeof(ip6e), in ipsec_protoff()
|
H A D | ip_esp.c | 384 m_copydata(m, skip + sizeof(u_int32_t), sizeof(u_int32_t), in esp_input() 478 m_copydata(m, m->m_pkthdr.len - alen, alen, abuf); in esp_input() 521 m_copydata(m, m->m_pkthdr.len - esph->authsize, in esp_input() 540 m_copydata(m, skip + sizeof(u_int32_t), sizeof(u_int32_t), in esp_input() 647 m_copydata(m, m->m_pkthdr.len - 3, 3, lastthree); in esp_input() 870 m_copydata(m, protoff, sizeof(u_int8_t), pad + padding - 1); in esp_output()
|
H A D | udp_usrreq.c | 317 m_copydata(m, skip, sizeof(u_int32_t), (caddr_t) &spi); in udp_input() 809 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh); in udp6_ctlinput()
|
/openbsd/sys/netinet6/ |
H A D | ip6_input.c | 754 m_copydata(m, off, sizeof(rthdr), &rthdr); in ip6_check_rh0hdr() 778 m_copydata(m, off, sizeof(opt6), &opt6); in ip6_check_rh0hdr() 1249 m_copydata(m, off, sizeof(ip6e), &ip6e); in ip6_pullexthdr() 1277 m_copydata(m, off, elen, mtod(n, caddr_t)); in ip6_pullexthdr() 1303 m_copydata(m, len, sizeof(ip6e), &ip6e); in ip6_get_prevhdr() 1344 m_copydata(m, off, sizeof(ip6), &ip6); in ip6_nexthdr() 1357 m_copydata(m, off, sizeof(fh), &fh); in ip6_nexthdr() 1368 m_copydata(m, off, sizeof(ip6e), &ip6e); in ip6_nexthdr() 1381 m_copydata(m, off, sizeof(ip6e), &ip6e); in ip6_nexthdr()
|
H A D | ip6_forward.c | 176 m_copydata(m, 0, icmp_len, icmp_buf); in ip6_forward()
|
/openbsd/sys/kern/ |
H A D | uipc_mbuf2.c | 164 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); in m_pulldown() 207 m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len); in m_pulldown() 252 m_copydata(m, off, len, mtod(n, caddr_t)); in m_dup1()
|
H A D | uipc_mbuf.c | 559 m_copydata(m, 0, m->m_pkthdr.len, mtod(m0, caddr_t)); in m_defrag() 700 m_copydata(struct mbuf *m, int off, int len, void *p) in m_copydata() function 706 panic("m_copydata: off %d < 0", off); in m_copydata() 708 panic("m_copydata: len %d < 0", len); in m_copydata() 710 panic("m_copydata: short mbuf chain"); in m_copydata() 713 panic("m_copydata: null mbuf"); in m_copydata() 1434 m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, caddr_t)); in m_dup_pkt()
|
/openbsd/sys/arch/octeon/dev/ |
H A D | octcrypto.c | 735 m_copydata((struct mbuf *)crp->crp_buf, in octcrypto_authenc_gmac() 753 m_copydata((struct mbuf *)crp->crp_buf, in octcrypto_authenc_gmac() 763 m_copydata((struct mbuf *)crp->crp_buf, in octcrypto_authenc_gmac() 778 m_copydata((struct mbuf *)crp->crp_buf, crde->crd_skip, in octcrypto_authenc_gmac() 1032 m_copydata((struct mbuf *)crp->crp_buf, in octcrypto_authenc_hmac() 1045 m_copydata((struct mbuf *)crp->crp_buf, skip, len, buf); in octcrypto_authenc_hmac()
|
/openbsd/sys/net/ |
H A D | if_bridge.c | 980 m_copydata(m, 0, ETHER_HDR_LEN, &eh); in bridgeintr_frame() 1479 m_copydata(m, ETHER_HDR_LEN, LLC_SNAPFRAMELEN, &llc); in bridge_blocknonip() 1532 m_copydata(m, offsetof(struct ip, ip_dst), in bridge_ipsec() 1554 m_copydata(m, offsetof(struct ip6_hdr, ip6_dst), in bridge_ipsec() 1565 m_copydata(m, hlen, sizeof(u_int32_t), &spi); in bridge_ipsec() 1568 m_copydata(m, hlen + sizeof(u_int32_t), in bridge_ipsec() 1572 m_copydata(m, hlen + sizeof(u_int16_t), in bridge_ipsec() 1691 m_copydata(m, ETHER_HDR_LEN, LLC_SNAPFRAMELEN, &llc); in bridge_ip() 1851 m_copydata(m, ETHER_HDR_LEN, LLC_SNAPFRAMELEN, &llc); in bridge_fragment()
|
H A D | pipex.c | 1175 m_copydata(m0, hlen + ppphlen, 1, &code); in pipex_common_input() 1235 m_copydata(m0, off, sizeof(pktbuf), pktbuf); in pipex_ppp_proto() 1282 m_copydata(m0, sizeof(struct ether_header), in pipex_pppoe_lookup_session() 1311 m_copydata(m0, sizeof(struct ether_header), in pipex_pppoe_input() 1474 m_copydata(m0, 0, sizeof(struct ip), &ip); in pipex_pptp_lookup_session() 1483 m_copydata(m0, hlen, sizeof(gre), &gre); in pipex_pptp_lookup_session() 1727 m_copydata(m0, 0, sizeof(struct pipex_gre_header), &gre); in pipex_pptp_userland_lookup_session() 1785 m_copydata(m0, 0, len, &gre0); in pipex_pptp_userland_output() 1986 m_copydata(m0, off, sizeof(buf), buf); in pipex_l2tp_lookup_session() 2043 m_copydata(m0, off0, sizeof(flags), &flags); in pipex_l2tp_input() [all …]
|
H A D | if_veb.c | 504 m_copydata(m, sizeof(*eh), sizeof(ea), (caddr_t)&ea); in veb_rule_arp_match() 694 m_copydata(m, iphlen, sizeof(spi), &spi); 697 m_copydata(m, iphlen + sizeof(uint32_t), sizeof(spi), &spi); 700 m_copydata(m, iphlen + sizeof(uint16_t), sizeof(cpi), &cpi);
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | aesni.c | 492 m_copydata((struct mbuf *)crp->crp_buf, in aesni_encdec() 507 m_copydata((struct mbuf *)crp->crp_buf, in aesni_encdec() 519 m_copydata((struct mbuf *)crp->crp_buf, in aesni_encdec() 534 m_copydata((struct mbuf *)crp->crp_buf, crd->crd_skip, in aesni_encdec()
|
H A D | via.c | 370 m_copydata((struct mbuf *)crp->crp_buf, in viac3_crypto_encdec() 382 m_copydata((struct mbuf *)crp->crp_buf, in viac3_crypto_encdec()
|
/openbsd/sys/dev/sdmmc/ |
H A D | if_bwfm_sdio.c | 1139 m_copydata(m, 0, m->m_len, (caddr_t)&swhdr[1]); in bwfm_sdio_tx_ctrlframe() 1185 m_copydata(m, 0, m->m_pkthdr.len, (caddr_t)&bcdc[1]); in bwfm_sdio_tx_dataframe() 1353 m_copydata(m, 0, sizeof(hwhdr), (caddr_t)&hwhdr); in bwfm_sdio_rx_glom() 1354 m_copydata(m, sizeof(hwhdr), sizeof(swhdr), (caddr_t)&swhdr); in bwfm_sdio_rx_glom() 1364 m_copydata(m, 0, sizeof(hwhdr), (caddr_t)&hwhdr); in bwfm_sdio_rx_glom() 1365 m_copydata(m, sizeof(hwhdr), sizeof(swhdr), (caddr_t)&swhdr); in bwfm_sdio_rx_glom()
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | cryptox.c | 396 m_copydata((struct mbuf *)crp->crp_buf, in cryptox_encdec() 406 m_copydata((struct mbuf *)crp->crp_buf, crd->crd_skip, in cryptox_encdec()
|
/openbsd/sys/arch/i386/i386/ |
H A D | via.c | 378 m_copydata((struct mbuf *)crp->crp_buf, in viac3_crypto_encdec() 390 m_copydata((struct mbuf *)crp->crp_buf, in viac3_crypto_encdec()
|
/openbsd/sys/dev/pci/ |
H A D | if_lii.c | 749 m_copydata(m, 0, m->m_pkthdr.len, in lii_tx_put() 753 m_copydata(m, 0, left, sc->sc_txdbase + sc->sc_txd_cur); in lii_tx_put() 754 m_copydata(m, left, m->m_pkthdr.len - left, sc->sc_txdbase); in lii_tx_put()
|
/openbsd/sys/arch/i386/pci/ |
H A D | glxsb.c | 703 m_copydata((struct mbuf *)crp->crp_buf, in glxsb_crypto_encdec() 722 m_copydata((struct mbuf *)crp->crp_buf, in glxsb_crypto_encdec()
|
/openbsd/sys/arch/alpha/isa/ |
H A D | isadma_bounce.c | 453 m_copydata(m0, offset, len, in isadma_bounce_dmamap_sync()
|
/openbsd/sys/net80211/ |
H A D | ieee80211_crypto_wep.c | 287 m_copydata(m, moff, IEEE80211_WEP_CRCLEN, (caddr_t)&crc0); in ieee80211_wep_decrypt()
|
/openbsd/sys/sys/ |
H A D | mbuf.h | 450 void m_copydata(struct mbuf *, int, int, void *);
|
/openbsd/sys/crypto/ |
H A D | cryptosoft.c | 90 m_copydata((struct mbuf *)a,b,c,d); \ 167 m_copydata(m, k, blks, blk); in swcr_encdec()
|