Lines Matching refs:sn
686 int sn, dn; /* offset from the head of the mbuf, to meat */
775 soff = doff = sn = dn = 0;
781 sn = bodyoff - soff;
789 scutoff = sn;
797 if (sn + blocklen <= s->m_len) {
799 sp = mtod(s, u_int8_t *) + sn;
802 m_copydata(s, sn, blocklen, sbuf);
811 i = m->m_pkthdr.len - (soff + sn);
852 sn += blocklen;
856 while (s && sn >= s->m_len) {
857 sn -= s->m_len;
886 int sn, dn; /* offset from the head of the mbuf, to meat */
981 soff = doff = sn = dn = 0;
987 sn = bodyoff - soff;
995 scutoff = sn;
1003 if (sn + blocklen <= s->m_len) {
1005 sp = mtod(s, u_int8_t *) + sn;
1008 m_copydata(s, sn, blocklen, sbuf);
1017 i = m->m_pkthdr.len - (soff + sn);
1054 sn += blocklen;
1058 while (s && sn >= s->m_len) {
1059 sn -= s->m_len;