Home
last modified time | relevance | path

Searched refs:msiz (Results 1 – 3 of 3) sorted by relevance

/mirbsd/src/sys/netinet/
Dip_gre.c287 int msiz; in gre_mobile_input() local
319 msiz = MOB_H_SIZ_L; in gre_mobile_input()
322 msiz = MOB_H_SIZ_S; in gre_mobile_input()
324 if (m->m_len < (ip->ip_hl << 2) + msiz) { in gre_mobile_input()
325 m = m_pullup(m, (ip->ip_hl << 2) + msiz); in gre_mobile_input()
335 if (gre_in_cksum((u_short *) &mip->mh, msiz) != 0) { in gre_mobile_input()
340 bcopy(ip + (ip->ip_hl << 2) + msiz, ip + (ip->ip_hl << 2), in gre_mobile_input()
341 m->m_len - msiz - (ip->ip_hl << 2)); in gre_mobile_input()
343 m->m_len -= msiz; in gre_mobile_input()
344 ip->ip_len = htons(ntohs(ip->ip_len) - msiz); in gre_mobile_input()
[all …]
/mirbsd/src/sys/net/
Dif_gre.c268 int msiz; in gre_output() local
307 msiz = MOB_H_SIZ_S; in gre_output()
312 msiz = MOB_H_SIZ_L; in gre_output()
316 mob_h.hcrc = gre_in_cksum((u_int16_t *) &mob_h, msiz); in gre_output()
319 if ((m->m_data - msiz) < m->m_pktdat) { in gre_output()
330 m0->m_len = msiz + (inp->ip_hl << 2); in gre_output()
332 m0->m_pkthdr.len = m->m_pkthdr.len + msiz; in gre_output()
342 m->m_data -= msiz; in gre_output()
343 m->m_len += msiz; in gre_output()
344 m->m_pkthdr.len += msiz; in gre_output()
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Storable/
DStorable.xs519 #define msiz (cxt->membuf).asiz macro
538 msiz = (STRLEN)MGROW; \
544 mend = mbase + msiz; \
584 mptr = mbase = SvPV(v, msiz); \
585 mend = mbase + msiz; \
590 int nsz = (int) round_mgrow((x)+msiz); \
594 msiz, nsz, (x))); \
596 msiz = nsz; \