/freebsd-11-stable/sys/netinet/ |
H A D | raw_ip.c | 283 struct ip *ip = mtod(m, struct ip *); 463 ip = mtod(m, struct ip *); 498 ip = mtod(m, struct ip *); 504 ip = mtod(m, struct ip *);
|
H A D | tcp_subr.c | 921 bcopy((caddr_t)ip6, mtod(m, caddr_t), 923 ip6 = mtod(m, struct ip6_hdr *); 928 bcopy((caddr_t)ip, mtod(m, caddr_t), sizeof(struct ip)); 929 ip = mtod(m, struct ip *); 955 bcopy((caddr_t)ip6, mtod(n, caddr_t), 957 ip6 = mtod(n, struct ip6_hdr *); 963 bcopy((caddr_t)ip, mtod(n, caddr_t), sizeof(struct ip)); 964 ip = mtod(n, struct ip *); 1028 optp = mtod(m->m_next, u_char *); 1136 tcp_trace(TA_OUTPUT, 0, tp, mtod( [all...] |
H A D | tcp_input.c | 553 ip6 = mtod(m, struct ip6_hdr *); 559 ip6 = mtod(m, struct ip6_hdr *); 614 isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0; 635 ip6 = mtod(m, struct ip6_hdr *); 687 ip = mtod(m, struct ip *); 743 ip6 = mtod(m, struct ip6_hdr *); 758 ip = mtod(m, struct ip *); 2211 tcp_respond(tp, mtod(m, void *), th, m, 2238 tcp_respond(tp, mtod(m, void *), th, m, tp->rcv_nxt, 3342 if (mtod( [all...] |
H A D | sctputil.c | 2673 return (mtod(m, caddr_t)+off); 2678 memcpy(ptr, mtod(m, caddr_t)+off, count); 2730 dp = mtod(m_last, caddr_t)+SCTP_BUF_LEN(m_last); 2804 sac = mtod(m_notify, struct sctp_assoc_change *); 2935 spc = mtod(m_notify, struct sctp_paddr_change *); 3052 chkhdr = mtod(chk->data, struct sctp_chunkhdr *); 3064 ssfe = mtod(m_notify, struct sctp_send_failed_event *); 3082 ssf = mtod(m_notify, struct sctp_send_failed *); 3175 ssfe = mtod(m_notify, struct sctp_send_failed_event *); 3193 ssf = mtod(m_notif [all...] |
/freebsd-11-stable/sys/netinet6/ |
H A D | raw_ip6.c | 161 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 450 icmp6 = mtod(m, struct icmp6_hdr *); 460 ip6 = mtod(m, struct ip6_hdr *); 515 p = (u_int16_t *)(mtod(n, caddr_t) + off);
|
H A D | nd6_nbr.c | 122 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 155 ip6 = mtod(m, struct ip6_hdr *); /* adjust pointer for safety */ 443 ip6 = mtod(m, struct ip6_hdr *); 615 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 974 ip6 = mtod(m, struct ip6_hdr *);
|
/freebsd-11-stable/sys/netipsec/ |
H A D | xform_ah.c | 307 ip = mtod(m, struct ip *); 318 ptr = mtod(m, unsigned char *); 465 ptr = mtod(m, unsigned char *) + 943 ah = (struct newah *)(mtod(mi, caddr_t) + roff);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 128 mtod(m, void *), m->m_len, DMA_FROM_DEVICE); 260 eh = mtod(mb, struct ipoib_header *); 302 mapping[i] = ib_dma_map_single(ca, mtod(m, void *), 493 phead = mtod(mb, void *);
|
/freebsd-11-stable/sys/kern/ |
H A D | uipc_syscalls.c | 794 cm = mtod(control, struct cmsghdr *); 1129 if (mtod(control, struct cmsghdr *)->cmsg_level != 1131 mtod(control, struct cmsghdr *)->cmsg_type != 1144 if ((error = copyout(mtod(m, caddr_t), ctlbuf, 1750 error = copyin(buf, mtod(m, void *), buflen); 1756 sa = mtod(m, struct sockaddr *); 1815 cm = mtod(m, struct cmsghdr *);
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_ppp.c | 876 linkNum = be16dec(mtod(m, uint8_t *)); 877 proto = be16dec(mtod(m, uint8_t *) + 2); 927 if (!ALIGNED_POINTER(mtod(m, caddr_t), uint32_t)) { 1428 if (mtod(m, uint8_t *)[0] == 0xff && 1429 mtod(m, uint8_t *)[1] == 0x03) 1560 shdr = be16dec(mtod(m, void *)); 1577 lhdr = be32dec(mtod(m, void *)); 2441 *proto = *mtod(m, uint8_t *); 2448 *proto = (*proto << 8) + *mtod(m, uint8_t *); 2464 bcopy(buf, mtod( [all...] |
H A D | ng_async.c | 464 ADD_BYTE(*mtod(m, u_char *)); 509 u_char ch = *mtod(m, u_char *);
|
/freebsd-11-stable/sys/dev/ipw/ |
H A D | if_ipw.c | 691 mtod(sbuf->m, void *), MCLBYTES, ipw_dma_map_addr, 983 cmd = mtod(sbuf->m, struct ipw_cmd *); 1004 state = le32toh(*mtod(sbuf->m, uint32_t *)); 1119 wh = mtod(m, struct ieee80211_frame *); 1132 efrm = mtod(m, uint8_t *) + m->m_len; 1187 error = bus_dmamap_load(sc->rxbuf_dmat, sbuf->map, mtod(mnew, void *), 1194 mtod(sbuf->m, void *), MCLBYTES, ipw_dma_map_addr, 1228 ni = ieee80211_find_rxnode(ic, mtod(m, struct ieee80211_frame_min *)); 1557 wh = mtod(m0, struct ieee80211_frame *); 1566 wh = mtod(m [all...] |
/freebsd-11-stable/sys/dev/ral/ |
H A D | rt2560.c | 670 mtod(data->m, void *), MCLBYTES, rt2560_dma_map_addr, 1146 mtod(mnew, void *), MCLBYTES, rt2560_dma_map_addr, 1153 mtod(data->m, void *), MCLBYTES, 1199 wh = mtod(m, struct ieee80211_frame *); 1523 wh = mtod(m0, struct ieee80211_frame *); 1557 wh = mtod(m0, struct ieee80211_frame *); 1609 wh = mtod(m, const struct ieee80211_frame *); 1757 wh = mtod(m0, struct ieee80211_frame *); 1779 wh = mtod(m0, struct ieee80211_frame *); 1831 wh = mtod(m [all...] |
/freebsd-11-stable/sys/dev/ie/ |
H A D | if_ie.c | 770 mtod(m, caddr_t) +thismboff, (unsigned) newlen); 787 mtod(m, caddr_t) +thismboff, (unsigned) thislen); 799 mtod(m, caddr_t) + thismboff, (unsigned) thislen); 865 eh = mtod(m, struct ether_header *); 959 bcopy(mtod(m, caddr_t), buffer, m->m_len);
|
/freebsd-11-stable/sys/dev/wb/ |
H A D | if_wb.c | 861 c->wb_ptr->wb_data = vtophys(mtod(m_new, caddr_t)); 929 m0 = m_devget(mtod(m, char *), total_len, ETHER_ALIGN, ifp, 1179 f->wb_data = vtophys(mtod(m, vm_offset_t)); 1205 mtod(m_new, caddr_t)); 1211 f->wb_data = vtophys(mtod(m_new, caddr_t));
|
/freebsd-11-stable/sys/dev/ed/ |
H A D | if_ed.c | 1343 eh = mtod(m, struct ether_header *); 1547 data = mtod(m, caddr_t); 1789 mtod(m, uint16_t *), m->m_len / 2); 1793 *(mtod(m, uint8_t *) + m->m_len - 1)); 1797 mtod(m, uint8_t *), m->m_len);
|
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_rx.c | 351 mtod(m, uint8_t *)); 686 mtod(m, uint8_t *)); 848 mtod(m, uint8_t *), 854 prefetch_read_many(mtod(m, caddr_t)); 872 etherhp = mtod(m, struct ether_header *);
|
/freebsd-11-stable/sys/dev/wl/ |
H A D | if_wl.c | 1111 mb_p = mtod(m, u_char *); 1177 eh = mtod(m, struct ether_header *); 1763 struct ether_header *eh_p = mtod(m, struct ether_header *); 1764 u_char *mb_p = mtod(m, u_char *) + sizeof(struct ether_header); 1842 mb_p = mtod(tm_p, u_char *); 2257 *mb_pp = mtod((*tm_pp), u_char *); 2267 bcopy(mtod(tm_p, u_char *), cp, len = tm_p->m_len); 2293 bcopy(mtod(tm_p, u_char *), cp, len = tm_p->m_len); 2538 * address. use the mtod macro(in mbuf.h) 2542 ip = mtod( [all...] |
/freebsd-11-stable/sys/dev/xen/netback/ |
H A D | netback.c | 605 d = mtod(m, uint8_t*); 1739 mtod(mbuf, vm_offset_t) + m_ofs); 1741 mtod(mbuf, vm_offset_t) + m_ofs); 1993 mtod(mbuf, vm_offset_t) + m_ofs); 1995 mtod(mbuf, vm_offset_t) + m_ofs); 2154 eh = mtod(mbufc, struct ether_header*);
|
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 484 memcpy(mtod(m, uint8_t *), resp->imm_data, m->m_len); 1482 eh = mtod(m0, struct ether_header *); 1873 struct work_request_hdr *wrp = mtod(m, struct work_request_hdr *); 2208 struct ofld_hdr *oh = mtod(m, struct ofld_hdr *); 2272 struct ofld_hdr *oh = mtod(m, struct ofld_hdr *); 2323 struct ofld_hdr *oh = mtod(m, struct ofld_hdr *); 2370 struct ofld_hdr *oh = mtod(m, struct ofld_hdr *); 2622 struct cpl_rx_pkt *cpl = (struct cpl_rx_pkt *)(mtod(m, uint8_t *) + ethpad); 2640 struct ether_header *eh = mtod(m, void *); 2644 struct ether_vlan_header *evh = mtod( [all...] |
/freebsd-11-stable/sys/net/ |
H A D | if_spppsubr.c | 547 h = mtod (m, struct ppp_header*); 610 sl_uncompress_tcp_core(mtod(m, u_char *), 634 bcopy(iphdr, mtod(m, u_char *), hlen); 641 if (sl_uncompress_tcp_core(mtod(m, u_char *), 822 struct ip *ip = mtod (m, struct ip*); 919 h = mtod (m, struct ppp_header*); 1302 h = mtod (m, struct cisco_packet*); 1375 h = mtod (m, struct ppp_header*); 1423 h = mtod (m, struct ppp_header*); 1467 h = mtod ( [all...] |
/freebsd-11-stable/sys/rpc/ |
H A D | clnt_bck.c | 256 *mtod(mreq, uint32_t *) = htonl(xid); 275 *mtod(mreq, uint32_t *) =
|
/freebsd-11-stable/sys/dev/iscsi_initiator/ |
H A D | iscsi_subr.c | 160 bp = mtod(pq->mp, caddr_t); 565 caddr_t bp = NULL; // = mtod(pq->mp, caddr_t); 570 csio->data_ptr, bp? mtod(pq->mp, caddr_t): 0,
|
/freebsd-11-stable/sys/dev/firewire/ |
H A D | if_fwe.c | 565 fp = mtod(sxfer->mbuf, struct fw_pkt *); 586 c = mtod(m, u_char *);
|
/freebsd-11-stable/sys/dev/ppbus/ |
H A D | if_plip.c | 750 cp = mtod(mm, u_char *); 802 cp = mtod(mm, u_char *);
|