Home
last modified time | relevance | path

Searched refs:m_copydata (Results 1 – 25 of 68) sorted by relevance

123

/f-stack/freebsd/netipsec/
H A Dipsec_input.c150 m_copydata(m, skip, sizeof(u_int32_t), (caddr_t) &spi); in ipsec_common_input()
152 m_copydata(m, skip + sizeof(u_int32_t), sizeof(u_int32_t), in ipsec_common_input()
156 m_copydata(m, skip + sizeof(u_int16_t), sizeof(u_int16_t), in ipsec_common_input()
172 m_copydata(m, offsetof(struct ip, ip_dst), in ipsec_common_input()
180 m_copydata(m, offsetof(struct ip6_hdr, ip6_dst), in ipsec_common_input()
535 m_copydata(m, protoff, 1, &nxt8); in ipsec6_common_input_cb()
H A Dxform_esp.c385 m_copydata(m, skip, SPI_SIZE, crp->crp_aad); in esp_input()
394 m_copydata(m, skip + SPI_SIZE, in esp_input()
455 m_copydata(m, skip + hlen - sav->ivlen, sav->ivlen, &ivp[4]); in esp_input()
567 m_copydata(m, skip + offsetof(struct newesp, esp_seq), in esp_input_cb()
598 m_copydata(m, m->m_pkthdr.len - 3, 3, lastthree); in esp_input_cb()
839 m_copydata(m, protoff, sizeof(u_int8_t), pad + padding - 1); in esp_output()
926 m_copydata(m, skip, SPI_SIZE, crp->crp_aad); in esp_output()
935 m_copydata(m, skip + SPI_SIZE, in esp_output()
H A Dsubr_ipsec.c80 m_copydata(m, offsetof(struct ip, ip_src), in ipsec4_setsockaddrs()
83 m_copydata(m, offsetof(struct ip, ip_dst), in ipsec4_setsockaddrs()
104 m_copydata(m, 0, sizeof(ip6buf), (caddr_t)&ip6buf); in ipsec6_setsockaddrs()
H A Dxform_ah.c401 m_copydata(m, 0, sizeof(ip6), (caddr_t) &ip6); in ah_massage_headers()
441 m_copydata(m, sizeof(struct ip6_hdr), in ah_massage_headers()
632 m_copydata(m, 0, skip + rplen + authsize, (caddr_t)(xd + 1)); in ah_input()
745 m_copydata(m, skip + rplen, authsize, calc); in ah_input_cb()
776 m_copydata(m, skip + offsetof(struct newah, ah_seq), in ah_input_cb()
925 m_copydata(m, protoff, sizeof(u_int8_t), (caddr_t) &ah->ah_nxt); in ah_output()
988 m_copydata(m, 0, skip, (caddr_t) (xd + 1)); in ah_output()
H A Dudpencap.c134 m_copydata(m, off, sizeof(uint32_t), (caddr_t)&spi); in udp_ipsec_input()
264 m_copydata(m, skip + off, sizeof(cksum), in udp_ipsec_adjust_cksum()
H A Dipsec.c510 m_copydata(m, 0, sizeof (struct ip), (caddr_t) &ih); in ipsec4_get_ulp()
529 m_copydata(m, off, sizeof (th), (caddr_t) &th); in ipsec4_get_ulp()
539 m_copydata(m, off, sizeof (uh), (caddr_t) &uh); in ipsec4_get_ulp()
547 m_copydata(m, off, sizeof(ip6e), (caddr_t) &ip6e); in ipsec4_get_ulp()
705 m_copydata(m, off, sizeof(th), (caddr_t)&th); in ipsec6_get_ulp()
715 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); in ipsec6_get_ulp()
723 m_copydata(m, off, sizeof(ih), (caddr_t)&ih); in ipsec6_get_ulp()
/f-stack/freebsd/netgraph/atm/sscop/
H A Dng_sscop_cust.h253 m_copydata(m, m->m_pkthdr.len + 4 * i, 4, (caddr_t)&w); in ng_sscop_mbuf_trail32()
267 m_copydata(m, m->m_pkthdr.len - 4, 4, (caddr_t)&w); in ng_sscop_mbuf_strip32()
279 m_copydata(m, 0, 4, (caddr_t)&w); in ng_sscop_mbuf_get32()
/f-stack/freebsd/kern/
H A Duipc_mbuf2.c213 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); in m_pulldown()
246 m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len); in m_pulldown()
299 m_copydata(m, off, len, mtod(n, caddr_t)); in m_dup1()
H A Duipc_mbufhash.c53 m_copydata(m, off, len, buf); in m_common_hash_gethdr()
H A Duipc_mbuf.c641 m_copydata(const struct mbuf *m, int off, int len, caddr_t cp) in m_copydata() function
1405 m_copydata(m0, progress, length, mtod(m_new, caddr_t)); in m_defrag()
1500 m_copydata(n, 0, n->m_len, in m_collapse()
1523 m_copydata(n, 0, n->m_len, mtod(m, char *)); in m_collapse()
1524 m_copydata(n2, 0, n2->m_len, in m_collapse()
1618 m_copydata(m0, progress, fraglen, mtod(m_last, caddr_t)); in m_fragment()
/f-stack/freebsd/netinet/
H A Dtcp_pcap.c259 m_copydata(m, skip, bytes_to_copy, n->m_data); in tcp_pcap_copy_bestfit()
391 m_copydata(m, 0, m->m_len, n->m_data); in tcp_pcap_add()
H A Dip_gre.c541 m_copydata(m, hlen + offsetof(struct ip, ip_tos), in in_gre_output()
543 m_copydata(m, hlen + offsetof(struct ip, ip_id), in in_gre_output()
H A Dip_fastfwd.c137 m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t)); in ip_redir_alloc()
H A Dsctp_bsd_addr.c474 m_copydata(m, 0, length, (caddr_t)copyto); in sctp_packet_log()
/f-stack/freebsd/netgraph/bluetooth/hci/
H A Dng_hci_evnt.c406 m_copydata(event, 0, sizeof(bdaddr), (caddr_t) &bdaddr); in le_advertizing_report()
448 m_copydata(event, 0, n->extinq_size, n->extinq_data); in le_advertizing_report()
627 m_copydata(event, 0, sizeof(bdaddr), (caddr_t) &bdaddr); in inquiry_result()
660 m_copydata(event, 0, sizeof(n->clock_offset), in inquiry_result()
1136 m_copydata(event, 0, sizeof(h), (caddr_t) &h); in num_compl_pkts()
1141 m_copydata(event, 0, sizeof(p), (caddr_t) &p); in num_compl_pkts()
H A Dng_hci_cmds.c688 m_copydata(mrp, 0, len, (caddr_t) unit->features); in process_info_params()
730 m_copydata(mrp, 0, len, (caddr_t) &unit->bdaddr); in process_info_params()
/f-stack/freebsd/net/
H A Dbpf_buffer.c125 m_copydata(m, 0, len, dst); in bpf_buffer_append_mbuf()
/f-stack/freebsd/netinet6/
H A Dip6_input.c611 m_copydata(m, 0, n->m_pkthdr.len, mtod(n, caddr_t)); in ip6_input()
1607 m_copydata(m, len, sizeof(ip6e), (caddr_t)&ip6e); in ip6_get_prevhdr()
1644 m_copydata(m, off, sizeof(ip6), (caddr_t)&ip6); in ip6_nexthdr()
1657 m_copydata(m, off, sizeof(fh), (caddr_t)&fh); in ip6_nexthdr()
1669 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ip6_nexthdr()
1680 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ip6_nexthdr()
H A Dsctp6_usrreq.c300 m_copydata(ip6cp->ip6c_m, in sctp6_ctlinput()
353 m_copydata(ip6cp->ip6c_m, in sctp6_ctlinput()
358 m_copydata(ip6cp->ip6c_m, in sctp6_ctlinput()
/f-stack/freebsd/netgraph/
H A Dng_pred1.c413 m_copydata(m, 0, inlen, (caddr_t)(priv->inbuf + 2)); in ng_pred1_compress()
491 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); in ng_pred1_decompress()
H A Dng_cisco.c460 m_copydata(m, 0, sizeof(*h), (caddr_t)&hdrbuf); in cisco_input()
490 m_copydata(m, 0, sizeof(*p), (caddr_t)&pktbuf); in cisco_input()
H A Dng_deflate.c448 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); in ng_deflate_compress()
557 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); in ng_deflate_decompress()
H A Dng_mppc.c517 m_copydata(m, 0, inlen, (caddr_t)inbuf); in ng_mppc_compress()
779 m_copydata(m, 0, inlen, (caddr_t)inbuf); in ng_mppc_decompress()
/f-stack/freebsd/netgraph/bluetooth/l2cap/
H A Dng_l2cap_evnt.c1425 m_copydata(m, *off, sizeof(*hdr), (caddr_t) hdr); in get_next_l2cap_opt()
1437 m_copydata(m, *off, NG_L2CAP_OPT_MTU_SIZE, (caddr_t) val); in get_next_l2cap_opt()
1447 m_copydata(m, *off, NG_L2CAP_OPT_FLUSH_TIMO_SIZE, (caddr_t)val); in get_next_l2cap_opt()
1456 m_copydata(m, *off, NG_L2CAP_OPT_QOS_SIZE, (caddr_t) val); in get_next_l2cap_opt()
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c761 m_copydata(m, 0, len, mtodo(n, sizeof(struct ip6_hdr) + in nat64_icmp6_reflect()
866 m_copydata(m, 0, len, mtodo(n, sizeof(struct ip) + in nat64_icmp_reflect()
1051 m_copydata(m, hlen, sizeof(struct ip), (char *)&ip); in nat64_icmp_translate()
1118 m_copydata(m, hlen, len, (char *)(eip6 + 1)); in nat64_icmp_translate()

123