/freebsd-10.0-release/sys/netpfil/pf/ |
H A D | pf_norm.c | 690 h = mtod(m, struct ip *); 749 h = mtod(m, struct ip *); 871 struct ip *h = mtod(m, struct ip *); 1003 h = mtod(m, struct ip *); 1114 struct ip6_hdr *h = mtod(m, struct ip6_hdr *); 1425 struct ip *h = mtod(m, struct ip *); 1432 struct ip6_hdr *h = mtod(m, struct ip6_hdr *); 1526 struct ip *h = mtod(m, struct ip *); 1537 struct ip6_hdr *h = mtod(m, struct ip6_hdr *); 1950 struct ip *h = mtod( [all...] |
H A D | if_pflog.c | 248 ip = mtod(m, struct ip *);
|
/freebsd-10.0-release/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_rfcomm.c | 1859 hdr = mtod(m0, struct rfcomm_frame_hdr *); 2341 __func__, *mtod(m0, u_int8_t *), dlci, pcb->state, 2344 pcb->tx_cred += *mtod(m0, u_int8_t *); 2443 hdr = mtod(m0, struct rfcomm_mcc_hdr *); 2500 hdr = mtod(m0, struct rfcomm_mcc_hdr *); 2528 struct rfcomm_mcc_hdr *hdr = mtod(m0, struct rfcomm_mcc_hdr *); 2555 struct rfcomm_mcc_hdr *hdr = mtod(m0, struct rfcomm_mcc_hdr *); 2595 struct rfcomm_mcc_hdr *hdr = mtod(m0, struct rfcomm_mcc_hdr*); 2663 struct rfcomm_mcc_hdr *hdr = mtod(m0, struct rfcomm_mcc_hdr *); 2770 struct rfcomm_mcc_hdr *hdr = mtod(m [all...] |
/freebsd-10.0-release/contrib/smbfs/include/netsmb/ |
H A D | smb_lib.h | 142 #define mtod(m,t) ((t)(m)->m_data) macro
|
/freebsd-10.0-release/sys/dev/wtap/ |
H A D | if_wtap.c | 599 ieee80211_dump_pkt(ic, mtod(m, caddr_t), 0,0,0); 607 mtod(m, const struct ieee80211_frame_min *),IEEE80211_KEYIX_NONE); 654 ieee80211_dump_pkt(ic, mtod(m, caddr_t), 0,0,0); 663 mtod(m, const struct ieee80211_frame_min *),
|
/freebsd-10.0-release/sys/kern/ |
H A D | uipc_sockbuf.c | 654 bcopy(asa, mtod(m, caddr_t), asa->sa_len); 779 bcopy(mtod(m, caddr_t), mtod(n, caddr_t) + n->m_len, 1043 cp = mtod(m, struct cmsghdr *);
|
/freebsd-10.0-release/sys/net/ |
H A D | if_enc.c | 270 ip = mtod(*mp, struct ip *);
|
/freebsd-10.0-release/sys/netgraph/ |
H A D | ng_pptpgre.c | 616 bcopy(gre, mtod(m, u_char *), grelen); 681 ip = mtod(m, const struct ip *); 688 ip = mtod(m, const struct ip *); 701 ip = mtod(m, const struct ip *);
|
H A D | ng_ppp.c | 862 linkNum = be16dec(mtod(m, uint8_t *)); 863 proto = be16dec(mtod(m, uint8_t *) + 2); 913 if (!ALIGNED_POINTER(mtod(m, caddr_t), uint32_t)) { 1414 if (mtod(m, uint8_t *)[0] == 0xff && 1415 mtod(m, uint8_t *)[1] == 0x03) 1546 shdr = be16dec(mtod(m, void *)); 1563 lhdr = be32dec(mtod(m, void *)); 2428 *proto = *mtod(m, uint8_t *); 2435 *proto = (*proto << 8) + *mtod(m, uint8_t *); 2451 bcopy(buf, mtod( [all...] |
/freebsd-10.0-release/sys/netinet/ |
H A D | if_ether.c | 269 ah = mtod(m, struct arphdr *); 458 ar = mtod(m, struct arphdr *); 479 ar = mtod(m, struct arphdr *); 569 ah = mtod(m, struct arphdr *);
|
H A D | tcp_subr.c | 587 bcopy((caddr_t)ip6, mtod(m, caddr_t), 589 ip6 = mtod(m, struct ip6_hdr *); 594 bcopy((caddr_t)ip, mtod(m, caddr_t), sizeof(struct ip)); 595 ip = mtod(m, struct ip *); 706 tcp_trace(TA_OUTPUT, 0, tp, mtod(m, void *), th, 0); 1878 ip6 = mtod(m, struct ip6_hdr *); 1887 ip = mtod(m, struct ip *); 1965 ip = mtod(m, struct ip *); 1980 ip6 = mtod(m, struct ip6_hdr *);
|
/freebsd-10.0-release/sys/netinet6/ |
H A D | udp6_usrreq.c | 192 ip6 = mtod(m, struct ip6_hdr *); 202 ip6 = mtod(m, struct ip6_hdr *); 764 udp6 = (struct udphdr *)(mtod(m, caddr_t) + hlen); 775 ip6 = mtod(m, struct ip6_hdr *);
|
/freebsd-10.0-release/sys/netipsec/ |
H A D | xform_ah.c | 307 ip = mtod(m, struct ip *); 318 ptr = mtod(m, unsigned char *) + sizeof(struct ip); 465 ptr = mtod(m, unsigned char *) + 981 ah = (struct newah *)(mtod(mi, caddr_t) + roff);
|
H A D | ipsec.c | 557 ip = mtod(m, struct ip *); 607 struct ip *ip = mtod(m, struct ip *); 699 struct ip *ip = mtod(m, struct ip *); 783 ip6 = mtod(m, struct ip6_hdr *); 1700 p = mtod(m, u_char *);
|
/freebsd-10.0-release/sys/netsmb/ |
H A D | smb_subr.c | 205 p=mtod(m,char *);
|
/freebsd-10.0-release/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 124 mtod(m, void *), m->m_len, DMA_FROM_DEVICE); 257 eh = mtod(mb, struct ipoib_header *); 299 mapping[i] = ib_dma_map_single(ca, mtod(m, void *), 487 phead = mtod(mb, void *);
|
H A D | ipoib_main.c | 112 ih = mtod(mb, struct ipoib_header *); 694 eh = mtod(mb, struct ipoib_header *); 1304 ah = mtod(m, struct arphdr *); 1356 eh = mtod(m, struct ipoib_header *); 1441 eh = mtod(m, struct ipoib_header *);
|
/freebsd-10.0-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_bcopy.c | 110 h = mtod(mb, struct sdp_bsdh *);
|
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_frag.c | 134 iph = (struct ip *)(mtod(mb, char *) + ETHER_HDR_LEN);
|
/freebsd-10.0-release/sys/dev/ipw/ |
H A D | if_ipw.c | 728 mtod(sbuf->m, void *), MCLBYTES, ipw_dma_map_addr, 1011 cmd = mtod(sbuf->m, struct ipw_cmd *); 1033 state = le32toh(*mtod(sbuf->m, uint32_t *)); 1150 wh = mtod(m, struct ieee80211_frame *); 1163 efrm = mtod(m, uint8_t *) + m->m_len; 1219 error = bus_dmamap_load(sc->rxbuf_dmat, sbuf->map, mtod(mnew, void *), 1226 mtod(sbuf->m, void *), MCLBYTES, ipw_dma_map_addr, 1263 ni = ieee80211_find_rxnode(ic, mtod(m, struct ieee80211_frame_min *)); 1605 wh = mtod(m0, struct ieee80211_frame *); 1614 wh = mtod(m [all...] |
/freebsd-10.0-release/sys/dev/ed/ |
H A D | if_ed.c | 1299 eh = mtod(m, struct ether_header *); 1491 data = mtod(m, caddr_t); 1719 mtod(m, uint16_t *), m->m_len / 2); 1723 *(mtod(m, uint8_t *) + m->m_len - 1)); 1727 mtod(m, uint8_t *), m->m_len);
|
/freebsd-10.0-release/sys/dev/ie/ |
H A D | if_ie.c | 777 mtod(m, caddr_t) +thismboff, (unsigned) newlen); 794 mtod(m, caddr_t) +thismboff, (unsigned) thislen); 806 mtod(m, caddr_t) + thismboff, (unsigned) thislen); 872 eh = mtod(m, struct ether_header *); 964 bcopy(mtod(m, caddr_t), buffer, m->m_len);
|
/freebsd-10.0-release/sys/dev/wb/ |
H A D | if_wb.c | 860 c->wb_ptr->wb_data = vtophys(mtod(m_new, caddr_t)); 928 m0 = m_devget(mtod(m, char *), total_len, ETHER_ALIGN, ifp, 1178 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-10.0-release/sys/dev/wl/ |
H A D | if_wl.c | 1113 mb_p = mtod(m, u_char *); 1179 eh = mtod(m, struct ether_header *); 1772 struct ether_header *eh_p = mtod(m, struct ether_header *); 1773 u_char *mb_p = mtod(m, u_char *) + sizeof(struct ether_header); 1852 mb_p = mtod(tm_p, u_char *); 2272 *mb_pp = mtod((*tm_pp), u_char *); 2282 bcopy(mtod(tm_p, u_char *), cp, len = tm_p->m_len); 2308 bcopy(mtod(tm_p, u_char *), cp, len = tm_p->m_len); 2559 * address. use the mtod macro(in mbuf.h) 2563 ip = mtod( [all...] |
/freebsd-10.0-release/sys/dev/cxgbe/tom/ |
H A D | t4_listen.c | 656 struct ip *ip = mtod(m, struct ip *); 910 struct cpl_pass_establish *cpl = mtod(synqe->syn, void *); 1050 const struct cpl_pass_accept_req *cpl = mtod(m, const void *); 1206 const struct cpl_pass_accept_req *cpl = mtod(m, const void *); 1574 bcopy(cpl, mtod(m, void *), sizeof(*cpl)); 1575 *(struct toepcb **)(mtod(m, struct cpl_pass_establish *) + 1) = toep;
|