Searched refs:mcopy (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_forward.c130 struct mbuf *mcopy = NULL; local
244 mcopy = m_copy(m, 0, imin(m->m_pkthdr.len, ICMPV6_PLD_MAXLEN));
255 if (mcopy) {
259 m_freem(mcopy);
278 if (mcopy) {
282 m_freem(mcopy);
300 if (mcopy) {
304 m_freem(mcopy);
363 if (mcopy) {
367 m_freem(mcopy);
[all...]
H A Dipcomp_output.c113 struct mbuf *mcopy; local
171 mcopy = m_copym(m, 0, M_COPYALL, M_NOWAIT);
172 if (mcopy == NULL) {
178 m_freem(mcopy);
193 m_freem(mcopy);
200 m_freem(mcopy);
211 m_freem(mcopy);
225 m_freem(mcopy);
333 key_sa_recordxfer(sav, mcopy);
334 m_freem(mcopy);
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_input.c2354 struct mbuf *mcopy; local
2438 MGET(mcopy, M_DONTWAIT, m->m_type);
2439 if (mcopy != NULL) {
2440 M_COPY_PKTHDR(mcopy, m);
2441 mcopy->m_len = imin((IP_VHL_HL(ip->ip_vhl) << 2) + 8,
2443 m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t));
2524 if (mcopy) {
2528 * ip_output, the mcopy is rather a waste;
2531 m_freem(mcopy);
[all...]

Completed in 17 milliseconds