Home
last modified time | relevance | path

Searched refs:mcopy (Results 1 – 5 of 5) sorted by relevance

/openbsd/src/sys/netinet6/
Dip6_forward.c98 struct mbuf *mcopy; in ip6_forward() local
177 mcopy = NULL; in ip6_forward()
179 mcopy = m_copym(m, 0, icmp_len, M_NOWAIT); in ip6_forward()
372 if (mcopy == NULL && icmp_len == 0) in ip6_forward()
379 mcopy = m_gethdr(M_DONTWAIT, MT_DATA); in ip6_forward()
380 if (mcopy == NULL) in ip6_forward()
382 mcopy->m_len = mcopy->m_pkthdr.len = icmp_len; in ip6_forward()
383 mcopy->m_flags |= (mflags & M_COPYFLAGS); in ip6_forward()
384 mcopy->m_pkthdr.ph_rtableid = rtableid; in ip6_forward()
385 mcopy->m_pkthdr.ph_ifidx = ifidx; in ip6_forward()
[all …]
/openbsd/src/sys/netinet/
Dip_input.c1567 struct mbuf *mcopy; in ip_forward() local
1698 mcopy = m_gethdr(M_DONTWAIT, MT_DATA); in ip_forward()
1699 if (mcopy == NULL) in ip_forward()
1701 mcopy->m_len = mcopy->m_pkthdr.len = icmp_len; in ip_forward()
1702 mcopy->m_flags |= (mflags & M_COPYFLAGS); in ip_forward()
1703 mcopy->m_pkthdr.ph_rtableid = rtableid; in ip_forward()
1704 mcopy->m_pkthdr.ph_ifidx = ifp->if_index; in ip_forward()
1705 mcopy->m_pkthdr.ph_loopcnt = loopcnt; in ip_forward()
1706 mcopy->m_pkthdr.pf.flags |= (pfflags & PF_TAG_GENERATED); in ip_forward()
1707 memcpy(mcopy->m_data, icmp_buf, icmp_len); in ip_forward()
[all …]
/openbsd/src/sys/net/
Dif_ethersubr.c263 struct mbuf *mcopy; in ether_resolve() local
266 mcopy = m_copym(m, 0, M_COPYALL, M_NOWAIT); in ether_resolve()
267 if (mcopy != NULL) in ether_resolve()
268 if_input_local(ifp, mcopy, af); in ether_resolve()
/openbsd/src/gnu/usr.bin/cvs/src/
Dsanity.sh13523 mcopy)
13546 dotest mcopy-1 "${testcvs} -q co first-dir" ''
13556 dotest mcopy-1a \
13563 dotest mcopy-1b "${testcvs} -q ci -m add" \
13595 dotest mcopy-2 "${testcvs} -q tag -b br" 'T \.cvswrappers
13599 dotest mcopy-3 "${testcvs} -q update -r br" ''
13603 dotest mcopy-5 "${testcvs} -q ci -m br-changes" \
13616 dotest mcopy-6 "${testcvs} -q update -A" \
13620 dotest mcopy-7 "cat brmod brmod-trmod brmod-wdmod" \
13626 dotest mcopy-7a "${testcvs} -q ci -m tr-modify" \
[all …]
DChangeLog-971466 * sanity.sh (mcopy): Unset CVSWRAPPERS last of all.
1484 * sanity.sh (mcopy): New tests, test for above fix.