noff 328 dev/ic/awi_wep.c int left, len, moff, noff, keylen, kid; noff 365 dev/ic/awi_wep.c noff = len; noff 375 dev/ic/awi_wep.c ivp = mtod(n, u_int8_t *) + noff; noff 380 dev/ic/awi_wep.c noff += IEEE80211_WEP_IVLEN + IEEE80211_WEP_KIDLEN; noff 403 dev/ic/awi_wep.c if (len > n->m_len - noff) { noff 404 dev/ic/awi_wep.c len = n->m_len - noff; noff 416 dev/ic/awi_wep.c noff = 0; noff 423 dev/ic/awi_wep.c awa->awa_encrypt(ctx, mtod(n, caddr_t) + noff, noff 427 dev/ic/awi_wep.c awa->awa_decrypt(ctx, mtod(n, caddr_t) + noff, noff 429 dev/ic/awi_wep.c crc = awi_crc_update(crc, mtod(n, caddr_t) + noff, len); noff 433 dev/ic/awi_wep.c noff += len; noff 438 dev/ic/awi_wep.c if (n->m_len >= noff + sizeof(crcbuf)) noff 439 dev/ic/awi_wep.c n->m_len = noff + sizeof(crcbuf); noff 441 dev/ic/awi_wep.c n->m_len = noff; noff 447 dev/ic/awi_wep.c noff = 0; noff 449 dev/ic/awi_wep.c awa->awa_encrypt(ctx, mtod(n, caddr_t) + noff, crcbuf, noff 452 dev/ic/awi_wep.c n->m_len = noff; noff 453 dev/ic/awi_wep.c noff = 0; noff 454 dev/ic/awi_wep.c for (; noff < sizeof(crcbuf); noff += len, m = m->m_next) { noff 459 dev/ic/awi_wep.c awa->awa_decrypt(ctx, crcbuf + noff, noff 402 net/if_pppoe.c int noff, err, errortag; noff 436 net/if_pppoe.c n = m_pulldown(m, off, sizeof(*ph), &noff); noff 442 net/if_pppoe.c ph = (struct pppoehdr *)(mtod(n, caddr_t) + noff); noff 465 net/if_pppoe.c n = m_pulldown(m, off, sizeof(*pt), &noff); noff 471 net/if_pppoe.c pt = (struct pppoetag *)(mtod(n, caddr_t) + noff); noff 489 net/if_pppoe.c n = m_pulldown(m, off + sizeof(*pt), len, &noff); noff 496 net/if_pppoe.c hunique = mtod(n, caddr_t) + noff; noff 499 net/if_pppoe.c sc = pppoe_find_softc_by_hunique(mtod(n, caddr_t) + noff, noff 507 net/if_pppoe.c &noff); noff 513 net/if_pppoe.c ac_cookie = mtod(n, caddr_t) + noff; noff 534 net/if_pppoe.c &noff); noff 536 net/if_pppoe.c u_int8_t *et = mtod(n, caddr_t) + noff; noff 368 net80211/ieee80211_crypto.c int i, left, len, moff, noff, kid; noff 420 net80211/ieee80211_crypto.c noff = len; noff 434 net80211/ieee80211_crypto.c ivp = mtod(n, u_int8_t *) + noff; noff 440 net80211/ieee80211_crypto.c noff += IEEE80211_WEP_IVLEN + IEEE80211_WEP_KIDLEN; noff 470 net80211/ieee80211_crypto.c if (len > n->m_len - noff) { noff 471 net80211/ieee80211_crypto.c len = n->m_len - noff; noff 488 net80211/ieee80211_crypto.c noff = 0; noff 495 net80211/ieee80211_crypto.c mtod(n, caddr_t) + noff, len); noff 501 net80211/ieee80211_crypto.c mtod(n, u_int8_t *) + noff, len); noff 504 net80211/ieee80211_crypto.c noff += len; noff 509 net80211/ieee80211_crypto.c if (n->m_len >= noff + sizeof(crcbuf)) noff 510 net80211/ieee80211_crypto.c n->m_len = noff + sizeof(crcbuf); noff 512 net80211/ieee80211_crypto.c n->m_len = noff; noff 520 net80211/ieee80211_crypto.c noff = 0; noff 522 net80211/ieee80211_crypto.c rc4_crypt(ctx, crcbuf, mtod(n, caddr_t) + noff, noff 525 net80211/ieee80211_crypto.c n->m_len = noff; noff 526 net80211/ieee80211_crypto.c for (noff = 0; noff < sizeof(crcbuf); noff += len) { noff 527 net80211/ieee80211_crypto.c len = sizeof(crcbuf) - noff; noff 532 net80211/ieee80211_crypto.c crcbuf + noff, len); noff 429 netinet6/icmp6.c int code, sum, noff; noff 621 netinet6/icmp6.c noff = sizeof(struct ip6_hdr); noff 622 netinet6/icmp6.c n->m_len = noff + sizeof(struct icmp6_hdr); noff 628 netinet6/icmp6.c n->m_pkthdr.len += noff + sizeof(struct icmp6_hdr); noff 637 netinet6/icmp6.c noff = off; noff 644 netinet6/icmp6.c icmp6_reflect(n, noff); noff 705 netinet6/icmp6.c noff = sizeof(struct ip6_hdr); noff 747 netinet6/icmp6.c noff = sizeof(struct ip6_hdr); noff 758 netinet6/icmp6.c icmp6_reflect(n, noff);