mtod 161 altq/altq_cdnr.c ip = mtod(m, struct ip *); mtod 174 compat/hpux/m68k/hpux_net.c tmp = (int) *mtod(m, char *); mtod 177 compat/hpux/m68k/hpux_net.c tmp = (int) *mtod(m, short *); mtod 181 compat/hpux/m68k/hpux_net.c tmp = (((int) *mtod(m, int *)) >> 8) & 0xffffff; mtod 184 compat/hpux/m68k/hpux_net.c *mtod(m, int *) = tmp; mtod 211 compat/hpux/m68k/hpux_net.c if ((error = copyin(SCARG(uap, val), mtod(m, caddr_t), mtod 217 compat/hpux/m68k/hpux_net.c tmp = *mtod(m, int *); mtod 218 compat/hpux/m68k/hpux_net.c mtod(m, struct linger *)->l_onoff = 1; mtod 219 compat/hpux/m68k/hpux_net.c mtod(m, struct linger *)->l_linger = tmp; mtod 226 compat/hpux/m68k/hpux_net.c mtod(m, struct linger *)->l_onoff = 0; mtod 256 compat/hpux/m68k/hpux_net.c if ((error = copyin(SCARG(uap, val), mtod(m, caddr_t), mtod 295 compat/hpux/m68k/hpux_net.c if (mtod(m, struct linger *)->l_onoff) mtod 296 compat/hpux/m68k/hpux_net.c *mtod(m, int *) = mtod(m, struct linger *)->l_linger; mtod 298 compat/hpux/m68k/hpux_net.c *mtod(m, int *) = 0; mtod 303 compat/hpux/m68k/hpux_net.c error = copyout(mtod(m, caddr_t), SCARG(uap, val), mtod 533 compat/sunos/sunos_misc.c mtod(m, struct linger *)->l_onoff = 0; mtod 564 compat/sunos/sunos_misc.c error = copyin(SCARG(uap, val), mtod(m, caddr_t), mtod 355 compat/ultrix/ultrix_misc.c mtod(m, struct linger *)->l_onoff = 0; mtod 367 compat/ultrix/ultrix_misc.c if ((error = copyin(SCARG(uap, val), mtod(m, caddr_t), mtod 216 crypto/cryptosoft.c idat = mtod(m, unsigned char *) + k; mtod 934 dev/ic/acx.c wh = mtod(m, struct ieee80211_frame *); mtod 971 dev/ic/acx.c eh = mtod(m, struct ether_header *); mtod 999 dev/ic/acx.c wh = mtod(m, struct ieee80211_frame *); mtod 1340 dev/ic/acx.c head = mtod(m, struct acx_rxbuf_hdr *); mtod 1350 dev/ic/acx.c wh = mtod(m, struct ieee80211_frame *); mtod 1360 dev/ic/acx.c wh = mtod(m, struct ieee80211_frame *); mtod 2238 dev/ic/acx.c m_copydata(m, 0, m->m_pkthdr.len, mtod(mnew, caddr_t)); mtod 2392 dev/ic/acx.c wh = mtod(m, struct ieee80211_frame *); mtod 2426 dev/ic/acx.c frm = mtod(m, u_int8_t *); mtod 720 dev/ic/acx100.c f = mtod(m, struct ieee80211_frame *); mtod 438 dev/ic/aic6915.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, caddr_t)); mtod 865 dev/ic/aic6915.c memcpy(mtod(m, caddr_t), mtod(ds->ds_mbuf, caddr_t), len); mtod 371 dev/ic/am7990.c (*sc->sc_copytobuf)(sc, mtod(m, caddr_t), boff, len); mtod 429 dev/ic/am7990.c (*sc->sc_copyfrombuf)(sc, mtod(m, caddr_t), boff, len); mtod 488 dev/ic/am7990.c eh = mtod(m, struct ether_header *); mtod 476 dev/ic/an.c wh = mtod(m, struct ieee80211_frame *); mtod 790 dev/ic/an.c if ((mtod(m, u_long) & 0x1) || (len & 0x1)) { mtod 800 dev/ic/an.c an_swap16((u_int16_t *)mtod(m, u_int16_t *), cnt); mtod 801 dev/ic/an.c CSR_WRITE_MULTI_STREAM_2(sc, AN_DATA0, mtod(m, u_int16_t *), mtod 1139 dev/ic/an.c wh = mtod(m, struct ieee80211_frame *); mtod 1149 dev/ic/an.c if (mtod(m, u_long) & 0x01) mtod 1150 dev/ic/an.c memcpy(mtod(m, caddr_t), &len, sizeof(len)); mtod 1152 dev/ic/an.c *mtod(m, u_int16_t *) = len; mtod 965 dev/ic/ath.c wh = mtod(m, struct ieee80211_frame *); mtod 979 dev/ic/ath.c wh = mtod(m, struct ieee80211_frame *); mtod 2026 dev/ic/ath.c wh = mtod(m, struct ieee80211_frame *); mtod 2035 dev/ic/ath.c wh = mtod(m, struct ieee80211_frame *); mtod 2044 dev/ic/ath.c wh = mtod(m, struct ieee80211_frame *); mtod 2122 dev/ic/ath.c wh = mtod(m0, struct ieee80211_frame *); mtod 2128 dev/ic/ath.c bcopy(mtod(m0, caddr_t), hdrbuf, hdrlen); mtod 2136 dev/ic/ath.c wh = mtod(m0, struct ieee80211_frame *); mtod 2178 dev/ic/ath.c bcopy(hdrbuf, mtod(m0, caddr_t), sizeof(hdrbuf)); mtod 2218 dev/ic/ath.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, caddr_t)); mtod 3227 dev/ic/atw.c wh = mtod(m, struct ieee80211_frame *); mtod 3682 dev/ic/atw.c wh = mtod(m0, struct ieee80211_frame *); mtod 3752 dev/ic/atw.c hh = mtod(m0, struct atw_frame *); mtod 3862 dev/ic/atw.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, caddr_t)); mtod 1010 dev/ic/awi.c awi_write_bytes(sc, frame + len, mtod(m, u_int8_t *), mtod 1078 dev/ic/awi.c memcpy(&eh, mtod(m0, caddr_t), sizeof(eh)); mtod 1081 dev/ic/awi.c llc = mtod(m0, struct llc *); mtod 1091 dev/ic/awi.c wh = mtod(m0, struct ieee80211_frame *); mtod 1123 dev/ic/awi.c llc = (struct llc *)(mtod(m0, caddr_t) + sizeof(wh)); mtod 1130 dev/ic/awi.c memcpy(&wh, mtod(m0, caddr_t), sizeof(wh)); mtod 1132 dev/ic/awi.c eh = mtod(m0, struct ether_header *); mtod 1154 dev/ic/awi.c if (ALIGN(mtod(m0, caddr_t) + sizeof(struct ether_header)) != mtod 1155 dev/ic/awi.c (u_int)(mtod(m0, caddr_t) + sizeof(struct ether_header))) { mtod 1198 dev/ic/awi.c m_copydata(m0, off, n->m_len, mtod(n, caddr_t)); mtod 1222 dev/ic/awi.c wh = mtod(m, struct ieee80211_frame *); mtod 1237 dev/ic/awi.c wh = mtod(m, struct ieee80211_frame *); mtod 1392 dev/ic/awi.c awi_read_bytes(sc, off, mtod(m, u_int8_t *) + m->m_len, tlen); mtod 1429 dev/ic/awi.c awi_read_bytes(sc, off, mtod(m, u_int8_t *), m->m_len); mtod 1892 dev/ic/awi.c wh = mtod(m0, struct ieee80211_frame *); mtod 1895 dev/ic/awi.c eframe = mtod(m0, u_int8_t *) + m0->m_len; mtod 2090 dev/ic/awi.c wh = mtod(m, struct ieee80211_frame *); mtod 2104 dev/ic/awi.c m->m_pkthdr.len = m->m_len = deauth - mtod(m, u_int8_t *); mtod 2128 dev/ic/awi.c wh = mtod(m, struct ieee80211_frame *); mtod 2149 dev/ic/awi.c m->m_pkthdr.len = m->m_len = auth - mtod(m, u_int8_t *); mtod 2167 dev/ic/awi.c wh = mtod(m0, struct ieee80211_frame *); mtod 2169 dev/ic/awi.c eframe = mtod(m0, u_int8_t *) + m0->m_len; mtod 2231 dev/ic/awi.c wh = mtod(m, struct ieee80211_frame *); mtod 2269 dev/ic/awi.c m->m_pkthdr.len = m->m_len = asreq - mtod(m, u_int8_t *); mtod 2289 dev/ic/awi.c wh = mtod(m0, struct ieee80211_frame *); mtod 2291 dev/ic/awi.c eframe = mtod(m0, u_int8_t *) + m0->m_len; mtod 2733 dev/ic/awi.c wh = mtod(m, struct ieee80211_frame *); mtod 2834 dev/ic/awi.c printf("%02x", mtod(m, u_int8_t *)[i]); mtod 351 dev/ic/awi_wep.c wh = mtod(n, struct ieee80211_frame *); mtod 362 dev/ic/awi_wep.c memcpy(mtod(n, caddr_t), mtod(m, caddr_t), len); mtod 368 dev/ic/awi_wep.c wh = mtod(n, struct ieee80211_frame *); mtod 375 dev/ic/awi_wep.c ivp = mtod(n, u_int8_t *) + noff; mtod 382 dev/ic/awi_wep.c ivp = mtod(m, u_int8_t *) + moff; mtod 423 dev/ic/awi_wep.c awa->awa_encrypt(ctx, mtod(n, caddr_t) + noff, mtod 424 dev/ic/awi_wep.c mtod(m, caddr_t) + moff, len); mtod 425 dev/ic/awi_wep.c crc = awi_crc_update(crc, mtod(m, caddr_t) + moff, len); mtod 427 dev/ic/awi_wep.c awa->awa_decrypt(ctx, mtod(n, caddr_t) + noff, mtod 428 dev/ic/awi_wep.c mtod(m, caddr_t) + moff, len); mtod 429 dev/ic/awi_wep.c crc = awi_crc_update(crc, mtod(n, caddr_t) + noff, len); mtod 449 dev/ic/awi_wep.c awa->awa_encrypt(ctx, mtod(n, caddr_t) + noff, crcbuf, mtod 460 dev/ic/awi_wep.c mtod(m, caddr_t) + moff, len); mtod 1984 dev/ic/dc.c bzero((char *)mtod(m_new, char *), m_new->m_len); mtod 2080 dev/ic/dc.c bcopy(mtod(m, char *), ptr, ETHER_MAX_DIX_LEN); mtod 2111 dev/ic/dc.c bcopy(ptr, mtod(m, char *), total_len); mtod 2241 dev/ic/dc.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, mtod 2702 dev/ic/dc.c m_copydata(m, 0, m->m_pkthdr.len, mtod(m_new, caddr_t)); mtod 1056 dev/ic/dp8390.c src = (*sc->ring_copy)(sc, src, mtod(m, caddr_t), len); mtod 1058 dev/ic/dp8390.c src = dp8390_ring_copy(sc, src, mtod(m, caddr_t), len); mtod 1168 dev/ic/dp8390.c data = mtod(m, u_char *); mtod 1047 dev/ic/elink3.c mtod(m, u_int8_t *), m->m_len & ~3); mtod 1050 dev/ic/elink3.c mtod(m, u_int8_t *) + (m->m_len & ~3), mtod 1059 dev/ic/elink3.c mtod(m, u_int8_t *), m->m_len & ~1); mtod 1062 dev/ic/elink3.c *(mtod(m, u_int8_t *) + m->m_len - 1)); mtod 1446 dev/ic/elink3.c mtod(m, u_int8_t *), len); mtod 1449 dev/ic/elink3.c mtod(m, u_int8_t *), len); mtod 1454 dev/ic/elink3.c mtod(m, u_int8_t *), len); mtod 1456 dev/ic/elink3.c *(mtod(m, u_int8_t *)) = mtod 729 dev/ic/fxp.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, caddr_t)); mtod 1494 dev/ic/fxp.c *mtod(m, bus_dmamap_t *) = rxmap; mtod 1501 dev/ic/fxp.c rxmap = *mtod(m, bus_dmamap_t *); mtod 976 dev/ic/gem.c eh = mtod(m, struct ether_header *); mtod 769 dev/ic/hme.c eh = mtod(m, struct ether_header *); mtod 1424 dev/ic/hme.c mtod(m, caddr_t), m->m_len, NULL, BUS_DMA_NOWAIT) != 0) mtod 1514 dev/ic/hme.c mtod(m, caddr_t), MCLBYTES - HME_RX_OFFSET, NULL, mtod 1040 dev/ic/i82596.c bcopy(&eh, mtod(m, caddr_t), sizeof(struct ether_header)); mtod 1056 dev/ic/i82596.c (sc->memcopyin)(sc, mtod(m, caddr_t) + thismboff, off, len); mtod 1119 dev/ic/i82596.c struct ether_header *eh = mtod(m, struct ether_header *); mtod 1280 dev/ic/i82596.c u_int8_t *e, *p = mtod(m, u_int8_t *); mtod 1292 dev/ic/i82596.c (sc->memcopyout)(sc, mtod(m,caddr_t), buffer, m->m_len); mtod 575 dev/ic/if_wi.c if (wi_read_data(sc, id, 0, mtod(m, caddr_t), mtod 582 dev/ic/if_wi.c rx_frame = mtod(m, struct wi_frame *); mtod 634 dev/ic/if_wi.c if (wi_read_data(sc, id, hdrlen, mtod(m, caddr_t) + hdrlen, mtod 678 dev/ic/if_wi.c eh = mtod(m, struct ether_header *); mtod 698 dev/ic/if_wi.c bcopy(&rx_frame, mtod(m, void *), mtod 701 dev/ic/if_wi.c mtod(m, caddr_t) + WI_802_11_OFFSET_RAW, mtod 746 dev/ic/if_wi.c mtod(m, caddr_t) + sizeof(struct ether_header), mtod 770 dev/ic/if_wi.c mtod(m, caddr_t), m->m_len + 2)) { mtod 2479 dev/ic/if_wi.c eh = mtod(m0, struct ether_header *); mtod 1003 dev/ic/if_wi_hostap.c pkt = mtod(m, caddr_t) + WI_802_11_OFFSET_RAW; mtod 301 dev/ic/lemac.c mtod(m, caddr_t) + sizeof(eh)); mtod 305 dev/ic/lemac.c (void *)(mtod(m, caddr_t) + sizeof(eh))); mtod 643 dev/ic/malo.c mtod(data->m, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 1441 dev/ic/malo.c wh = mtod(m0, struct ieee80211_frame *); mtod 1449 dev/ic/malo.c wh = mtod(m0, struct ieee80211_frame *); mtod 1492 dev/ic/malo.c *mtod(m0, uint16_t *) = htole16(m0->m_len - 32); /* FW len */ mtod 1553 dev/ic/malo.c wh = mtod(m0, struct ieee80211_frame *); mtod 1561 dev/ic/malo.c wh = mtod(m0, struct ieee80211_frame *); mtod 1603 dev/ic/malo.c *mtod(mnew, uint16_t *) = htole16(m0->m_pkthdr.len - 24); /* FW len */ mtod 1604 dev/ic/malo.c bcopy(wh, mtod(mnew, caddr_t) + 2, sizeof(*wh)); mtod 1605 dev/ic/malo.c bzero(mtod(mnew, caddr_t) + 26, 6); mtod 1607 dev/ic/malo.c mtod(mnew, caddr_t) + 32); mtod 1710 dev/ic/malo.c mtod(mnew, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 1715 dev/ic/malo.c mtod(data->m, void *), MCLBYTES, NULL, mtod 1770 dev/ic/malo.c wh = mtod(m, struct ieee80211_frame *); mtod 1531 dev/ic/midway.c if ( (mtod(lastm, unsigned long) % sizeof(u_int32_t)) != 0 || mtod 1553 dev/ic/midway.c ap = mtod(m, struct atm_pseudohdr *); mtod 1611 dev/ic/midway.c new_ap = mtod(m, struct atm_pseudohdr *); mtod 1623 dev/ic/midway.c cp = mtod(lastm, u_int8_t *) + lastm->m_len; mtod 1696 dev/ic/midway.c d = mtod(m, u_char *); mtod 1731 dev/ic/midway.c d = mtod(m, u_char *) + m->m_len; mtod 1742 dev/ic/midway.c cp = mtod(nxt, u_char *); mtod 1803 dev/ic/midway.c ap = mtod(launch.t, struct atm_pseudohdr *); mtod 1827 dev/ic/midway.c cp = mtod(tmp, u_int8_t *); mtod 2056 dev/ic/midway.c data = mtod(tmp, u_int32_t *); mtod 2752 dev/ic/midway.c sav = mtod(m, u_int32_t *); mtod 2807 dev/ic/midway.c sav = mtod(m, u_int32_t *); mtod 2839 dev/ic/midway.c data = mtod(tmp, u_int32_t *); mtod 513 dev/ic/mtd8xx.c mtod(m_new, caddr_t), MCLBYTES, NULL, mtod 953 dev/ic/mtd8xx.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, total_len + ETHER_ALIGN, mtod 514 dev/ic/ne2000.c NE2000_ASIC_DATA, mtod(m, u_int8_t *), mtod 533 dev/ic/ne2000.c data = mtod(m, u_int8_t *); mtod 166 dev/ic/pdq_ifsubr.c struct fddi_header *fh = mtod(m, struct fddi_header *); mtod 275 dev/ic/pdqvar.h #define PDQ_OS_DATABUF_PTR(b) (mtod((b), pdq_uint8_t *)) mtod 844 dev/ic/pgt.c frame = mtod(m, struct ieee80211_frame *); mtod 943 dev/ic/pgt.c pha = mtod(m, struct pgt_rx_header *); mtod 958 dev/ic/pgt.c pra = mtod(m, struct pgt_rx_annex *); mtod 1346 dev/ic/pgt.c pa = mtod(m, struct pgt_async_trap *); mtod 1347 dev/ic/pgt.c p = mtod(m, char *) + sizeof(*pa); mtod 1525 dev/ic/pgt.c bcopy(pd->pd_mem + dataoff, mtod(m, char *), datalen); mtod 2208 dev/ic/pgt.c mtod(m, struct ether_header *)->ether_dhost); mtod 2220 dev/ic/pgt.c bcopy(mtod(m, struct ether_header *), &eh, mtod 2879 dev/ic/pgt.c oid = *mtod(args, uint32_t *); mtod 2888 dev/ic/pgt.c ls = letoh32(*mtod(args, uint32_t *)); mtod 2903 dev/ic/pgt.c mlme = mtod(args, struct pgt_obj_mlme *); mtod 693 dev/ic/re.c eh = mtod(m0, struct ether_header *); mtod 743 dev/ic/re.c eh = mtod(m0, struct ether_header *); mtod 314 dev/ic/rln.c zfirst = ((*mtod(m0, u_int8_t *) & 1) == 0); mtod 356 dev/ic/rln.c RLNDUMPHEX(mtod(m, void *), m->m_len); mtod 358 dev/ic/rln.c rln_msg_tx_data(sc, mtod(m, void *), m->m_len, &state); mtod 582 dev/ic/rln.c if (bcmp(mtod(m, u_int8_t *), "prox", 4) == 0) { mtod 776 dev/ic/rln.c rln_rx_pdata(sc, mtod(m, u_int8_t *), len, &pd); mtod 778 dev/ic/rln.c RLNDUMPHEX(mtod(m, u_int8_t *), len); mtod 575 dev/ic/rt2560.c mtod(data->m, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 1136 dev/ic/rt2560.c mtod(mnew, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 1142 dev/ic/rt2560.c mtod(data->m, void *), MCLBYTES, NULL, mtod 1195 dev/ic/rt2560.c wh = mtod(m, struct ieee80211_frame *); mtod 1583 dev/ic/rt2560.c mtod(m0, uint8_t *) + mtod 1613 dev/ic/rt2560.c wh = mtod(m0, struct ieee80211_frame *); mtod 1621 dev/ic/rt2560.c wh = mtod(m0, struct ieee80211_frame *); mtod 1657 dev/ic/rt2560.c wh = mtod(m0, struct ieee80211_frame *); mtod 1708 dev/ic/rt2560.c wh = mtod(m0, struct ieee80211_frame *); mtod 1716 dev/ic/rt2560.c wh = mtod(m0, struct ieee80211_frame *); mtod 1848 dev/ic/rt2560.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, caddr_t)); mtod 1863 dev/ic/rt2560.c wh = mtod(m0, struct ieee80211_frame *); mtod 605 dev/ic/rt2661.c mtod(data->m, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 1059 dev/ic/rt2661.c mtod(mnew, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 1065 dev/ic/rt2661.c mtod(data->m, void *), MCLBYTES, NULL, mtod 1117 dev/ic/rt2661.c wh = mtod(m, struct ieee80211_frame *); mtod 1463 dev/ic/rt2661.c wh = mtod(m0, struct ieee80211_frame *); mtod 1471 dev/ic/rt2661.c wh = mtod(m0, struct ieee80211_frame *); mtod 1556 dev/ic/rt2661.c wh = mtod(m0, struct ieee80211_frame *); mtod 1564 dev/ic/rt2661.c wh = mtod(m0, struct ieee80211_frame *); mtod 1693 dev/ic/rt2661.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, caddr_t)); mtod 1708 dev/ic/rt2661.c wh = mtod(m0, struct ieee80211_frame *); mtod 2822 dev/ic/rt2661.c mtod(m0, uint8_t *), m0->m_pkthdr.len); mtod 872 dev/ic/rtl81x9.c m_copydata(m_head, 0, m_head->m_pkthdr.len, mtod(m_new, caddr_t)); mtod 883 dev/ic/rtl81x9.c bzero(mtod(m_new, char *) + m_new->m_pkthdr.len, mtod 1292 dev/ic/rtw.c wh = mtod(m, struct ieee80211_frame *); mtod 1304 dev/ic/rtw.c ieee80211_dump_pkt(mtod(m, uint8_t *), m->m_pkthdr.len, mtod 2907 dev/ic/rtw.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, caddr_t)); mtod 3164 dev/ic/rtw.c wh = mtod(m0, struct ieee80211_frame *); mtod 3176 dev/ic/rtw.c ieee80211_dump_pkt(mtod(m0, uint8_t *), mtod 431 dev/ic/smc83c170.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, caddr_t)); mtod 749 dev/ic/smc83c170.c memcpy(mtod(m, caddr_t), mtod 750 dev/ic/smc83c170.c mtod(ds->ds_mbuf, caddr_t), len); mtod 669 dev/ic/smc91cxx.c mtod(m, u_int16_t *), m->m_len >> 1); mtod 674 dev/ic/smc91cxx.c *(u_int8_t *)(mtod(m, u_int8_t *) + (m->m_len - 1))); mtod 994 dev/ic/smc91cxx.c m->m_data = (caddr_t) ALIGN(mtod(m, caddr_t) + mtod 997 dev/ic/smc91cxx.c data = mtod(m, u_int8_t *); mtod 679 dev/ic/xl.c mtod(m, struct ether_header *)->ether_dhost, ETHER_ADDR_LEN); mtod 681 dev/ic/xl.c mtod(m, struct ether_header *)->ether_shost, ETHER_ADDR_LEN); mtod 682 dev/ic/xl.c mtod(m, struct ether_header *)->ether_type = htons(3); mtod 683 dev/ic/xl.c mtod(m, unsigned char *)[14] = 0; mtod 684 dev/ic/xl.c mtod(m, unsigned char *)[15] = 0; mtod 685 dev/ic/xl.c mtod(m, unsigned char *)[16] = 0xE3; mtod 1114 dev/ic/xl.c mtod(m_new, caddr_t), MCLBYTES, NULL, BUS_DMA_NOWAIT) != 0) { mtod 1665 dev/ic/xl.c mtod(m_new, caddr_t)); mtod 595 dev/isa/if_ec.c mtod(m, u_int8_t *), m->m_len); mtod 615 dev/isa/if_ec.c data = mtod(m, u_int8_t *); mtod 792 dev/isa/if_ef_isapnp.c EF_W1_RX_PIO_RR_1, mtod(m, u_int8_t *), mtod 795 dev/isa/if_ef_isapnp.c *(mtod(m, u_int8_t *)) = mtod 579 dev/isa/if_eg.c bcopy(mtod(m, caddr_t), buffer, m->m_len); mtod 767 dev/isa/if_eg.c bcopy((caddr_t)buf, mtod(m, caddr_t), len); mtod 343 dev/isa/if_el.c outsb(iobase+EL_BUF, mtod(m, caddr_t), m->m_len); mtod 571 dev/isa/if_el.c insb(iobase+EL_BUF, mtod(m, caddr_t), len); mtod 488 dev/isa/if_ex.c tmp16[1] = *(mtod(m, caddr_t)); mtod 491 dev/isa/if_ex.c ISA_PUT_2_MULTI(IO_PORT_REG, mtod(m, caddr_t) mtod 494 dev/isa/if_ex.c tmp16[0] = *(mtod(m, caddr_t) + mtod 722 dev/isa/if_ex.c mtod(m, caddr_t), m->m_len / 2); mtod 724 dev/isa/if_ex.c *(mtod(m, caddr_t) + mtod 1313 dev/isa/if_ie.c mtod(m, caddr_t) + thismboff, (u_int)len); mtod 1497 dev/isa/if_ie.c bcopy(mtod(m, caddr_t), buffer, m->m_len); mtod 631 dev/isa/if_we.c buf, mtod(m, u_int8_t *), m->m_len); mtod 643 dev/isa/if_we.c data = mtod(m, u_int8_t *); mtod 153 dev/pci/if_bce.c *mtod(sc->bce_cdata.bce_rx_chain[x], u_int32_t *) = 0; \ mtod 763 dev/pci/if_bce.c pph = mtod(sc->bce_cdata.bce_rx_chain[i], struct rx_pph *); mtod 802 dev/pci/if_bce.c memcpy(mtod(m, caddr_t), mtod 803 dev/pci/if_bce.c mtod(sc->bce_cdata.bce_rx_chain[i], caddr_t), len); mtod 2327 dev/pci/if_bge.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, mtod 2326 dev/pci/if_bgereg.h (mtod((m), char *) - (char *)(sc)->bge_cdata.bge_jumbo_buf)) mtod 3827 dev/pci/if_bnx.c l2fhdr = mtod(m, struct l2_fhdr *); mtod 3903 dev/pci/if_bnx.c eh = mtod(m, struct ether_header *); mtod 277 dev/pci/if_de.c bcopy(sc->tulip_enaddr, mtod(m, struct ether_header *)->ether_dhost, mtod 279 dev/pci/if_de.c bcopy(sc->tulip_enaddr, mtod(m, struct ether_header *)->ether_shost, mtod 281 dev/pci/if_de.c mtod(m, struct ether_header *)->ether_type = htons(3); mtod 282 dev/pci/if_de.c mtod(m, unsigned char *)[14] = 0; mtod 283 dev/pci/if_de.c mtod(m, unsigned char *)[15] = 0; mtod 284 dev/pci/if_de.c mtod(m, unsigned char *)[16] = 0xE3; /* LLC Class1 TEST (no poll) */ mtod 3295 dev/pci/if_de.c bpf_tap(sc->tulip_if.if_bpf, mtod(ms, caddr_t), mtod 3326 dev/pci/if_de.c ether_sprintf(mtod(ms, u_char *) + 6), mtod 3388 dev/pci/if_de.c m_copydata(ms, 0, total_len, mtod(m0, caddr_t)); mtod 3427 dev/pci/if_de.c error = bus_dmamap_load(sc->tulip_dmatag, map, mtod(ms, void *), mtod 3769 dev/pci/if_de.c m_copydata(m, 0, m->m_pkthdr.len, mtod(m0, caddr_t)); mtod 3798 dev/pci/if_de.c (*mp)->m_len, mtod((*mp), caddr_t)); mtod 2551 dev/pci/if_em.c last_byte = *(mtod(mp, caddr_t) + desc_len - 1); mtod 519 dev/pci/if_ipw.c mtod(sbuf->m, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 764 dev/pci/if_ipw.c cmd = mtod(sbuf->m, struct ipw_cmd *); mtod 783 dev/pci/if_ipw.c state = letoh32(*mtod(sbuf->m, uint32_t *)); mtod 851 dev/pci/if_ipw.c error = bus_dmamap_load(sc->sc_dmat, sbuf->map, mtod(mnew, void *), mtod 858 dev/pci/if_ipw.c mtod(sbuf->m, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 896 dev/pci/if_ipw.c wh = mtod(m, struct ieee80211_frame *); mtod 1131 dev/pci/if_ipw.c wh = mtod(m, struct ieee80211_frame *); mtod 1139 dev/pci/if_ipw.c wh = mtod(m, struct ieee80211_frame *); mtod 1206 dev/pci/if_ipw.c m_copydata(m, 0, m->m_pkthdr.len, mtod(mnew, caddr_t)); mtod 616 dev/pci/if_iwi.c mtod(data->m, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 906 dev/pci/if_iwi.c error = bus_dmamap_load(sc->sc_dmat, data->map, mtod(mnew, void *), mtod 913 dev/pci/if_iwi.c mtod(data->m, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); mtod 933 dev/pci/if_iwi.c wh = mtod(m, struct ieee80211_frame *); mtod 947 dev/pci/if_iwi.c wh = mtod(m, struct ieee80211_frame *); mtod 1107 dev/pci/if_iwi.c hdr = mtod(data->m, struct iwi_hdr *); mtod 1330 dev/pci/if_iwi.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, caddr_t)); mtod 724 dev/pci/if_lge.c c->lge_fragptr_lo = VTOPHYS(mtod(m_new, caddr_t)); mtod 931 dev/pci/if_lge.c m0 = m_devget(mtod(m, char *), total_len, ETHER_ALIGN, mtod 1130 dev/pci/if_lge.c f->lge_fragptr_lo = VTOPHYS(mtod(m, vaddr_t)); mtod 619 dev/pci/if_lmc.c LMC_BPF_TAP(sc, mtod(ms, caddr_t), mtod 705 dev/pci/if_lmc.c mtod(ms, void *), LMC_RX_BUFLEN, mtod 939 dev/pci/if_lmc.c m_copydata(m, 0, m->m_pkthdr.len, mtod(m0, caddr_t)); mtod 970 dev/pci/if_lmc.c (*mp)->m_len, mtod((*mp), caddr_t)); mtod 1647 dev/pci/if_msk.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, mtod 2219 dev/pci/if_msk.c msk_dump_bytes(mtod(m, char *), m->m_len); mtod 710 dev/pci/if_nfe.c mtod(data->m, caddr_t) - sc->rxq.jpool, NFE_JBYTES, mtod 727 dev/pci/if_nfe.c mtod(mnew, void *), MCLBYTES, NULL, mtod 734 dev/pci/if_nfe.c mtod(data->m, void *), MCLBYTES, NULL, mtod 1285 dev/pci/if_nfe.c mtod(data->m, void *), MCLBYTES, NULL, mtod 1095 dev/pci/if_nge.c c->nge_ptr = VTOPHYS(mtod(m_new, caddr_t)); mtod 1321 dev/pci/if_nge.c m0 = m_devget(mtod(m, char *), total_len, mtod 1625 dev/pci/if_nge.c f->nge_ptr = VTOPHYS(mtod(m, vaddr_t)); mtod 1366 dev/pci/if_nxe.c m_copydata(m, 0, m->m_pkthdr.len, mtod(m0, caddr_t)); mtod 919 dev/pci/if_pcn.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, caddr_t)); mtod 1483 dev/pci/if_pcn.c memcpy(mtod(m, caddr_t), mtod 1484 dev/pci/if_pcn.c mtod(rxs->rxs_mbuf, caddr_t), len); mtod 425 dev/pci/if_san_common.c if (m0->m_next == NULL && (mtod(m0, u_int32_t) & 0x03) == 0) mtod 444 dev/pci/if_san_common.c buffer = mtod(m, caddr_t); mtod 463 dev/pci/if_san_common.c bcopy(mtod(tmp, caddr_t), buffer, tmp->m_len); mtod 705 dev/pci/if_san_xilinx.c wan_udp_pkt = mtod(m, wan_udp_pkt_t *); mtod 759 dev/pci/if_san_xilinx.c wan_udp_pkt = mtod(m, wan_udp_pkt_t *); mtod 1832 dev/pci/if_san_xilinx.c if (ADDR_MASK(mtod(m, caddr_t), 0x03)) { mtod 1842 dev/pci/if_san_xilinx.c mtod(m, void *), len, NULL, BUS_DMA_NOWAIT | BUS_DMA_WRITE)) { mtod 2464 dev/pci/if_san_xilinx.c mtod(buf->mbuf, void *), sc->dma_mtu, NULL, mtod 2487 dev/pci/if_san_xilinx.c if (bus_dmamap_load(sc->dmatag, buf->dma_map, mtod(buf->mbuf, void *), mtod 1262 dev/pci/if_sis.c mtod(m_new, caddr_t), MCLBYTES, NULL, BUS_DMA_NOWAIT) != 0) { mtod 1349 dev/pci/if_sis.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, mtod 1792 dev/pci/if_sk.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, mtod 1829 dev/pci/if_sk.c pp = mtod(m, u_int8_t *); mtod 2875 dev/pci/if_sk.c sk_dump_bytes(mtod(m, char *), m->m_len); mtod 1024 dev/pci/if_ste.c c->ste_ptr->ste_frag.ste_addr = vtophys(mtod(m_new, vaddr_t)); mtod 1378 dev/pci/if_ste.c f->ste_addr = vtophys(mtod(m, vaddr_t)); mtod 1406 dev/pci/if_ste.c mtod(mn, caddr_t)); mtod 1051 dev/pci/if_stge.c m_copydata(m, 0, len, mtod(nm, caddr_t)); mtod 1208 dev/pci/if_tht.c m_copydata(m, 0, m->m_pkthdr.len, mtod(m0, caddr_t)); mtod 1760 dev/pci/if_ti.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, mtod 1085 dev/pci/if_tireg.h (mtod((m), char *) - (char *)(sc)->ti_cdata.ti_jumbo_buf)) mtod 1081 dev/pci/if_tl.c c->tl_ptr->tl_frag.tlist_dadr = VTOPHYS(mtod(m_new, caddr_t)); mtod 1146 dev/pci/if_tl.c eh = mtod(m, struct ether_header *); mtod 1487 dev/pci/if_tl.c VTOPHYS(mtod(m, vaddr_t)); mtod 1517 dev/pci/if_tl.c mtod(m_new, caddr_t)); mtod 1522 dev/pci/if_tl.c f->tlist_dadr = VTOPHYS(mtod(m_new, caddr_t)); mtod 1422 dev/pci/if_txp.c m_copydata(m, 0, m->m_pkthdr.len, mtod(mnew, caddr_t)); mtod 1042 dev/pci/if_vge.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, mtod 1356 dev/pci/if_vge.c mtod(mnew, caddr_t)); mtod 1073 dev/pci/if_vic.c m_copydata(m, 0, m->m_pkthdr.len, mtod(m0, caddr_t)); mtod 1283 dev/pci/if_vr.c m_copydata(m_head, 0, m_head->m_pkthdr.len, mtod(m_new, caddr_t)); mtod 989 dev/pci/if_wb.c c->wb_ptr->wb_data = VTOPHYS(mtod(m_new, caddr_t)); mtod 1053 dev/pci/if_wb.c m0 = m_devget(mtod(m, char *) - ETHER_ALIGN, mtod 1309 dev/pci/if_wb.c f->wb_data = VTOPHYS(mtod(m, vaddr_t)); mtod 1336 dev/pci/if_wb.c mtod(m_new, caddr_t)); mtod 1342 dev/pci/if_wb.c f->wb_data = VTOPHYS(mtod(m_new, caddr_t)); mtod 1307 dev/pci/if_wpi.c wh = mtod(m, struct ieee80211_frame *); mtod 1392 dev/pci/if_wpi.c struct wpi_rx_desc *desc = mtod(data->m, struct wpi_rx_desc *); mtod 1572 dev/pci/if_wpi.c wh = mtod(m0, struct ieee80211_frame *); mtod 1719 dev/pci/if_wpi.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, caddr_t)); mtod 2317 dev/pci/if_wpi.c error = bus_dmamap_load(sc->sc_dmat, data->map, mtod(m0, void *), mtod 2446 dev/pci/if_wpi.c cmd = mtod(data->m, struct wpi_tx_cmd *); mtod 956 dev/pci/musycc.c mtod(m_new, caddr_t), m_new->m_pkthdr.len, NULL, mtod 1597 dev/pci/safe.c sptr = mtod(srcm, caddr_t) + j; mtod 1606 dev/pci/safe.c dptr = mtod(dstm, caddr_t) + j; mtod 517 dev/pcmcia/if_cnw.c mptr = mtod(m, u_int8_t *); mtod 603 dev/pcmcia/if_cnw.c mptr = mtod(m, u_int8_t *); mtod 678 dev/pcmcia/if_cnw.c eh = mtod(m, struct ether_header *); mtod 960 dev/pcmcia/if_malo.c data = mtod(m, uint8_t *); mtod 1232 dev/pcmcia/if_ray.c eh = mtod(m0, struct ether_header *); mtod 1257 dev/pcmcia/if_ray.c iframe = mtod(m0, struct ieee80211_frame *); mtod 1299 dev/pcmcia/if_ray.c d = mtod(m, u_int8_t *); mtod 1442 dev/pcmcia/if_ray.c d = mtod(m, u_int8_t *); mtod 1511 dev/pcmcia/if_ray.c frame = mtod(m, struct ieee80211_frame *); mtod 3225 dev/pcmcia/if_ray.c d = mtod(m, u_int8_t *); mtod 813 dev/pcmcia/if_xe.c data = mtod(m, u_int8_t *); mtod 1145 dev/pcmcia/if_xe.c mtod(m, u_int8_t *), m->m_len & ~1); mtod 1148 dev/pcmcia/if_xe.c *(mtod(m, u_int8_t *) + m->m_len - 1)); mtod 476 dev/sbus/be.c bcopy(mtod(m, caddr_t), bp+boff, len); mtod 528 dev/sbus/be.c bcopy(bp + boff, mtod(m, caddr_t), len); mtod 367 dev/sbus/qe.c bcopy(bp + boff, mtod(m, caddr_t), len); mtod 399 dev/sbus/qe.c bcopy(mtod(m, caddr_t), bp+boff, len); mtod 1724 dev/usb/if_atu.c memcpy(mtod(m, char *), c->atu_buf + ATU_RX_HDRLEN, len); mtod 1728 dev/usb/if_atu.c wh = mtod(m, struct ieee80211_frame *); mtod 2010 dev/usb/if_atu.c wh = mtod(m, struct ieee80211_frame *); mtod 2032 dev/usb/if_atu.c wh = mtod(m, struct ieee80211_frame *); mtod 1095 dev/usb/if_aue.c memcpy(mtod(c->aue_mbuf, char *), c->aue_buf, total_len); mtod 997 dev/usb/if_axe.c memcpy(mtod(m, char *), buf, pktlen); mtod 799 dev/usb/if_cdce.c memcpy(mtod(m, char *), c->cdce_buf, total_len); mtod 428 dev/usb/if_cdcef.c bcopy(sc->sc_buffer_out, mtod(m, char *), total_len); mtod 755 dev/usb/if_cue.c memcpy(mtod(c->cue_mbuf, char *), c->cue_buf, total_len); mtod 758 dev/usb/if_cue.c len = UGETW(mtod(m, u_int8_t *)); mtod 752 dev/usb/if_kue.c UGETW(mtod(c->kue_mbuf, u_int8_t *)))); mtod 759 dev/usb/if_kue.c memcpy(mtod(m, char *), c->kue_buf, total_len); mtod 762 dev/usb/if_kue.c total_len = UGETW(mtod(m, u_int8_t *)); mtod 495 dev/usb/if_ral.c data->buf = mtod(data->m, uint8_t *); mtod 768 dev/usb/if_ral.c data->buf = mtod(data->m, uint8_t *); mtod 799 dev/usb/if_ral.c wh = mtod(m, struct ieee80211_frame *); mtod 1052 dev/usb/if_ral.c wh = mtod(m0, struct ieee80211_frame *); mtod 1060 dev/usb/if_ral.c wh = mtod(m0, struct ieee80211_frame *); mtod 579 dev/usb/if_rum.c data->buf = mtod(data->m, uint8_t *); mtod 826 dev/usb/if_rum.c data->buf = mtod(data->m, uint8_t *); mtod 857 dev/usb/if_rum.c wh = mtod(m, struct ieee80211_frame *); mtod 1061 dev/usb/if_rum.c wh = mtod(m0, struct ieee80211_frame *); mtod 1069 dev/usb/if_rum.c wh = mtod(m0, struct ieee80211_frame *); mtod 2174 dev/usb/if_rum.c rum_write_multi(sc, RT2573_HW_BEACON_BASE0 + 24, mtod(m0, uint8_t *), mtod 1254 dev/usb/if_uath.c wh = mtod(m, struct ieee80211_frame *); mtod 1267 dev/usb/if_uath.c wh = mtod(m, struct ieee80211_frame *); mtod 1410 dev/usb/if_uath.c wh = mtod(m0, struct ieee80211_frame *); mtod 1162 dev/usb/if_udav.c memcpy(mtod(m, char *), c->udav_buf + UDAV_RX_HDRLEN, total_len); mtod 528 dev/usb/if_upl.c memcpy(mtod(c->upl_mbuf, char *), c->upl_buf, total_len); mtod 1027 dev/usb/if_url.c memcpy(mtod(c->url_mbuf, char *), c->url_buf, total_len); mtod 1903 dev/usb/if_zyd.c bcopy((const uint8_t *)(plcp + 1), mtod(m, uint8_t *), rlen); mtod 1932 dev/usb/if_zyd.c wh = mtod(m, struct ieee80211_frame *); mtod 2056 dev/usb/if_zyd.c wh = mtod(m0, struct ieee80211_frame *); mtod 2064 dev/usb/if_zyd.c wh = mtod(m0, struct ieee80211_frame *); mtod 1212 dev/usb/ubt.c *mtod(m, uint8_t *) = type; mtod 1451 dev/usb/ubt.c ptr = mtod(m, uint8_t *) + m->m_pkthdr.len; mtod 1455 dev/usb/ubt.c want += mtod(m, hci_scodata_hdr_t *)->length ; mtod 1478 dev/usb/ubt.c ptr = mtod(m, uint8_t *); mtod 1503 dev/usb/ubt.c want += mtod(m, hci_scodata_hdr_t *)->length; mtod 844 dev/usb/ueagle.c vcc->dst = mtod(m, uint8_t *); mtod 865 dev/usb/ueagle.c totlen = vcc->dst - mtod(m, uint8_t *); mtod 878 dev/usb/ueagle.c crc = ueagle_crc_update(CRC_INITIAL, mtod(m, uint8_t *), totlen); mtod 1002 dev/usb/ueagle.c src = mtod(m, uint8_t *); mtod 215 kern/uipc_mbuf.c memset(mtod(m, caddr_t), 0, MLEN); mtod 387 kern/uipc_mbuf.c memcpy(mtod(n, caddr_t), mtod(m, caddr_t) + off, mtod 391 kern/uipc_mbuf.c memcpy(mtod(n, caddr_t), mtod(m, caddr_t) + off, mtod 440 kern/uipc_mbuf.c bcopy(mtod(m, caddr_t) + off, cp, count); mtod 478 kern/uipc_mbuf.c bcopy(cp, off + mtod(m, caddr_t), (unsigned)mlen); mtod 518 kern/uipc_mbuf.c bcopy(mtod(n, caddr_t), mtod(m, caddr_t) + m->m_len, mtod 639 kern/uipc_mbuf.c bcopy(mtod(n, caddr_t), mtod(m, caddr_t) + m->m_len, mtod 708 kern/uipc_mbuf.c bcopy(mtod(n, caddr_t), mtod(m, caddr_t) + m->m_len, mtod 877 kern/uipc_mbuf.c bcopy(mtod(m, caddr_t) + len, mtod(n, caddr_t), remain); mtod 945 kern/uipc_mbuf.c copy(cp, mtod(m, caddr_t), (size_t)len); mtod 947 kern/uipc_mbuf.c bcopy(cp, mtod(m, caddr_t), (size_t)len); mtod 1006 kern/uipc_mbuf.c rval = f(fstate, mtod(m, caddr_t) + off, count); mtod 173 kern/uipc_mbuf2.c m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); mtod 182 kern/uipc_mbuf2.c bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen); mtod 207 kern/uipc_mbuf2.c bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen); mtod 210 kern/uipc_mbuf2.c m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len); mtod 252 kern/uipc_mbuf2.c m_copydata(m, off, len, mtod(n, caddr_t)); mtod 482 kern/uipc_socket.c error = uiomove(mtod(m, caddr_t), (int)len, mtod 575 kern/uipc_socket.c error = uiomove(mtod(m, caddr_t), mtod 698 kern/uipc_socket.c mtod(m, struct cmsghdr *)->cmsg_type == mtod 711 kern/uipc_socket.c mtod(m, struct cmsghdr *)->cmsg_type == SCM_RIGHTS) mtod 791 kern/uipc_socket.c uiomove(mtod(m, caddr_t) + moff, (int)len, mtod 987 kern/uipc_socket.c mtod(m, struct linger *)->l_linger < 0 || mtod 988 kern/uipc_socket.c mtod(m, struct linger *)->l_linger > SHRT_MAX) { mtod 992 kern/uipc_socket.c so->so_linger = mtod(m, struct linger *)->l_linger; mtod 1008 kern/uipc_socket.c if (*mtod(m, int *)) mtod 1025 kern/uipc_socket.c cnt = *mtod(m, int *); mtod 1068 kern/uipc_socket.c tv = mtod(m, struct timeval *); mtod 1124 kern/uipc_socket.c mtod(m, struct linger *)->l_onoff = mtod 1126 kern/uipc_socket.c mtod(m, struct linger *)->l_linger = so->so_linger; mtod 1138 kern/uipc_socket.c *mtod(m, int *) = so->so_options & optname; mtod 1142 kern/uipc_socket.c *mtod(m, int *) = so->so_type; mtod 1146 kern/uipc_socket.c *mtod(m, int *) = so->so_error; mtod 1151 kern/uipc_socket.c *mtod(m, int *) = so->so_snd.sb_hiwat; mtod 1155 kern/uipc_socket.c *mtod(m, int *) = so->so_rcv.sb_hiwat; mtod 1159 kern/uipc_socket.c *mtod(m, int *) = so->so_snd.sb_lowat; mtod 1163 kern/uipc_socket.c *mtod(m, int *) = so->so_rcv.sb_lowat; mtod 1173 kern/uipc_socket.c mtod(m, struct timeval *)->tv_sec = val / hz; mtod 1174 kern/uipc_socket.c mtod(m, struct timeval *)->tv_usec = mtod 693 kern/uipc_socket2.c bcopy(asa, mtod(m, caddr_t), asa->sa_len); mtod 779 kern/uipc_socket2.c bcopy(mtod(m, caddr_t), mtod(n, caddr_t) + n->m_len, mtod 926 kern/uipc_socket2.c cp = mtod(m, struct cmsghdr *); mtod 234 kern/uipc_syscalls.c if ((error = copyout(mtod(nam, caddr_t), mtod 502 kern/uipc_syscalls.c cm = mtod(control, struct cmsghdr *); mtod 698 kern/uipc_syscalls.c mtod(from, struct osockaddr *)->sa_family = mtod 699 kern/uipc_syscalls.c mtod(from, struct sockaddr *)->sa_family; mtod 701 kern/uipc_syscalls.c error = copyout(mtod(from, caddr_t), mp->msg_name, alen); mtod 726 kern/uipc_syscalls.c if (mtod(control, struct cmsghdr *)->cmsg_level != mtod 728 kern/uipc_syscalls.c mtod(control, struct cmsghdr *)->cmsg_type != mtod 750 kern/uipc_syscalls.c error = copyout(mtod(m, caddr_t), p, mtod 828 kern/uipc_syscalls.c error = copyin(SCARG(uap, val), mtod(m, caddr_t), mtod 875 kern/uipc_syscalls.c error = copyout(mtod(m, caddr_t), SCARG(uap, val), valsize); mtod 941 kern/uipc_syscalls.c error = copyout(mtod(m, caddr_t), SCARG(uap, asa), len); mtod 985 kern/uipc_syscalls.c error = copyout(mtod(m, caddr_t), SCARG(uap, asa), len); mtod 1029 kern/uipc_syscalls.c id = mtod(m, struct unpcbid *); mtod 1064 kern/uipc_syscalls.c error = copyin(buf, mtod(m, caddr_t), buflen); mtod 1071 kern/uipc_syscalls.c sa = mtod(m, struct sockaddr *); mtod 125 kern/uipc_usrreq.c bcopy(mtod(unp->unp_conn->unp_addr, caddr_t), mtod 126 kern/uipc_usrreq.c mtod(nam, caddr_t), (unsigned)nam->m_len); mtod 129 kern/uipc_usrreq.c *(mtod(nam, struct sockaddr *)) = sun_noname; mtod 193 kern/uipc_usrreq.c from = mtod(unp->unp_addr, struct sockaddr *); mtod 277 kern/uipc_usrreq.c bcopy(mtod(unp->unp_addr, caddr_t), mtod 278 kern/uipc_usrreq.c mtod(nam, caddr_t), (unsigned)nam->m_len); mtod 286 kern/uipc_usrreq.c bcopy(mtod(unp->unp_conn->unp_addr, caddr_t), mtod 287 kern/uipc_usrreq.c mtod(nam, caddr_t), (unsigned)nam->m_len); mtod 296 kern/uipc_usrreq.c mtod(nam, caddr_t), (unsigned)nam->m_len); mtod 398 kern/uipc_usrreq.c struct sockaddr_un *soun = mtod(nam, struct sockaddr_un *); mtod 446 kern/uipc_usrreq.c struct sockaddr_un *soun = mtod(nam, struct sockaddr_un *); mtod 455 kern/uipc_usrreq.c if (*(mtod(nam, caddr_t) + nam->m_len - 1) != 0) mtod 458 kern/uipc_usrreq.c *(mtod(nam, caddr_t) + nam->m_len) = 0; mtod 614 kern/uipc_usrreq.c struct cmsghdr *cm = mtod(rights, struct cmsghdr *); mtod 732 kern/uipc_usrreq.c struct cmsghdr *cm = mtod(control, struct cmsghdr *); mtod 757 kern/uipc_usrreq.c memcpy(mtod(control, char *), cm, cm->cmsg_len); mtod 758 kern/uipc_usrreq.c cm = mtod(control, struct cmsghdr *); mtod 939 kern/uipc_usrreq.c cm = mtod(m, struct cmsghdr *); mtod 1541 kern/vfs_subr.c saddr = mtod(nam, struct sockaddr *); mtod 410 miscfs/portal/portal_vnops.c error = *(mtod(m, int *)); mtod 442 miscfs/portal/portal_vnops.c cmsg = mtod(cm, struct cmsghdr *); mtod 192 net/bpf.c error = uiomove(mtod(m, caddr_t), len, uio); mtod 196 net/bpf.c slen = bpf_filter(filter, mtod(m, u_char *), len, len); mtod 1141 net/bpf.c bcopy(mtod(m, caddr_t), (caddr_t)dst, count); mtod 99 net/bpf_filter.c cp = mtod(m, u_char *) + k; mtod 108 net/bpf_filter.c np = mtod(m0, u_char *); mtod 134 net/bpf_filter.c cp = mtod(m, u_char *) + k; mtod 143 net/bpf_filter.c return (cp[0] << 8) | mtod(m0, u_char *)[0]; mtod 236 net/bpf_filter.c A = mtod(m, u_char *)[k]; mtod 302 net/bpf_filter.c A = mtod(m, u_char *)[k]; mtod 322 net/bpf_filter.c X = (mtod(m, u_char *)[k] & 0xf) << 2; mtod 390 net/bridgestp.c eh = mtod(m, struct ether_header *); mtod 400 net/bridgestp.c bcopy(&bpdu, mtod(m, caddr_t) + sizeof(*eh), sizeof(bpdu)); mtod 505 net/bridgestp.c eh = mtod(m, struct ether_header *); mtod 519 net/bridgestp.c memcpy(mtod(m, caddr_t) + sizeof(*eh), bpdu, mtod 527 net/bridgestp.c memcpy(mtod(m, caddr_t) + sizeof(*eh), bpdu, mtod 612 net/bridgestp.c bcopy(mtod(m, struct tpdu *), &tpdu, sizeof(tpdu)); mtod 675 net/bridgestp.c memcpy(&cpdu, mtod(*mp, caddr_t), BSTP_BPDU_STP_LEN); mtod 696 net/bridgestp.c memcpy(&cpdu, mtod(*mp, caddr_t), BSTP_BPDU_RSTP_LEN); mtod 496 net/bsd-comp.c m->m_len = wptr - mtod(m, u_char *); \ mtod 503 net/bsd-comp.c wptr = mtod(m, u_char *); \ mtod 526 net/bsd-comp.c rptr = mtod(mp, u_char *); mtod 546 net/bsd-comp.c wptr = mtod(m, u_char *); mtod 574 net/bsd-comp.c rptr = mtod(mp, u_char *); mtod 650 net/bsd-comp.c m->m_len = wptr - mtod(m, u_char *); mtod 709 net/bsd-comp.c rptr = mtod(dmsg, u_char *); mtod 724 net/bsd-comp.c rptr = mtod(dmsg, u_char *); mtod 841 net/bsd-comp.c rptr = mtod(cmp, u_char *); mtod 852 net/bsd-comp.c rptr = mtod(cmp, u_char *); mtod 882 net/bsd-comp.c wptr = mtod(dmp, u_char *); mtod 902 net/bsd-comp.c rptr = mtod(cmp, u_char *); mtod 985 net/bsd-comp.c dmp->m_len = wptr - mtod(dmp, u_char *); mtod 1002 net/bsd-comp.c wptr = mtod(dmp, u_char *); mtod 1079 net/bsd-comp.c dmp->m_len = wptr - mtod(dmp, u_char *); mtod 644 net/if.h (pa)->pattr_hdr = mtod((m), caddr_t); \ mtod 221 net/if_atmsubr.c ad = mtod(m, struct atm_pseudohdr *); mtod 298 net/if_atmsubr.c alc = mtod(m, struct atmllc *); mtod 1025 net/if_bridge.c eh = mtod(m, struct ether_header *); mtod 1434 net/if_bridge.c bcopy(eh, mtod(mc, caddr_t), ETHER_HDR_LEN); mtod 1510 net/if_bridge.c bcopy(eh, mtod(m, caddr_t), ETHER_HDR_LEN); mtod 1647 net/if_bridge.c bcopy(eh, mtod(m, caddr_t), ETHER_HDR_LEN); mtod 2239 net/if_bridge.c ip = mtod(m, struct ip *); mtod 2272 net/if_bridge.c ip6 = mtod(m, struct ip6_hdr *); mtod 2387 net/if_bridge.c ip = mtod(m, struct ip *); mtod 2464 net/if_bridge.c ip = mtod(m, struct ip *); mtod 2482 net/if_bridge.c ip = mtod(m, struct ip *); mtod 2522 net/if_bridge.c ip = mtod(m, struct ip *); mtod 2540 net/if_bridge.c ip6 = mtod(m, struct ip6_hdr *); mtod 2576 net/if_bridge.c bcopy(&llc, mtod(m, caddr_t), LLC_SNAPFRAMELEN); mtod 2583 net/if_bridge.c bcopy(eh, mtod(m, caddr_t), sizeof(*eh)); mtod 2648 net/if_bridge.c ip = mtod(m, struct ip *); mtod 2673 net/if_bridge.c bcopy(&llc, mtod(m, caddr_t), mtod 2682 net/if_bridge.c bcopy(eh, mtod(m, caddr_t), sizeof(*eh)); mtod 2759 net/if_bridge.c ip = mtod(m, struct ip *); mtod 2767 net/if_bridge.c icp = mtod(m, struct icmp *); mtod 2790 net/if_bridge.c bcopy(llc, mtod(m, caddr_t), LLC_SNAPFRAMELEN); mtod 2797 net/if_bridge.c bcopy(eh, mtod(m, caddr_t), sizeof(*eh)); mtod 321 net/if_ethersubr.c bcopy(&llc, mtod(m, caddr_t), AT_LLC_SIZE); mtod 358 net/if_ethersubr.c eh = mtod(m, struct ether_header *); mtod 473 net/if_ethersubr.c eh = mtod(m, struct ether_header *); mtod 666 net/if_ethersubr.c eh_tmp = mtod(m, struct ether_header *); mtod 681 net/if_ethersubr.c l = mtod(m, struct llc *); mtod 726 net/if_ethersubr.c *mtod(m, struct ether_header *) = *eh; mtod 145 net/if_faith.c dst->sa_family = *(mtod(m, int *)); mtod 261 net/if_fddisubr.c fh = mtod(m, struct fddi_header *); mtod 307 net/if_fddisubr.c l = mtod(m, struct llc *); mtod 321 net/if_fddisubr.c fh = mtod(m, struct fddi_header *); mtod 398 net/if_fddisubr.c l = mtod(m, struct llc *); mtod 219 net/if_gif.c tp = *mtod(m, u_int8_t *); mtod 264 net/if_gre.c inp = mtod(m, struct ip *); mtod 276 net/if_gre.c inp = mtod(m, struct ip *); mtod 318 net/if_gre.c bcopy((caddr_t) inp, mtod(m0, caddr_t), mtod 327 net/if_gre.c bcopy(inp, mtod(m, caddr_t), mtod 332 net/if_gre.c inp = mtod(m, struct ip *); mtod 360 net/if_gre.c inp = mtod(m, struct ip *); mtod 395 net/if_gre.c gh = mtod(m, struct greip *); mtod 273 net/if_loop.c afp = mtod(m, int32_t *); mtod 341 net/if_loop.c afp = mtod(m, int32_t *); mtod 259 net/if_pflog.c ip = mtod(m, struct ip *); mtod 326 net/if_pfsync.c struct ip *ip = mtod(m, struct ip *); mtod 376 net/if_pfsync.c ip = mtod(m, struct ip *); mtod 1077 net/if_pfsync.c h = mtod(m, struct pfsync_header *); mtod 1138 net/if_pfsync.c h = mtod(sc->sc_mbuf, struct pfsync_header *); mtod 1140 net/if_pfsync.c h = mtod(sc->sc_mbuf, struct pfsync_header *); mtod 1148 net/if_pfsync.c h = mtod(sc->sc_mbuf, struct pfsync_header *); mtod 1250 net/if_pfsync.c h_net = mtod(sc->sc_mbuf_net, struct pfsync_header *); mtod 1312 net/if_pfsync.c h = mtod(sc->sc_mbuf, struct pfsync_header *); mtod 1314 net/if_pfsync.c h = mtod(sc->sc_mbuf, struct pfsync_header *); mtod 1320 net/if_pfsync.c h = mtod(sc->sc_mbuf, struct pfsync_header *); mtod 1572 net/if_pfsync.c ip = mtod(m, struct ip *); mtod 1674 net/if_pfsync.c h = mtod(sc->sc_mbuf_tdb, struct pfsync_header *); mtod 1676 net/if_pfsync.c h = mtod(sc->sc_mbuf_tdb, struct pfsync_header *); mtod 1689 net/if_pfsync.c h = mtod(sc->sc_mbuf_tdb, struct pfsync_header *); mtod 748 net/if_ppp.c ip = mtod(m0, struct ip *); mtod 787 net/if_ppp.c cp = mtod(m0, u_char *); mtod 808 net/if_ppp.c *mtod(m0, u_char *) = 1; /* indicates outbound */ mtod 823 net/if_ppp.c *mtod(m0, u_char *) = address; mtod 903 net/if_ppp.c switch (PPP_PROTOCOL(mtod(m, u_char *))) { mtod 1000 net/if_ppp.c cp = mtod(m, u_char *); mtod 1021 net/if_ppp.c ip = mtod(mp, struct ip *); mtod 1033 net/if_ppp.c cp = mtod(m, u_char *); mtod 1069 net/if_ppp.c cp = mtod(m, u_char *); mtod 1091 net/if_ppp.c if (mtod(m, u_char *) == cp) { mtod 1157 net/if_ppp.c dp = (mp != NULL)? mtod(mp, u_char *): NULL; mtod 1160 net/if_ppp.c dp = mtod(mp, u_char *) + PPP_HDRLEN; mtod 1163 net/if_ppp.c ep = mtod(mp, u_char *) + mp->m_len; mtod 1170 net/if_ppp.c dp, slen, mtod(mp, u_char *), mp->m_len); mtod 1303 net/if_ppp.c cp = mtod(m, u_char *); mtod 1331 net/if_ppp.c cp = mtod(m, u_char *); mtod 1411 net/if_ppp.c cp = mtod(mp, u_char *); mtod 1427 net/if_ppp.c bcopy(mtod(m, u_char *), mtod(mp, u_char *) + mp->m_len, m->m_len); mtod 1462 net/if_ppp.c m_copydata(m, 0, ilen, mtod(mp, caddr_t)); mtod 1477 net/if_ppp.c adrs = *mtod(m, u_char *); /* save address field */ mtod 1478 net/if_ppp.c *mtod(m, u_char *) = 0; /* indicate inbound */ mtod 1490 net/if_ppp.c *mtod(m, u_char *) = adrs; mtod 420 net/if_pppoe.c eh = mtod(m, struct ether_header *); mtod 442 net/if_pppoe.c ph = (struct pppoehdr *)(mtod(n, caddr_t) + noff); mtod 471 net/if_pppoe.c pt = (struct pppoetag *)(mtod(n, caddr_t) + noff); mtod 496 net/if_pppoe.c hunique = mtod(n, caddr_t) + noff; mtod 499 net/if_pppoe.c sc = pppoe_find_softc_by_hunique(mtod(n, caddr_t) + noff, mtod 513 net/if_pppoe.c ac_cookie = mtod(n, caddr_t) + noff; mtod 536 net/if_pppoe.c u_int8_t *et = mtod(n, caddr_t) + noff; mtod 741 net/if_pppoe.c memcpy(shost, mtod(m, struct ether_header*)->ether_shost, ETHER_ADDR_LEN); mtod 756 net/if_pppoe.c ph = mtod(m, struct pppoehdr *); mtod 1030 net/if_pppoe.c p = mtod(m0, u_int8_t *); mtod 1052 net/if_pppoe.c if (p - mtod(m0, u_int8_t *) != len + PPPOE_HEADERLEN) mtod 1054 net/if_pppoe.c (long)(len + PPPOE_HEADERLEN), (long)(p - mtod(m0, u_int8_t *))); mtod 1251 net/if_pppoe.c p = mtod(m0, u_int8_t *); mtod 1274 net/if_pppoe.c if (p - mtod(m0, u_int8_t *) != len + PPPOE_HEADERLEN) mtod 1276 net/if_pppoe.c (long)(len + PPPOE_HEADERLEN), (long)(p - mtod(m0, u_int8_t *))); mtod 1295 net/if_pppoe.c p = mtod(m0, u_int8_t *); mtod 1331 net/if_pppoe.c p = mtod(m0, u_int8_t *); mtod 1370 net/if_pppoe.c p = mtod(m0, u_int8_t *); mtod 1440 net/if_pppoe.c p = mtod(m, u_int8_t *); mtod 442 net/if_sl.c ip = mtod(m, struct ip *); mtod 563 net/if_sl.c bcopy(mtod(m1, caddr_t), cp, mlen); mtod 569 net/if_sl.c if ((ip = mtod(m, struct ip *))->ip_p == IPPROTO_TCP) { mtod 571 net/if_sl.c *mtod(m, u_char *) |= sl_compress_tcp(m, ip, mtod 582 net/if_sl.c bcopy(mtod(m, caddr_t), &bpfbuf[SLX_CHDR], CHDR_LEN); mtod 614 net/if_sl.c cp = mtod(m, u_char *); ep = cp + m->m_len; mtod 865 net/if_sl.c hp = mtod(m, u_char *); mtod 472 net/if_spppsubr.c memcpy(&ht.protocol, mtod(m, char *), sizeof(ht.protocol)); mtod 479 net/if_spppsubr.c h = mtod (m, struct ppp_header*); mtod 658 net/if_spppsubr.c ip = mtod(m, struct ip *); mtod 714 net/if_spppsubr.c h = mtod (m, struct ppp_header*); mtod 763 net/if_spppsubr.c *mtod(m, u_int16_t *) = protocol; mtod 1060 net/if_spppsubr.c h = mtod (m, struct cisco_packet*); mtod 1138 net/if_spppsubr.c h = mtod (m, struct ppp_header*); mtod 1199 net/if_spppsubr.c *mtod(m, u_int16_t *) = htons(proto); mtod 1200 net/if_spppsubr.c lh = (struct lcp_header *)(mtod(m, u_int8_t *) + 2); mtod 1202 net/if_spppsubr.c h = mtod (m, struct ppp_header*); mtod 1258 net/if_spppsubr.c h = mtod (m, struct lcp_header*); mtod 3081 net/if_spppsubr.c h = mtod (m, struct lcp_header*); mtod 3490 net/if_spppsubr.c h = mtod (m, struct lcp_header*); mtod 3805 net/if_spppsubr.c *mtod(m, u_int16_t *) = htons(cp->proto); mtod 3807 net/if_spppsubr.c lh = (struct lcp_header *)(mtod(m, u_int8_t *) + 2); mtod 3809 net/if_spppsubr.c h = mtod (m, struct ppp_header*); mtod 587 net/if_strip.c dp = StuffData(mtod(m, u_char *), m->m_len, dp, &rllstate_ptr); mtod 632 net/if_strip.c hdr = mtod(m0, struct st_header *); mtod 777 net/if_strip.c ip = mtod(m, struct ip *); mtod 824 net/if_strip.c shp = mtod(m, struct st_header *); mtod 981 net/if_strip.c bcopy(mtod(m1, caddr_t), cp, mlen); mtod 987 net/if_strip.c if ((ip = mtod(m, struct ip *))->ip_p == IPPROTO_TCP) { mtod 989 net/if_strip.c *mtod(m, u_char *) |= sl_compress_tcp(m, ip, mtod 1002 net/if_strip.c bcopy(mtod(m, caddr_t)+STRIP_HDRLEN, &cp[SLX_CHDR], CHDR_LEN); mtod 1094 net/if_strip.c sc->sc_ep = mtod(m, u_char *) + SLBUFSIZE; mtod 1098 net/if_strip.c bcopy((caddr_t)sc->sc_buf, mtod(m, caddr_t), len); mtod 958 net/if_trunk.c eh = mtod(m, struct ether_header *); mtod 1398 net/if_trunk.c return (mtod(m, const void *) + off); mtod 555 net/if_tun.c af = mtod(m0, u_int32_t *); mtod 754 net/if_tun.c error = uiomove(mtod(m0, caddr_t), len, uio); mtod 822 net/if_tun.c error = uiomove(mtod (m, caddr_t), m->m_len, uio); mtod 864 net/if_tun.c th = mtod(top, u_int32_t *); mtod 287 net/if_vlan.c tag = EVL_VLANOFTAG(ntohs(*mtod(m, u_int16_t *))); mtod 310 net/if_vlan.c eh->ether_type = mtod(m, u_int16_t *)[1]; mtod 1607 net/pf.c m->m_pkthdr.pf.hdr = mtod(m, struct ip *); mtod 1617 net/pf.c h = mtod(m, struct ip *); mtod 1630 net/pf.c h6 = mtod(m, struct ip6_hdr *); mtod 1729 net/pf.c m0->m_pkthdr.pf.hdr = mtod(m0, struct ip *); mtod 3206 net/pf.c struct ip *h = mtod(m, struct ip *); mtod 4775 net/pf.c struct ip *h = mtod(m, struct ip *); mtod 4798 net/pf.c struct ip6_hdr *h = mtod(m, struct ip6_hdr *); mtod 4982 net/pf.c ip = mtod(m0, struct ip *); mtod 5036 net/pf.c ip = mtod(m0, struct ip *); mtod 5172 net/pf.c ip6 = mtod(m0, struct ip6_hdr *); mtod 5219 net/pf.c ip6 = mtod(m0, struct ip6_hdr *); mtod 5395 net/pf.c h = mtod(m, struct ip *); mtod 5704 net/pf.c h = mtod(m, struct ip6_hdr *); mtod 641 net/pf_norm.c h = mtod(m, struct ip *); mtod 700 net/pf_norm.c h = mtod(m, struct ip *); mtod 823 net/pf_norm.c struct ip *h = mtod(m, struct ip *); mtod 935 net/pf_norm.c h = mtod(m, struct ip *); mtod 1048 net/pf_norm.c struct ip6_hdr *h = mtod(m, struct ip6_hdr *); mtod 1353 net/pf_norm.c struct ip *h = mtod(m, struct ip *); mtod 1360 net/pf_norm.c struct ip6_hdr *h = mtod(m, struct ip6_hdr *); mtod 1453 net/pf_norm.c struct ip *h = mtod(m, struct ip *); mtod 1464 net/pf_norm.c struct ip6_hdr *h = mtod(m, struct ip6_hdr *); mtod 1832 net/pf_norm.c optp = mtod(m, caddr_t) + off + sizeof(struct tcphdr); mtod 100 net/pf_osfp.c ip = mtod(m, struct ip *); mtod 104 net/pf_osfp.c ip6 = mtod(m, struct ip6_hdr *); mtod 248 net/ppp-deflate.c rptr = mtod(mp, u_char *); mtod 269 net/ppp-deflate.c wptr = mtod(m, u_char *); mtod 294 net/ppp-deflate.c state->strm.avail_in = mtod(mp, u_char *) + mp->m_len - rptr; mtod 308 net/ppp-deflate.c state->strm.next_in = mtod(mp, u_char *); mtod 324 net/ppp-deflate.c state->strm.next_out = mtod(m, u_char *); mtod 495 net/ppp-deflate.c rptr = mtod(mi, u_char *); mtod 502 net/ppp-deflate.c rptr = mtod(mi, u_char *); mtod 537 net/ppp-deflate.c wptr = mtod(mo, u_char *); mtod 574 net/ppp-deflate.c state->strm.next_in = mtod(mi, u_char *); mtod 602 net/ppp-deflate.c state->strm.next_out = mtod(mo, u_char *); mtod 642 net/ppp-deflate.c rptr = mtod(mi, u_char *); mtod 676 net/ppp-deflate.c state->strm.next_in = mtod(mi, u_char *); mtod 340 net/ppp_tty.c if ((error = uiomove(mtod(m, u_char *), m->m_len, uio)) != 0) mtod 383 net/ppp_tty.c if ((error = uiomove(mtod(m, u_char *), len, uio)) != 0) { mtod 390 net/ppp_tty.c bcopy(mtod(m0, u_char *), dst.sa_data, PPP_HDRLEN); mtod 558 net/ppp_tty.c sc->sc_outfcs = pppfcs(PPP_INITFCS, mtod(m, u_char *), m->m_len); mtod 562 net/ppp_tty.c start = mtod(m, u_char *); mtod 668 net/ppp_tty.c sc->sc_outfcs = pppfcs(sc->sc_outfcs, mtod(m, u_char *), m->m_len); mtod 979 net/ppp_tty.c sc->sc_mp = mtod(m, char *); mtod 1034 net/ppp_tty.c sc->sc_mp = mtod(m, char *); mtod 134 net/raw_cb.c struct sockaddr *addr = mtod(nam, struct sockaddr *); mtod 141 net/raw_cb.c rp->rcb_laddr = mtod(nam, struct sockaddr *); mtod 209 net/raw_usrreq.c rp->rcb_faddr = mtod(nam, struct sockaddr *); mtod 254 net/raw_usrreq.c rp->rcb_faddr = mtod(nam, struct sockaddr *); mtod 296 net/raw_usrreq.c bcopy((caddr_t)rp->rcb_laddr, mtod(nam, caddr_t), (unsigned)len); mtod 306 net/raw_usrreq.c bcopy((caddr_t)rp->rcb_faddr, mtod(nam, caddr_t), (unsigned)len); mtod 1015 net/route.c deldst = mtod(m, struct sockaddr *); mtod 191 net/rtsock.c len != mtod(m, struct rt_msghdr *)->rtm_msglen) { mtod 563 net/rtsock.c rtm = mtod(m, struct rt_msghdr *); mtod 668 net/rtsock.c rtm = mtod(m, struct rt_msghdr *); mtod 699 net/rtsock.c ifm = mtod(m, struct if_msghdr *); mtod 745 net/rtsock.c ifam = mtod(m, struct ifa_msghdr *); mtod 762 net/rtsock.c rtm = mtod(m, struct rt_msghdr *); mtod 793 net/rtsock.c ifan = mtod(m, struct if_announcemsghdr *); mtod 134 net80211/ieee80211_crypto.c wh = mtod(m0, struct ieee80211_frame *); mtod 168 net80211/ieee80211_crypto.c wh = mtod(m0, struct ieee80211_frame *); mtod 212 net80211/ieee80211_crypto.c wh = mtod(m0, struct ieee80211_frame *); mtod 213 net80211/ieee80211_crypto.c ovbcopy(mtod(m0, u_int8_t *) + IEEE80211_CCMP_HDRLEN, wh, hdrlen); mtod 240 net80211/ieee80211_crypto.c wh = mtod(m0, struct ieee80211_frame *); mtod 265 net80211/ieee80211_crypto.c ovbcopy(mtod(m0, u_int8_t *), mtod 266 net80211/ieee80211_crypto.c mtod(m0, u_int8_t *) + IEEE80211_CCMP_HDRLEN, hdrlen); mtod 291 net80211/ieee80211_crypto.c wh = mtod(m0, struct ieee80211_frame *); mtod 292 net80211/ieee80211_crypto.c ovbcopy(mtod(m0, u_int8_t *) + IEEE80211_TKIP_HDRLEN, wh, hdrlen); mtod 321 net80211/ieee80211_crypto.c wh = mtod(m0, struct ieee80211_frame *); mtod 346 net80211/ieee80211_crypto.c ovbcopy(mtod(m0, u_int8_t *), mtod 347 net80211/ieee80211_crypto.c mtod(m0, u_int8_t *) + IEEE80211_TKIP_HDRLEN, hdrlen); mtod 409 net80211/ieee80211_crypto.c wh = mtod(m, struct ieee80211_frame *); mtod 416 net80211/ieee80211_crypto.c memcpy(mtod(n, caddr_t), wh, len); mtod 417 net80211/ieee80211_crypto.c wh = mtod(n, struct ieee80211_frame *); mtod 434 net80211/ieee80211_crypto.c ivp = mtod(n, u_int8_t *) + noff; mtod 443 net80211/ieee80211_crypto.c ivp = mtod(m, u_int8_t *) + moff; mtod 494 net80211/ieee80211_crypto.c rc4_crypt(ctx, mtod(m, caddr_t) + moff, mtod 495 net80211/ieee80211_crypto.c mtod(n, caddr_t) + noff, len); mtod 498 net80211/ieee80211_crypto.c mtod(m, u_int8_t *) + moff, len); mtod 501 net80211/ieee80211_crypto.c mtod(n, u_int8_t *) + noff, len); mtod 522 net80211/ieee80211_crypto.c rc4_crypt(ctx, crcbuf, mtod(n, caddr_t) + noff, mtod 531 net80211/ieee80211_crypto.c rc4_crypt(ctx, mtod(m, caddr_t) + moff, mtod 164 net80211/ieee80211_input.c wh = mtod(m, struct ieee80211_frame *); mtod 353 net80211/ieee80211_input.c wh = mtod(m, struct ieee80211_frame *); mtod 372 net80211/ieee80211_input.c eh = mtod(m, struct ether_header *); mtod 539 net80211/ieee80211_input.c memcpy(&wh, mtod(m, caddr_t), sizeof(wh)); mtod 540 net80211/ieee80211_input.c llc = (struct llc *)(mtod(m, caddr_t) + hdrlen); mtod 552 net80211/ieee80211_input.c eh = mtod(m, struct ether_header *); mtod 572 net80211/ieee80211_input.c if (!ALIGNED_POINTER(mtod(m, caddr_t) + sizeof(*eh), u_int32_t)) { mtod 613 net80211/ieee80211_input.c m_copydata(m, off, n->m_len, mtod(n, caddr_t)); mtod 622 net80211/ieee80211_input.c eh = mtod(m, struct ether_header *); mtod 1110 net80211/ieee80211_input.c wh = mtod(m0, struct ieee80211_frame *); mtod 1112 net80211/ieee80211_input.c efrm = mtod(m0, u_int8_t *) + m0->m_len; mtod 1368 net80211/ieee80211_input.c wh = mtod(m0, struct ieee80211_frame *); mtod 1370 net80211/ieee80211_input.c efrm = mtod(m0, u_int8_t *) + m0->m_len; mtod 1436 net80211/ieee80211_input.c wh = mtod(m0, struct ieee80211_frame *); mtod 1438 net80211/ieee80211_input.c efrm = mtod(m0, u_int8_t *) + m0->m_len; mtod 1492 net80211/ieee80211_input.c wh = mtod(m0, struct ieee80211_frame *); mtod 1494 net80211/ieee80211_input.c efrm = mtod(m0, u_int8_t *) + m0->m_len; mtod 1641 net80211/ieee80211_input.c wh = mtod(m0, struct ieee80211_frame *); mtod 1643 net80211/ieee80211_input.c efrm = mtod(m0, u_int8_t *) + m0->m_len; mtod 1755 net80211/ieee80211_input.c wh = mtod(m0, struct ieee80211_frame *); mtod 1757 net80211/ieee80211_input.c efrm = mtod(m0, u_int8_t *) + m0->m_len; mtod 1796 net80211/ieee80211_input.c wh = mtod(m0, struct ieee80211_frame *); mtod 1798 net80211/ieee80211_input.c efrm = mtod(m0, u_int8_t *) + m0->m_len; mtod 2464 net80211/ieee80211_input.c key = mtod(m0, struct ieee80211_eapol_key *); mtod 2549 net80211/ieee80211_input.c wh = mtod(m0, struct ieee80211_frame *); mtod 2584 net80211/ieee80211_input.c wh = mtod(m, struct ieee80211_frame *); mtod 191 net80211/ieee80211_output.c wh = mtod(m, struct ieee80211_frame *); mtod 398 net80211/ieee80211_output.c eh = mtod(m, struct ether_header *); mtod 455 net80211/ieee80211_output.c wh = mtod(m, struct ieee80211_frame *); mtod 501 net80211/ieee80211_output.c memcpy(&eh, mtod(m, caddr_t), sizeof(struct ether_header)); mtod 532 net80211/ieee80211_output.c llc = mtod(m, struct llc *); mtod 544 net80211/ieee80211_output.c wh = mtod(m, struct ieee80211_frame *); mtod 988 net80211/ieee80211_output.c frm = mtod(m, u_int8_t *); mtod 994 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - mtod(m, u_int8_t *); mtod 1037 net80211/ieee80211_output.c frm = mtod(m, u_int8_t *); mtod 1061 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - mtod(m, u_int8_t *); mtod 1085 net80211/ieee80211_output.c frm = mtod(m, u_int8_t *); mtod 1109 net80211/ieee80211_output.c *mtod(m, u_int16_t *) = htole16(reason); mtod 1150 net80211/ieee80211_output.c frm = mtod(m, u_int8_t *); mtod 1178 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - mtod(m, u_int8_t *); mtod 1211 net80211/ieee80211_output.c frm = mtod(m, u_int8_t *); mtod 1226 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - mtod(m, u_int8_t *); mtod 1247 net80211/ieee80211_output.c *mtod(m, u_int16_t *) = htole16(reason); mtod 1367 net80211/ieee80211_output.c rts = mtod(m, struct ieee80211_frame_rts *); mtod 1393 net80211/ieee80211_output.c cts = mtod(m, struct ieee80211_frame_cts *); mtod 1442 net80211/ieee80211_output.c wh = mtod(m, struct ieee80211_frame *); mtod 1480 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - mtod(m, u_int8_t *); mtod 1522 net80211/ieee80211_output.c eh = mtod(m, struct ether_header *); mtod 1637 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); mtod 1684 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); mtod 1737 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); mtod 1788 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); mtod 1834 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); mtod 1884 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); mtod 1927 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); mtod 206 netatalk/aarp.c ea = mtod( m, struct ether_aarp *); mtod 240 netatalk/aarp.c llc = mtod( m, struct llc *); mtod 338 netatalk/aarp.c ar = mtod( m, struct arphdr *); mtod 378 netatalk/aarp.c ea = mtod( m, struct ether_aarp *); mtod 530 netatalk/aarp.c llc = mtod( m, struct llc *); mtod 648 netatalk/aarp.c ea = mtod( m, struct ether_aarp *); mtod 670 netatalk/aarp.c llc = mtod( m, struct llc *); mtod 155 netatalk/ddp_input.c elhp = mtod( m, struct elaphdr *); mtod 195 netatalk/ddp_input.c dsh = mtod( m, struct ddpshdr *); mtod 227 netatalk/ddp_input.c deh = mtod( m, struct ddpehdr *); mtod 386 netatalk/ddp_input.c bprint( mtod( m, char * ), m->m_len ); mtod 116 netatalk/ddp_output.c deh = mtod( m, struct ddpehdr *); mtod 152 netatalk/ddp_output.c for ( data = mtod( m, u_int8_t * ), end = data + m->m_len; data < end; mtod 213 netatalk/ddp_output.c elh = mtod( m, struct elaphdr *); mtod 257 netatalk/ddp_usrreq.c sat = mtod( addr, struct sockaddr_at *); mtod 276 netatalk/ddp_usrreq.c sat = mtod( addr, struct sockaddr_at *); mtod 364 netatalk/ddp_usrreq.c struct sockaddr_at *sat = mtod( addr, struct sockaddr_at *); mtod 651 netbt/hci_link.c hdr = mtod(m, hci_acldata_hdr_t *); mtod 410 netbt/hci_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 429 netbt/hci_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 446 netbt/hci_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 457 netbt/hci_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 473 netbt/hci_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 550 netbt/hci_socket.c memcpy(mtod(m, void *), &pcb->hp_efilter, m->m_len); mtod 555 netbt/hci_socket.c memcpy(mtod(m, void *), &pcb->hp_pfilter, m->m_len); mtod 561 netbt/hci_socket.c *mtod(m, int *) = 1; mtod 563 netbt/hci_socket.c *mtod(m, int *) = 0; mtod 580 netbt/hci_socket.c memcpy(&pcb->hp_efilter, mtod(m, void *), m->m_len); mtod 585 netbt/hci_socket.c memcpy(&pcb->hp_pfilter, mtod(m, void *), m->m_len); mtod 589 netbt/hci_socket.c if (*mtod(m, int *)) mtod 628 netbt/hci_socket.c type = *mtod(m, uint8_t *); mtod 656 netbt/hci_socket.c event = mtod(m, hci_event_hdr_t *)->event; mtod 669 netbt/hci_socket.c opcode = letoh16(mtod(m, hci_cmd_hdr_t *)->opcode); mtod 241 netbt/hci_unit.c p = mtod(m, hci_cmd_hdr_t *); mtod 912 netbt/l2cap_signal.c hdr = mtod(m, l2cap_hdr_t *); mtod 162 netbt/l2cap_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 174 netbt/l2cap_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 187 netbt/l2cap_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 193 netbt/l2cap_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 235 netbt/l2cap_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 287 netbt/l2cap_socket.c m->m_len = l2cap_getopt(pcb, optname, mtod(m, void *)); mtod 299 netbt/l2cap_socket.c err = l2cap_setopt(pcb, optname, mtod(m, void *)); mtod 394 netbt/l2cap_upper.c hdr = mtod(m, l2cap_hdr_t *); mtod 1477 netbt/rfcomm_session.c hdr = mtod(m, struct rfcomm_cmd_hdr *); mtod 1554 netbt/rfcomm_session.c hdr = mtod(m0, uint8_t *); mtod 1577 netbt/rfcomm_session.c m0->m_len = hdr - mtod(m0, uint8_t *); mtod 1637 netbt/rfcomm_session.c hdr = mtod(m, uint8_t *); mtod 1672 netbt/rfcomm_session.c hlen = hdr - mtod(m, uint8_t *); mtod 169 netbt/rfcomm_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 181 netbt/rfcomm_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 194 netbt/rfcomm_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 200 netbt/rfcomm_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 236 netbt/rfcomm_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 286 netbt/rfcomm_socket.c m->m_len = rfcomm_getopt(pcb, optname, mtod(m, void *)); mtod 298 netbt/rfcomm_socket.c err = rfcomm_setopt(pcb, optname, mtod(m, void *)); mtod 151 netbt/sco_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 163 netbt/sco_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 176 netbt/sco_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 182 netbt/sco_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 224 netbt/sco_socket.c sa = mtod(nam, struct sockaddr_bt *); mtod 273 netbt/sco_socket.c m->m_len = sco_getopt(pcb, optname, mtod(m, uint8_t *)); mtod 285 netbt/sco_socket.c err = sco_setopt(pcb, optname, mtod(m, uint8_t *)); mtod 304 netbt/sco_upper.c hdr = mtod(m, hci_scodata_hdr_t *); mtod 337 netinet/if_ether.c ea = mtod(m, struct ether_arp *); mtod 483 netinet/if_ether.c ar = mtod(m, struct arphdr *); mtod 539 netinet/if_ether.c ea = mtod(m, struct ether_arp *); mtod 840 netinet/if_ether.c ar = mtod(m, struct arphdr *); mtod 878 netinet/if_ether.c ar = mtod(m, struct ether_arp *); mtod 930 netinet/if_ether.c ea = mtod(m, struct ether_arp *); mtod 126 netinet/igmp.c struct ip *ip = mtod(m, struct ip *); mtod 165 netinet/igmp.c igmp = mtod(m, struct igmp *); mtod 173 netinet/igmp.c ip = mtod(m, struct ip *); mtod 519 netinet/igmp.c ip = mtod(m, struct ip *); mtod 533 netinet/igmp.c igmp = mtod(m, struct igmp *); mtod 121 netinet/in4_cksum.c u.ipov.ih_src = mtod(m, struct ip *)->ip_src; mtod 122 netinet/in4_cksum.c u.ipov.ih_dst = mtod(m, struct ip *)->ip_dst; mtod 140 netinet/in4_cksum.c w = (u_int16_t *)(mtod(m, caddr_t) + off); mtod 72 netinet/in_cksum.c w = mtod(m, u_int16_t *); mtod 147 netinet/in_gif.c ip = mtod(m, struct ip *); mtod 259 netinet/in_pcb.c sin = mtod(nam, struct sockaddr_in *); mtod 387 netinet/in_pcb.c struct sockaddr_in *sin = mtod(nam, struct sockaddr_in *); mtod 527 netinet/in_pcb.c sin = mtod(nam, struct sockaddr_in *); mtod 550 netinet/in_pcb.c sin = mtod(nam, struct sockaddr_in *); mtod 282 netinet/ip6.h (val) = (typ)(mtod((m), caddr_t) + (off)); \ mtod 288 netinet/ip6.h (val) = (typ)(mtod(t, caddr_t) + tmp); \ mtod 300 netinet/ip6.h (val) = (typ)mtod((m), caddr_t); \ mtod 306 netinet/ip6.h (val) = (typ)mtod(t, caddr_t); \ mtod 228 netinet/ip_ah.c ip = mtod(m, struct ip *); mtod 242 netinet/ip_ah.c ptr = mtod(m, unsigned char *) + sizeof(struct ip); mtod 397 netinet/ip_ah.c ptr = mtod(m, unsigned char *) + mtod 955 netinet/ip_ah.c bcopy(mtod(m1, u_char *) + roff + rplen + mtod 956 netinet/ip_ah.c ahx->authsize, mtod(m1, u_char *) + roff, mtod 1137 netinet/ip_ah.c ah = mtod(mi, struct ah *); mtod 505 netinet/ip_carp.c struct ip *ip = mtod(m, struct ip *); mtod 558 netinet/ip_carp.c ip = mtod(m, struct ip *); mtod 581 netinet/ip_carp.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 671 netinet/ip_carp.c struct ip *ip = mtod(m, struct ip *); mtod 680 netinet/ip_carp.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 1048 netinet/ip_carp.c ip = mtod(m, struct ip *); mtod 1131 netinet/ip_carp.c ip6 = mtod(m, struct ip6_hdr *); mtod 672 netinet/ip_esp.c bcopy(mtod(m1, u_char *) + roff + hlen, mtod 673 netinet/ip_esp.c mtod(m1, u_char *) + roff, m1->m_len - (roff + hlen)); mtod 884 netinet/ip_esp.c bcopy((caddr_t) &tdb->tdb_spi, mtod(mo, caddr_t), sizeof(u_int32_t)); mtod 887 netinet/ip_esp.c bcopy((caddr_t) &replay, mtod(mo, caddr_t) + sizeof(u_int32_t), mtod 168 netinet/ip_ether.c v = *mtod(m, u_int8_t *); mtod 365 netinet/ip_ether.c ipo = mtod(m, struct ip *); mtod 388 netinet/ip_ether.c ip6 = mtod(m, struct ip6_hdr *); mtod 118 netinet/ip_gre.c gip = mtod(m, struct greip *); mtod 277 netinet/ip_gre.c ip = mtod(m, struct ip *); mtod 278 netinet/ip_gre.c mip = mtod(m, struct mobip_h *); mtod 296 netinet/ip_gre.c ip = mtod(m, struct ip *); mtod 297 netinet/ip_gre.c mip = mtod(m, struct mobip_h *); mtod 338 netinet/ip_gre.c struct ip *ip = mtod(m, struct ip *); mtod 140 netinet/ip_icmp.c struct ip *oip = mtod(n, struct ip *), *nip; mtod 214 netinet/ip_icmp.c icp = mtod(m, struct icmp *); mtod 249 netinet/ip_icmp.c nip = mtod(m, struct ip *); mtod 300 netinet/ip_icmp.c struct ip *ip = mtod(m, struct ip *); mtod 338 netinet/ip_icmp.c ip = mtod(m, struct ip *); mtod 341 netinet/ip_icmp.c icp = mtod(m, struct icmp *); mtod 442 netinet/ip_icmp.c ip = mtod(m, struct ip *); mtod 636 netinet/ip_icmp.c struct ip *ip = mtod(m, struct ip *); mtod 706 netinet/ip_icmp.c mtod(opts, struct in_addr *)->s_addr = 0; mtod 735 netinet/ip_icmp.c mtod(opts, caddr_t) + opts->m_len, mtod 743 netinet/ip_icmp.c *(mtod(opts, caddr_t) + opts->m_len) = mtod 779 netinet/ip_icmp.c struct ip *ip = mtod(m, struct ip *); mtod 786 netinet/ip_icmp.c icp = mtod(m, struct icmp *); mtod 307 netinet/ip_input.c ip = mtod(m, struct ip *); mtod 322 netinet/ip_input.c ip = mtod(m, struct ip *); mtod 398 netinet/ip_input.c ip = mtod(m, struct ip *); mtod 431 netinet/ip_input.c ip = mtod(m, struct ip *); mtod 544 netinet/ip_input.c ip = mtod(m, struct ip *); mtod 612 netinet/ip_input.c ip = mtod(m, struct ip *); mtod 1013 netinet/ip_input.c struct ip *ip = mtod(m, struct ip *); mtod 1343 netinet/ip_input.c *(mtod(m, struct in_addr *)) = *p--; mtod 1346 netinet/ip_input.c printf(" hops %x", ntohl(mtod(m, struct in_addr *)->s_addr)); mtod 1355 netinet/ip_input.c mtod(m, caddr_t) + sizeof(struct in_addr), OPTSIZ); mtod 1356 netinet/ip_input.c q = (struct in_addr *)(mtod(m, caddr_t) + mtod 1394 netinet/ip_input.c struct ip *ip = mtod(m, struct ip *); mtod 1436 netinet/ip_input.c struct ip *ip = mtod(m, struct ip *); mtod 311 netinet/ip_ipcomp.c addr = (caddr_t) mtod(m, struct ip *) + skip; mtod 344 netinet/ip_ipcomp.c bcopy(mtod(m1, u_char *) + roff + hlen, mtod 345 netinet/ip_ipcomp.c mtod(m1, u_char *) + roff, mtod 631 netinet/ip_ipcomp.c ipcomp = mtod(mo, struct ipcomp *); mtod 640 netinet/ip_ipcomp.c ip = mtod(m, struct ip *); mtod 647 netinet/ip_ipcomp.c ip6 = mtod(m, struct ip6_hdr *); mtod 186 netinet/ip_ipip.c ipo = mtod(m, struct ip *); mtod 197 netinet/ip_ipip.c otos = (ntohl(mtod(m, struct ip6_hdr *)->ip6_flow) >> 20) & 0xff; mtod 255 netinet/ip_ipip.c ipo = mtod(m, struct ip *); mtod 421 netinet/ip_ipip.c ipo = mtod(m, struct ip *); mtod 500 netinet/ip_ipip.c ip6 = mtod(m, struct ip6_hdr *); mtod 515 netinet/ip_ipip.c ip6o = mtod(m, struct ip6_hdr *); mtod 569 netinet/ip_mroute.c v = mtod(m, int *); mtod 688 netinet/ip_mroute.c int *v = mtod(m, int *); mtod 706 netinet/ip_mroute.c i = mtod(m, int *); mtod 717 netinet/ip_mroute.c int *i = mtod(m, int *); mtod 736 netinet/ip_mroute.c apival = mtod(m, u_int32_t *); mtod 777 netinet/ip_mroute.c apival = mtod(m, u_int32_t *); mtod 795 netinet/ip_mroute.c apival = mtod(m, u_int32_t *); mtod 820 netinet/ip_mroute.c vifcp = mtod(m, struct vifctl *); mtod 980 netinet/ip_mroute.c vifip = mtod(m, vifi_t *); mtod 1118 netinet/ip_mroute.c struct mfcctl2 *mp2 = mtod(m, struct mfcctl2 *); mtod 1121 netinet/ip_mroute.c struct mfcctl *mp = mtod(m, struct mfcctl *); mtod 1276 netinet/ip_mroute.c struct mfcctl *mp = mtod(m, struct mfcctl *); mtod 1353 netinet/ip_mroute.c struct ip *ip = mtod(m, struct ip *); mtod 1512 netinet/ip_mroute.c im = mtod(mm, struct igmpmsg *); mtod 1651 netinet/ip_mroute.c struct ip *ip = mtod(m, struct ip *); mtod 1745 netinet/ip_mroute.c im = mtod(mm, struct igmpmsg *); mtod 1842 netinet/ip_mroute.c tbf_control(vifp, mb_copy, mtod(mb_copy, struct ip *), mtod 1886 netinet/ip_mroute.c ip_copy = mtod(mb_copy, struct ip *); mtod 1984 netinet/ip_mroute.c len = ntohs(mtod(m, struct ip *)->ip_len); mtod 2035 netinet/ip_mroute.c if (p > priority(vifp, mtod(m, struct ip *))) { mtod 2069 netinet/ip_mroute.c imo.imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1; mtod 2178 netinet/ip_mroute.c vifi = *(mtod(m, int *)); mtod 2228 netinet/ip_mroute.c vifi = *(mtod(m, int *)); mtod 2295 netinet/ip_mroute.c struct ip *ip = mtod(m, struct ip *); mtod 2423 netinet/ip_mroute.c req = mtod(m, struct bw_upcall *); mtod 2517 netinet/ip_mroute.c req = mtod(m, struct bw_upcall *); mtod 2980 netinet/ip_mroute.c ip = mtod(mm, struct ip *); mtod 3023 netinet/ip_mroute.c ip = mtod(mb_copy, struct ip *); mtod 3067 netinet/ip_mroute.c im = mtod(mb_first, struct igmpmsg *); mtod 3124 netinet/ip_mroute.c ip_outer = mtod(mb_first, struct ip *); mtod 3172 netinet/ip_mroute.c struct ip *ip = mtod(m, struct ip *); mtod 3219 netinet/ip_mroute.c ip = mtod(m, struct ip *); mtod 3225 netinet/ip_mroute.c pim = mtod(m, struct pim *); mtod 147 netinet/ip_output.c ip = mtod(m, struct ip *); mtod 589 netinet/ip_output.c ip = mtod(m, struct ip *); mtod 699 netinet/ip_output.c ip = mtod(m, struct ip *); mtod 810 netinet/ip_output.c ip = mtod(m, struct ip *); mtod 847 netinet/ip_output.c mhip = mtod(m, struct ip *); mtod 941 netinet/ip_output.c struct ipoption *p = mtod(opt, struct ipoption *); mtod 943 netinet/ip_output.c struct ip *ip = mtod(m, struct ip *); mtod 963 netinet/ip_output.c bcopy((caddr_t)ip, mtod(m, caddr_t), sizeof(struct ip)); mtod 968 netinet/ip_output.c ovbcopy((caddr_t)ip, mtod(m, caddr_t), sizeof(struct ip)); mtod 970 netinet/ip_output.c ip = mtod(m, struct ip *); mtod 1069 netinet/ip_output.c optval = *mtod(m, int *); mtod 1129 netinet/ip_output.c optval = *mtod(m, int *); mtod 1166 netinet/ip_output.c optval = *mtod(m, int *); mtod 1402 netinet/ip_output.c bcopy(mtod(inp->inp_options, caddr_t), mtod 1403 netinet/ip_output.c mtod(m, caddr_t), (unsigned)m->m_len); mtod 1452 netinet/ip_output.c *mtod(m, int *) = optval; mtod 1474 netinet/ip_output.c *mtod(m, int *) = optval; mtod 1483 netinet/ip_output.c *mtod(m, int *) = IPSEC_LEVEL_NONE; mtod 1502 netinet/ip_output.c *mtod(m, int *) = optval; mtod 1546 netinet/ip_output.c *mtod(m, u_int16_t *) = opt16val; mtod 1567 netinet/ip_output.c *mtod(m, u_int16_t *) = ipr->ref_type; mtod 1626 netinet/ip_output.c cp = mtod(m, u_char *) + sizeof(struct in_addr); mtod 1627 netinet/ip_output.c ovbcopy(mtod(m, caddr_t), (caddr_t)cp, (unsigned)cnt); mtod 1628 netinet/ip_output.c bzero(mtod(m, caddr_t), sizeof(struct in_addr)); mtod 1667 netinet/ip_output.c bcopy((caddr_t)&cp[IPOPT_OFFSET+1], mtod(m, caddr_t), mtod 1734 netinet/ip_output.c addr = *(mtod(m, struct in_addr *)); mtod 1765 netinet/ip_output.c imo->imo_multicast_ttl = *(mtod(m, u_char *)); mtod 1774 netinet/ip_output.c (loop = *(mtod(m, u_char *))) > 1) { mtod 1790 netinet/ip_output.c mreq = mtod(m, struct ip_mreq *); mtod 1862 netinet/ip_output.c mreq = mtod(m, struct ip_mreq *); mtod 1945 netinet/ip_output.c addr = mtod(*mp, struct in_addr *); mtod 1957 netinet/ip_output.c ttl = mtod(*mp, u_char *); mtod 1964 netinet/ip_output.c loop = mtod(*mp, u_char *); mtod 2012 netinet/ip_output.c ip = mtod(copym, struct ip *); mtod 2028 netinet/ip_output.c ip = mtod(m, struct ip *); mtod 2050 netinet/ip_output.c *(u_int16_t *)(mtod(m, caddr_t) + offset) = csum; mtod 322 netinet/ipsec_input.c ip = mtod(m, struct ip *); mtod 429 netinet/ipsec_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 967 netinet/ipsec_input.c nxt = (mtod(*mp, struct ip6_hdr *))->ip6_nxt; mtod 1056 netinet/ipsec_input.c nxt = (mtod(*mp, struct ip6_hdr *))->ip6_nxt; mtod 1113 netinet/ipsec_input.c nxt = (mtod(*mp, struct ip6_hdr *))->ip6_nxt; mtod 188 netinet/ipsec_output.c ip = mtod(m, struct ip *); mtod 198 netinet/ipsec_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 226 netinet/ipsec_output.c ip = mtod(m, struct ip *); mtod 247 netinet/ipsec_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 275 netinet/ipsec_output.c ip = mtod(m, struct ip *); mtod 300 netinet/ipsec_output.c ip = mtod(m, struct ip *); mtod 308 netinet/ipsec_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 420 netinet/ipsec_output.c uh = mtod(mi, struct udphdr *); mtod 434 netinet/ipsec_output.c ip = mtod(m, struct ip *); mtod 453 netinet/ipsec_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 122 netinet/raw_ip.c struct ip *ip = mtod(m, struct ip *); mtod 213 netinet/raw_ip.c ip = mtod(m, struct ip *); mtod 230 netinet/raw_ip.c ip = mtod(m, struct ip *); mtod 282 netinet/raw_ip.c else if (*mtod(*m, int *)) mtod 291 netinet/raw_ip.c *mtod(*m, int *) = inp->inp_flags & INP_HDRINCL; mtod 388 netinet/raw_ip.c struct sockaddr_in *addr = mtod(nam, struct sockaddr_in *); mtod 407 netinet/raw_ip.c struct sockaddr_in *addr = mtod(nam, struct sockaddr_in *); mtod 457 netinet/raw_ip.c dst = mtod(nam, struct sockaddr_in *)->sin_addr.s_addr; mtod 349 netinet/tcp_input.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 421 netinet/tcp_input.c switch (mtod(m, struct ip *)->ip_v) { mtod 476 netinet/tcp_input.c ip = mtod(m, struct ip *); mtod 504 netinet/tcp_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 2210 netinet/tcp_input.c tcp_respond(tp, mtod(m, caddr_t), m, (tcp_seq)0, th->th_ack, mtod 2215 netinet/tcp_input.c tcp_respond(tp, mtod(m, caddr_t), m, th->th_seq + tlen, mtod 2365 netinet/tcp_input.c src.sin.sin_addr = mtod(m, struct ip *)->ip_src; mtod 2368 netinet/tcp_input.c dst.sin.sin_addr = mtod(m, struct ip *)->ip_dst; mtod 2375 netinet/tcp_input.c src.sin6.sin6_addr = mtod(m, struct ip6_hdr *)->ip6_src; mtod 2378 netinet/tcp_input.c dst.sin6.sin6_addr = mtod(m, struct ip6_hdr *)->ip6_dst; mtod 2852 netinet/tcp_input.c char *cp = mtod(m, caddr_t) + cnt; mtod 3761 netinet/tcp_input.c bcopy(src, mtod(am, caddr_t), src->sa_len); mtod 3866 netinet/tcp_input.c tcp_respond(NULL, mtod(m, caddr_t), m, (tcp_seq)0, th->th_ack, TH_RST); mtod 4201 netinet/tcp_input.c memset(mtod(m, u_char *), 0, tlen); mtod 4205 netinet/tcp_input.c ip = mtod(m, struct ip *); mtod 4215 netinet/tcp_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 4289 netinet/tcp_input.c src.sin.sin_addr = mtod(m, struct ip *)->ip_src; mtod 4290 netinet/tcp_input.c dst.sin.sin_addr = mtod(m, struct ip *)->ip_dst; mtod 4295 netinet/tcp_input.c src.sin6.sin6_addr = mtod(m, struct ip6_hdr *)->ip6_src; mtod 4296 netinet/tcp_input.c dst.sin6.sin6_addr = mtod(m, struct ip6_hdr *)->ip6_dst; mtod 723 netinet/tcp_output.c mtod(m, caddr_t) + hdrlen); mtod 776 netinet/tcp_output.c bcopy(mtod(tp->t_template, caddr_t), mtod(m, caddr_t), mtod 778 netinet/tcp_output.c th = (struct tcphdr *)(mtod(m, caddr_t) + tp->t_template->m_len - mtod 910 netinet/tcp_output.c src.sin.sin_addr = mtod(m, struct ip *)->ip_src; mtod 913 netinet/tcp_output.c dst.sin.sin_addr = mtod(m, struct ip *)->ip_dst; mtod 921 netinet/tcp_output.c src.sin6.sin6_addr = mtod(m, struct ip6_hdr *)->ip6_src; mtod 924 netinet/tcp_output.c dst.sin6.sin6_addr = mtod(m, struct ip6_hdr *)->ip6_dst; mtod 936 netinet/tcp_output.c mtod(m, caddr_t) + hdrlen - optlen + sigoff) < 0) mtod 1040 netinet/tcp_output.c tcp_trace(TA_OUTPUT, tp->t_state, tp, mtod(m, caddr_t), 0, mtod 1074 netinet/tcp_output.c ip = mtod(m, struct ip *); mtod 1096 netinet/tcp_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 251 netinet/tcp_subr.c ipovly = mtod(m, struct ipovly *); mtod 259 netinet/tcp_subr.c th = (struct tcphdr *)(mtod(m, caddr_t) + mtod 272 netinet/tcp_subr.c ip6 = mtod(m, struct ip6_hdr *); mtod 283 netinet/tcp_subr.c th = (struct tcphdr *)(mtod(m, caddr_t) + mtod 362 netinet/tcp_subr.c bcopy(ti, mtod(m, caddr_t), sizeof(struct tcphdr) + mtod 367 netinet/tcp_subr.c bcopy(ti, mtod(m, caddr_t), sizeof(struct tcphdr) + mtod 372 netinet/tcp_subr.c ti = mtod(m, struct tcpiphdr *); mtod 1134 netinet/tcp_subr.c ip = mtod(m, struct ip *); mtod 1152 netinet/tcp_subr.c ip6 = mtod(m, struct ip6_hdr *); mtod 465 netinet/tcp_timer.c tcp_respond(tp, mtod(tp->t_template, caddr_t), mtod 468 netinet/tcp_timer.c tcp_respond(tp, mtod(tp->t_template, caddr_t), mtod 272 netinet/tcp_usrreq.c sin = mtod(nam, struct sockaddr_in *); mtod 276 netinet/tcp_usrreq.c struct in6_addr *in6_addr = &mtod(nam, mtod 447 netinet/tcp_usrreq.c *mtod(m, caddr_t) = tp->t_iobc; mtod 554 netinet/tcp_usrreq.c else if (*mtod(m, int *)) mtod 566 netinet/tcp_usrreq.c i = *mtod(m, int *); mtod 590 netinet/tcp_usrreq.c if (*mtod(m, int *)) mtod 608 netinet/tcp_usrreq.c if (*mtod(m, int *)) { mtod 631 netinet/tcp_usrreq.c *mtod(m, int *) = tp->t_flags & TF_NODELAY; mtod 634 netinet/tcp_usrreq.c *mtod(m, int *) = tp->t_maxseg; mtod 638 netinet/tcp_usrreq.c *mtod(m, int *) = tp->sack_enable; mtod 643 netinet/tcp_usrreq.c *mtod(m, int *) = tp->t_flags & TF_SIGNATURE; mtod 195 netinet/udp_usrreq.c switch (mtod(m, struct ip *)->ip_v) { mtod 197 netinet/udp_usrreq.c ip = mtod(m, struct ip *); mtod 206 netinet/udp_usrreq.c ip6 = mtod(m, struct ip6_hdr *); mtod 335 netinet/udp_usrreq.c bcopy(mtod(m, u_char *), mtod 336 netinet/udp_usrreq.c mtod(m, u_char *) + sizeof(struct udphdr), iphlen); mtod 940 netinet/udp_usrreq.c ui = mtod(m, struct udpiphdr *); mtod 96 netinet6/dest6.c opt - mtod(m, u_int8_t *)); mtod 193 netinet6/frag6.c ip6 = mtod(m, struct ip6_hdr *); mtod 364 netinet6/frag6.c ip6err = mtod(merr, struct ip6_hdr *); mtod 551 netinet6/frag6.c ip6 = mtod(m, struct ip6_hdr *); mtod 649 netinet6/frag6.c ip6 = mtod(m, struct ip6_hdr *); mtod 297 netinet6/icmp6.c oip6 = mtod(m, struct ip6_hdr *); mtod 357 netinet6/icmp6.c oip6 = mtod(m, struct ip6_hdr *); /* adjust pointer */ mtod 381 netinet6/icmp6.c nip6 = mtod(m, struct ip6_hdr *); mtod 438 netinet6/icmp6.c ip6 = mtod(m, struct ip6_hdr *); mtod 617 netinet6/icmp6.c nip6 = mtod(n, struct ip6_hdr *); mtod 634 netinet6/icmp6.c nip6 = mtod(n, struct ip6_hdr *); mtod 740 netinet6/icmp6.c nip6 = mtod(n, struct ip6_hdr *); mtod 1199 netinet6/icmp6.c ip6 = mtod(m, struct ip6_hdr *); mtod 1318 netinet6/icmp6.c if (!ni6_dnsmatch(subj, subjlen, mtod(n, const char *), mtod 1402 netinet6/icmp6.c bcopy(mtod(m, caddr_t), mtod(n, caddr_t), sizeof(struct ip6_hdr)); mtod 1403 netinet6/icmp6.c nni6 = (struct icmp6_nodeinfo *)(mtod(n, struct ip6_hdr *) + 1); mtod 1424 netinet6/icmp6.c fqdn = (struct ni_reply_fqdn *)(mtod(n, caddr_t) + mtod 1510 netinet6/icmp6.c *mtod(m, char *) = namelen; mtod 1511 netinet6/icmp6.c bcopy(name, mtod(m, char *) + 1, namelen); mtod 1515 netinet6/icmp6.c cp = mtod(m, char *); mtod 1516 netinet6/icmp6.c ep = mtod(m, char *) + M_TRAILINGSPACE(m); mtod 1573 netinet6/icmp6.c m->m_len = cp - mtod(m, char *); mtod 1892 netinet6/icmp6.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 2023 netinet6/icmp6.c bcopy((caddr_t)&nip6, mtod(m, caddr_t), sizeof(nip6)); mtod 2033 netinet6/icmp6.c ip6 = mtod(m, struct ip6_hdr *); mtod 2176 netinet6/icmp6.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 2420 netinet6/icmp6.c sip6 = mtod(m0, struct ip6_hdr *); mtod 2480 netinet6/icmp6.c ip6 = mtod(m, struct ip6_hdr *); mtod 2615 netinet6/icmp6.c sip6 = mtod(m, struct ip6_hdr *); mtod 2693 netinet6/icmp6.c p = mtod(m, struct icmp6_filter *); mtod 2724 netinet6/icmp6.c p = mtod(m, struct icmp6_filter *); mtod 126 netinet6/in6_cksum.c ip6 = mtod(m, struct ip6_hdr *); mtod 157 netinet6/in6_cksum.c w = (u_int16_t *)(mtod(m, u_char *) + off); mtod 218 netinet6/in6_cksum.c w = mtod(m, u_int16_t *); mtod 187 netinet6/in6_gif.c ip6 = mtod(m, struct ip6_hdr *); mtod 197 netinet6/in6_pcb.c sin6 = mtod(nam, struct sockaddr_in6 *); mtod 408 netinet6/in6_pcb.c struct sockaddr_in6 *sin6 = mtod(nam, struct sockaddr_in6 *); mtod 641 netinet6/in6_pcb.c sin6 = mtod(nam,struct sockaddr_in6 *); mtod 666 netinet6/in6_pcb.c sin6 = mtod(nam,struct sockaddr_in6 *); mtod 92 netinet6/ip6_forward.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 452 netinet6/ip6_forward.c ip6 = mtod(m, struct ip6_hdr *); mtod 247 netinet6/ip6_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 344 netinet6/ip6_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 585 netinet6/ip6_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 671 netinet6/ip6_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 724 netinet6/ip6_input.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 901 netinet6/ip6_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 995 netinet6/ip6_input.c ip6 = mtod(m, struct ip6_hdr *); mtod 1028 netinet6/ip6_input.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 1094 netinet6/ip6_input.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 1106 netinet6/ip6_input.c hbh = mtod(ext, struct ip6_hbh *); mtod 1132 netinet6/ip6_input.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 1166 netinet6/ip6_input.c ip6e = mtod(ext, struct ip6_ext *); mtod 1278 netinet6/ip6_input.c m_copydata(m, off, elen, mtod(n, caddr_t)); mtod 1300 netinet6/ip6_input.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 1311 netinet6/ip6_input.c ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + len); mtod 275 netinet6/ip6_mroute.c return (ip6_mrouter_init(so, *mtod(m, int *), cmd)); mtod 281 netinet6/ip6_mroute.c return (add_m6if(mtod(m, struct mif6ctl *))); mtod 285 netinet6/ip6_mroute.c return (del_m6if(mtod(m, mifi_t *))); mtod 289 netinet6/ip6_mroute.c return (add_m6fc(mtod(m, struct mf6cctl *))); mtod 293 netinet6/ip6_mroute.c return (del_m6fc(mtod(m, struct mf6cctl *))); mtod 297 netinet6/ip6_mroute.c return (set_pim6(mtod(m, int *))); mtod 402 netinet6/ip6_mroute.c i = mtod(m, int *); mtod 1167 netinet6/ip6_mroute.c oim = mtod(mm, struct omrt6msg *); mtod 1173 netinet6/ip6_mroute.c im = mtod(mm, struct mrt6msg *); mtod 1337 netinet6/ip6_mroute.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 1408 netinet6/ip6_mroute.c oim = mtod(mm, struct omrt6msg *); mtod 1414 netinet6/ip6_mroute.c im = mtod(mm, struct mrt6msg *); mtod 1662 netinet6/ip6_mroute.c im6 = mtod(mm, struct mrt6msg *); mtod 1704 netinet6/ip6_mroute.c ip6 = mtod(m, struct ip6_hdr *); mtod 187 netinet6/ip6_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 228 netinet6/ip6_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 325 netinet6/ip6_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 342 netinet6/ip6_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 376 netinet6/ip6_output.c *mtod(exthdrs.ip6e_dest2, u_char *) = ip6->ip6_nxt; mtod 385 netinet6/ip6_output.c *mtod((m), u_char *) = *(p);\ mtod 387 netinet6/ip6_output.c p = mtod((m), u_char *);\ mtod 414 netinet6/ip6_output.c rh = (struct ip6_rthdr *)(mtod(exthdrs.ip6e_rthdr, mtod 744 netinet6/ip6_output.c struct ip6_hbh *hbh = mtod(exthdrs.ip6e_hbh, struct ip6_hbh *); mtod 775 netinet6/ip6_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 895 netinet6/ip6_output.c nextproto = *mtod(exthdrs.ip6e_rthdr, u_char *); mtod 896 netinet6/ip6_output.c *mtod(exthdrs.ip6e_rthdr, u_char *) = IPPROTO_FRAGMENT; mtod 898 netinet6/ip6_output.c nextproto = *mtod(exthdrs.ip6e_dest1, u_char *); mtod 899 netinet6/ip6_output.c *mtod(exthdrs.ip6e_dest1, u_char *) = IPPROTO_FRAGMENT; mtod 901 netinet6/ip6_output.c nextproto = *mtod(exthdrs.ip6e_hbh, u_char *); mtod 902 netinet6/ip6_output.c *mtod(exthdrs.ip6e_hbh, u_char *) = IPPROTO_FRAGMENT; mtod 928 netinet6/ip6_output.c mhip6 = mtod(m, struct ip6_hdr *); mtod 1026 netinet6/ip6_output.c bcopy(hdr, mtod(m, caddr_t), hlen); mtod 1057 netinet6/ip6_output.c optbuf = mtod(mopt, u_int8_t *); mtod 1096 netinet6/ip6_output.c bcopy(mtod(mopt, caddr_t), mtod(n, caddr_t), mtod 1098 netinet6/ip6_output.c optbuf = mtod(n, u_int8_t *) + oldoptlen; mtod 1102 netinet6/ip6_output.c optbuf = mtod(mopt, u_int8_t *) + mopt->m_len; mtod 1112 netinet6/ip6_output.c hbh = mtod(mopt, struct ip6_hbh *); mtod 1156 netinet6/ip6_output.c *frghdrp = (struct ip6_frag *)(mtod(mlast, caddr_t) + mtod 1168 netinet6/ip6_output.c *frghdrp = mtod(mfrg, struct ip6_frag *); mtod 1326 netinet6/ip6_output.c optval = *mtod(m, int *); mtod 1480 netinet6/ip6_output.c optval = *mtod(m, int *); mtod 1502 netinet6/ip6_output.c optval = *mtod(m, int *); mtod 1552 netinet6/ip6_output.c optbuf = mtod(m, u_char *); mtod 1577 netinet6/ip6_output.c optval = *mtod(m, int *); mtod 1609 netinet6/ip6_output.c tdbip = mtod(m, struct tdb_ident *); mtod 1632 netinet6/ip6_output.c optval = *mtod(m, int *); mtod 1787 netinet6/ip6_output.c *mtod(m, int *) = optval; mtod 1820 netinet6/ip6_output.c bcopy(optdata, mtod(m, void *), optdatalen); mtod 1848 netinet6/ip6_output.c *mtod(m, int *) = optval; mtod 1885 netinet6/ip6_output.c bcopy((caddr_t)&tdbi, mtod(m, caddr_t), mtod 1898 netinet6/ip6_output.c *mtod(m, int *) = IPSEC_LEVEL_NONE; mtod 1920 netinet6/ip6_output.c *mtod(m, int *) = optval; mtod 1974 netinet6/ip6_output.c optval = *mtod(m, int *); mtod 1993 netinet6/ip6_output.c *mtod(m, int *) = optval; mtod 2189 netinet6/ip6_output.c bcopy(optdata, mtod(m, void *), optdatalen); mtod 2374 netinet6/ip6_output.c bcopy(mtod(m, u_int *), &ifindex, sizeof(ifindex)); mtod 2403 netinet6/ip6_output.c bcopy(mtod(m, u_int *), &optval, sizeof(optval)); mtod 2422 netinet6/ip6_output.c bcopy(mtod(m, u_int *), &loop, sizeof(loop)); mtod 2439 netinet6/ip6_output.c mreq = mtod(m, struct ipv6_mreq *); mtod 2539 netinet6/ip6_output.c mreq = mtod(m, struct ipv6_mreq *); mtod 2632 netinet6/ip6_output.c ifindex = mtod(*mp, u_int *); mtod 2641 netinet6/ip6_output.c hlim = mtod(*mp, u_int *); mtod 2650 netinet6/ip6_output.c loop = mtod(*mp, u_int *); mtod 2728 netinet6/ip6_output.c cm = mtod(control, struct cmsghdr *); mtod 3161 netinet6/ip6_output.c ip6 = mtod(copym, struct ip6_hdr *); mtod 3181 netinet6/ip6_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 3195 netinet6/ip6_output.c bcopy((caddr_t)ip6, mtod(m, caddr_t), sizeof(*ip6)); mtod 178 netinet6/mld6.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 192 netinet6/mld6.c ip6 = mtod(m, struct ip6_hdr *);/* in case mpullup */ mtod 412 netinet6/mld6.c ip6 = mtod(mh, struct ip6_hdr *); mtod 424 netinet6/mld6.c mldh = mtod(md, struct mld_hdr *); mtod 93 netinet6/nd6_nbr.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 113 netinet6/nd6_nbr.c ip6 = mtod(m, struct ip6_hdr *); /* adjust pointer for safety */ mtod 390 netinet6/nd6_nbr.c ip6 = mtod(m, struct ip6_hdr *); mtod 433 netinet6/nd6_nbr.c hip6 = mtod(ln->ln_hold, struct ip6_hdr *); mtod 545 netinet6/nd6_nbr.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 888 netinet6/nd6_nbr.c ip6 = mtod(m, struct ip6_hdr *); mtod 96 netinet6/nd6_rtr.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 185 netinet6/nd6_rtr.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 149 netinet6/raw_ip6.c struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); mtod 246 netinet6/raw_ip6.c prvnxtp - mtod(m, u_int8_t *)); mtod 410 netinet6/raw_ip6.c icmp6 = mtod(m, struct icmp6_hdr *); mtod 420 netinet6/raw_ip6.c ip6 = mtod(m, struct ip6_hdr *); mtod 488 netinet6/raw_ip6.c sump = (u_int16_t *)(mtod(n, caddr_t) + sumoff); mtod 660 netinet6/raw_ip6.c struct sockaddr_in6 *addr = mtod(nam, struct sockaddr_in6 *); mtod 708 netinet6/raw_ip6.c struct sockaddr_in6 *addr = mtod(nam, struct sockaddr_in6 *); mtod 794 netinet6/raw_ip6.c tmp = *mtod(nam, struct sockaddr_in6 *); mtod 61 netinet6/route6.c ip6 = mtod(m, struct ip6_hdr *); mtod 154 netinet6/udp6_output.c struct sockaddr_in6 *sin6 = mtod(addr6, struct sockaddr_in6 *); mtod 235 netinet6/udp6_output.c udp6 = (struct udphdr *)(mtod(m, caddr_t) + hlen); mtod 246 netinet6/udp6_output.c ip6 = mtod(m, struct ip6_hdr *); mtod 145 netnatm/natm.c snatm = mtod(nam, struct sockaddr_natm *); mtod 249 netnatm/natm.c aph = mtod(m, struct atm_pseudohdr *); mtod 263 netnatm/natm.c snatm = mtod(nam, struct sockaddr_natm *); mtod 156 nfs/krpc_subr.c sdata = mtod(m, struct sdata *); mtod 176 nfs/krpc_subr.c rdata = mtod(m, struct rdata *); mtod 226 nfs/krpc_subr.c tv = mtod(m, struct timeval *); mtod 239 nfs/krpc_subr.c on = mtod(m, int32_t *); mtod 252 nfs/krpc_subr.c sin = mtod(m, struct sockaddr_in *); mtod 259 nfs/krpc_subr.c ip = mtod(mopt, int *); mtod 266 nfs/krpc_subr.c sin = mtod(m, struct sockaddr_in *); mtod 280 nfs/krpc_subr.c ip = mtod(mopt, int *); mtod 290 nfs/krpc_subr.c sin = mtod(nam, struct sockaddr_in *); mtod 298 nfs/krpc_subr.c call = mtod(mhead, struct rpc_call *); mtod 387 nfs/krpc_subr.c reply = mtod(m, struct rpc_reply *); mtod 432 nfs/krpc_subr.c reply = mtod(m, struct rpc_reply *); mtod 492 nfs/krpc_subr.c xs = mtod(m, struct xdr_string *); mtod 514 nfs/krpc_subr.c xs = mtod(m, struct xdr_string *); mtod 553 nfs/krpc_subr.c xi = mtod(m, struct xdr_inaddr *); mtod 580 nfs/krpc_subr.c xi = mtod(m, struct xdr_inaddr *); mtod 359 nfs/nfs_boot.c call = mtod(m, struct whoami_call *); mtod 387 nfs/nfs_boot.c reply = mtod(m, struct callit_reply *); mtod 395 nfs/nfs_boot.c sin = mtod(from, struct sockaddr_in *); mtod 552 nfs/nfs_boot.c rdata = mtod(m, struct rdata *); mtod 562 nfs/nfs_boot.c rdata = mtod(m, struct rdata *); mtod 457 nfs/nfs_serv.c ivp->iov_base = mtod(mp, caddr_t); mtod 627 nfs/nfs_serv.c iv->iov_base = mtod(m, caddr_t) + m->m_len; mtod 739 nfs/nfs_serv.c adjust = dpos - mtod(mp, caddr_t); mtod 797 nfs/nfs_serv.c ivp->iov_base = mtod(mp, caddr_t); mtod 935 nfs/nfs_serv.c adjust = dpos - mtod(mp, caddr_t); mtod 1076 nfs/nfs_serv.c ivp->iov_base = mtod(mp, caddr_t); mtod 2610 nfs/nfs_serv.c mp->m_len = bp - mtod(mp, caddr_t); mtod 2928 nfs/nfs_serv.c mp->m_len = bp - mtod(mp, caddr_t); mtod 158 nfs/nfs_socket.c saddr = mtod(nmp->nm_nam, struct sockaddr *); mtod 177 nfs/nfs_socket.c ip = mtod(mopt, int *); mtod 184 nfs/nfs_socket.c sin = mtod(m, struct sockaddr_in *); mtod 196 nfs/nfs_socket.c ip = mtod(mopt, int *); mtod 264 nfs/nfs_socket.c *mtod(m, int32_t *) = 1; mtod 270 nfs/nfs_socket.c *mtod(m, int32_t *) = 1; mtod 715 nfs/nfs_socket.c dpos = mtod(md, caddr_t); mtod 901 nfs/nfs_socket.c *mtod(m, u_int32_t *) = htonl(0x80000000 | mtod 1118 nfs/nfs_socket.c tl = mtod(mreq, u_int32_t *); mtod 1486 nfs/nfs_socket.c bcopy(mtod(m, void *), mtod(n, char *) + n->m_len, padding); mtod 1527 nfs/nfs_socket.c m_copyback(n, off, m->m_len, mtod(m, caddr_t)); mtod 1949 nfs/nfs_socket.c bcopy(mtod(m, caddr_t), (caddr_t)&recmark, NFSX_UNSIGNED); mtod 1954 nfs/nfs_socket.c cp2 = mtod(m, caddr_t); mtod 1958 nfs/nfs_socket.c cp2 = mtod(m, caddr_t); mtod 2078 nfs/nfs_socket.c nd->nd_dpos = mtod(m, caddr_t); mtod 244 nfs/nfs_srvcache.c saddr = mtod(nd->nd_nam, struct sockaddr_in *); mtod 552 nfs/nfs_subs.c bpos = mtod(mb, caddr_t); mtod 599 nfs/nfs_subs.c bpos = mtod(mb, caddr_t); mtod 657 nfs/nfs_subs.c bpos = mtod(mb, caddr_t); mtod 690 nfs/nfs_subs.c bpos = mtod(mb, caddr_t); mtod 733 nfs/nfs_subs.c len = mtod(mp, caddr_t)+mp->m_len-mbufcp; mtod 748 nfs/nfs_subs.c mbufcp = mtod(mp, caddr_t); mtod 840 nfs/nfs_subs.c (uiocp, mtod(mp, caddr_t)+mp->m_len, xfer); mtod 844 nfs/nfs_subs.c bcopy(uiocp, mtod(mp, caddr_t)+mp->m_len, xfer); mtod 846 nfs/nfs_subs.c copyin(uiocp, mtod(mp, caddr_t)+mp->m_len, xfer); mtod 863 nfs/nfs_subs.c cp = mtod(mp, caddr_t)+mp->m_len; mtod 869 nfs/nfs_subs.c *bpos = mtod(mp, caddr_t)+mp->m_len; mtod 898 nfs/nfs_subs.c *dposp = mtod(mp, caddr_t); mtod 913 nfs/nfs_subs.c *cp2 = p = mtod(mp, caddr_t); mtod 924 nfs/nfs_subs.c bcopy(mtod(mp2, caddr_t), p, xfer); mtod 935 nfs/nfs_subs.c *dposp = mtod(mp2, caddr_t); mtod 963 nfs/nfs_subs.c *dposp = mtod(m, caddr_t)+offs; mtod 1007 nfs/nfs_subs.c tl = mtod(m1, u_int32_t *); mtod 1029 nfs/nfs_subs.c *bpos = mtod(m1, caddr_t)+m1->m_len; mtod 1129 nfs/nfs_subs.c t1 = (mtod(md, caddr_t) + md->m_len) - *dposp; mtod 1362 nfs/nfs_subs.c rem = mtod(md, caddr_t) + md->m_len - fromcp; mtod 1371 nfs/nfs_subs.c fromcp = mtod(md, caddr_t); mtod 1477 nfs/nfs_subs.c cp = mtod(m, caddr_t)+m->m_len-nul; mtod 1495 nfs/nfs_subs.c cp = mtod(m, caddr_t)+m->m_len-nul; mtod 1647 nfs/nfs_subs.c saddr = mtod(nam, struct sockaddr_in *); mtod 1700 nfs/nfs_subs.c inetaddr = mtod(nam, struct sockaddr_in *); mtod 238 nfs/nfs_syscalls.c *mtod(m, int32_t *) = 1; mtod 245 nfs/nfs_syscalls.c *mtod(m, int32_t *) = 1; mtod 402 nfs/nfs_syscalls.c nsd->nsd_haddr = mtod(nd->nd_nam, mtod 472 nfs/nfs_syscalls.c *mtod(m, u_int32_t *) = htonl(0x80000000 | siz); mtod 675 nfs/nfs_syscalls.c if (mtod(nd->nd_nam, struct sockaddr *)->sa_family == AF_INET) mtod 676 nfs/nfs_syscalls.c rt->ipadr = mtod(nd->nd_nam, struct sockaddr_in *)->sin_addr.s_addr; mtod 407 nfs/nfs_vfsops.c bcopy((caddr_t)args.addr, mtod(m, caddr_t), mtod 86 nfs/nfsm_subs.h bpos = mtod(mb, caddr_t); \ mtod 93 nfs/nfsm_subs.h { t1 = mtod(md, caddr_t)+md->m_len-dpos; \ mtod 400 nfs/nfsm_subs.h { t1 = mtod(md, caddr_t)+md->m_len-dpos; \ mtod 432 nfs/nfsm_subs.h bp = mtod(mp, caddr_t); \