Searched refs:copym (Results 1 – 2 of 2) sorted by relevance
| /mirbsd/src/sys/netinet6/ |
| D | ip6_output.c | 2366 struct mbuf *copym; local 2369 copym = m_copy(m, 0, M_COPYALL); 2370 if (copym == NULL) 2378 if ((copym->m_flags & M_EXT) != 0 || 2379 copym->m_len < sizeof(struct ip6_hdr)) { 2380 copym = m_pullup(copym, sizeof(struct ip6_hdr)); 2381 if (copym == NULL) 2386 if (copym->m_len < sizeof(*ip6)) { 2387 m_freem(copym); 2392 ip6 = mtod(copym, struct ip6_hdr *); [all …]
|
| /mirbsd/src/sys/netinet/ |
| D | ip_output.c | 1931 struct mbuf *copym; local 1933 copym = m_copym2(m, 0, M_COPYALL, M_DONTWAIT); 1934 if (copym != NULL) { 1939 ip = mtod(copym, struct ip *); 1941 ip->ip_sum = in_cksum(copym, ip->ip_hl << 2); 1942 (void) looutput(ifp, copym, sintosa(dst), NULL);
|