/freebsd-11-stable/sys/netgraph/ |
H A D | ng_frame_relay.c | 364 data = mtod(m, char *); 423 data = mtod(m, char *);
|
H A D | ng_pppoe.c | 888 neg->pkt = mtod(neg->m, union packet*); 1147 wh = mtod(m, struct pppoe_full_hdr *); 1190 wh = mtod(m, struct pppoe_full_hdr *); 1431 if (mtod(m, u_char *)[0] == 0xff && 1432 mtod(m, u_char *)[1] == 0x03) 1443 wh = mtod(m, struct pppoe_full_hdr *); 1473 wh = mtod(m, struct pppoe_full_hdr *); 1588 wh = mtod(m, struct pppoe_full_hdr *); 1633 wh = mtod(m, struct pppoe_full_hdr *); 2039 wh = mtod( [all...] |
H A D | ng_lmi.c | 339 cptr = start = mtod(m, char *); 583 data = mtod(m, const u_char *); 748 data = mtod(m, const u_char *); 991 const u_char *bp = mtod(m, const u_char *); 1018 const u_char *bp = mtod(m, const u_char *);
|
H A D | ng_vlan.c | 533 eh = mtod(m, struct ether_header *); 562 evl = mtod(m, struct ether_vlan_header *); 659 evl = mtod(m, struct ether_vlan_header *);
|
/freebsd-11-stable/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss_prot.c | 112 bcopy(&n, mtod(m, uint32_t *), sizeof(uint32_t)); 199 bcopy(mtod(m, uint32_t *), &n, sizeof(uint32_t));
|
/freebsd-11-stable/sys/mips/nlm/dev/sec/ |
H A D | nlmseclib.c | 118 mtod(m,caddr_t), m->m_len); 121 dstseg, mtod(m,caddr_t), m->m_len);
|
/freebsd-11-stable/sys/net/ |
H A D | if_atmsubr.c | 197 ad = mtod(m, struct atm_pseudohdr *); 300 alc = mtod(m, struct atmllc *);
|
H A D | bridgestp.c | 247 eh = mtod(m, struct ether_header *); 259 memcpy(mtod(m, caddr_t) + sizeof(*eh), &bpdu, sizeof(bpdu)); 357 eh = mtod(m, struct ether_header *); 371 memcpy(mtod(m, caddr_t) + sizeof(*eh), bpdu, 380 memcpy(mtod(m, caddr_t) + sizeof(*eh), bpdu, 466 eh = mtod(m, struct ether_header *); 480 memcpy(&tpdu, mtod(m, caddr_t), sizeof(tpdu)); 545 memcpy(&cpdu, mtod(*mp, caddr_t), BSTP_BPDU_STP_LEN); 566 memcpy(&cpdu, mtod(*mp, caddr_t), BSTP_BPDU_RSTP_LEN);
|
/freebsd-11-stable/sys/netipsec/ |
H A D | subr_ipsec.c | 86 const struct ip *ip = mtod(m, const struct ip *); 101 ip6 = mtod(m, const struct ip6_hdr *);
|
/freebsd-11-stable/sys/netinet6/ |
H A D | ip6_forward.c | 89 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 332 ip6 = mtod(m, struct ip6_hdr *);
|
H A D | frag6.c | 233 ip6 = mtod(m, struct ip6_hdr *); 432 ip6err = mtod(merr, struct ip6_hdr *); 641 ip6 = mtod(m, struct ip6_hdr *); 752 ip6 = mtod(m, struct ip6_hdr *); 939 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 127 struct ip *ip = mtod(*mp, struct ip *); 143 ip = mtod(*mp, struct ip *); 160 error = ipf_check(&V_ipfmain, mtod(*mp, struct ip *), 388 ip = mtod(m, struct ip *); 449 ip = mtod(m, ip_t *); 625 ip = mtod(m, ip_t *); 742 ip = mtod(m0, struct ip *); 871 mhip = mtod(m, struct ip *);
|
/freebsd-11-stable/stand/kshim/ |
H A D | bsd_kernel.c | 887 const struct device_method *mtod; local 889 mtod = dev->dev_module->driver->methods; 890 while (mtod->func != NULL) { 891 if (devclass_equal(mtod->desc, what)) { 892 return (mtod->func); 894 mtod++;
|
/freebsd-11-stable/sys/dev/ex/ |
H A D | if_ex.c | 515 tmp16[1] = *(mtod(m, caddr_t)); 520 (uint16_t *) (mtod(m, caddr_t) + i), 523 tmp16[0] = *(mtod(m, caddr_t) + 766 mtod(m, uint16_t *), m->m_len / 2); 769 *(mtod(m, caddr_t) + m->m_len - 1) = CSR_READ_1(sc, IO_PORT_REG); 784 eh = mtod(ipkt, struct ether_header *);
|
/freebsd-11-stable/sys/dev/vx/ |
H A D | if_vx.c | 507 VX_W1_TX_PIO_WR_1, (u_int32_t *)mtod(m, caddr_t), 512 mtod(m, caddr_t) + (m->m_len & ~3), m->m_len & 3); 743 m0 = m_devget(mtod(m, char *), m->m_pkthdr.len, ETHER_ALIGN, 754 eh = mtod(m, struct ether_header *); 876 VX_W1_RX_PIO_RD_1, mtod(m, u_int32_t *), len / 4); 879 VX_W1_RX_PIO_RD_1, mtod(m, u_int8_t *) + (len & ~3),
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_hostap.c | 356 struct ether_header *eh = mtod(m, struct ether_header *); 490 wh = mtod(m, struct ieee80211_frame *); 516 wh = mtod(m, struct ieee80211_frame *); 686 wh = mtod(m, struct ieee80211_frame *); 743 eh = mtod(m, struct ether_header *); 855 wh = mtod(m, struct ieee80211_frame *); 1558 l2uf = mtod(m, struct l2_update_frame *); 1664 wh = mtod(m0, struct ieee80211_frame *); 1666 efrm = mtod(m0, uint8_t *) + m0->m_len; 2247 wh = mtod(m [all...] |
H A D | ieee80211_sta.c | 559 wh = mtod(m, struct ieee80211_frame *); 585 wh = mtod(m, struct ieee80211_frame *); 751 wh = mtod(m, struct ieee80211_frame *); 810 eh = mtod(m, struct ether_header *); 911 wh = mtod(m, struct ieee80211_frame *); 1285 wh = mtod(m0, struct ieee80211_frame *); 1287 efrm = mtod(m0, uint8_t *) + m0->m_len;
|
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_tx.c | 187 wh = mtod(m0, const struct ieee80211_frame *); 199 wh = mtod(bf->bf_m, struct ieee80211_frame *); 233 wh = mtod(m0, const struct ieee80211_frame *); 709 wh = mtod(bf_last->bf_m, struct ieee80211_frame *); 1043 wh = mtod(bf->bf_m, struct ieee80211_frame *); 1107 wh = mtod(bf->bf_m, struct ieee80211_frame *); 1421 wh = mtod(m0, struct ieee80211_frame *); 1553 wh = mtod(m0, struct ieee80211_frame *); 1572 wh = mtod(m0, struct ieee80211_frame *); 1586 wh = mtod(m [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | uipc_usrreq.c | 1769 struct cmsghdr *cm = mtod(control, struct cmsghdr *); 1822 CMSG_DATA(mtod(*controlp, struct cmsghdr *)); 1857 CMSG_DATA(mtod(*controlp, struct cmsghdr *)), 1920 cp = mtod(m, struct cmsghdr *); 1957 for (cm = mtod(control, struct cmsghdr *); cm != NULL;) { 1978 CMSG_DATA(mtod(*controlp, struct cmsghdr *)); 2029 CMSG_DATA(mtod(*controlp, struct cmsghdr *)); 2051 CMSG_DATA(mtod(*controlp, struct cmsghdr *)); 2063 CMSG_DATA(mtod(*controlp, struct cmsghdr *)); 2075 CMSG_DATA(mtod(*control [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | igmp.c | 534 p = mtod(m, struct ipoption *); 1445 ip = mtod(m, struct ip *); 1472 ip = mtod(m, struct ip *); 1479 igmp = mtod(m, struct igmp *); 1563 igmpv3 = (struct igmpv3 *)(mtod(m, uint8_t *) 2216 igmp = mtod(m, struct igmp *); 2226 ip = mtod(m, struct ip *); 2830 pig = (struct igmp_grouprec *)(mtod(md, uint8_t *) + 2834 pig = (struct igmp_grouprec *)(mtod(md, uint8_t *) + 2918 pig = (struct igmp_grouprec *)(mtod(m [all...] |
H A D | ip_carp.c | 453 struct ip *ip = mtod(m, struct ip *); 494 ip = mtod(m, struct ip *); 516 ip = mtod(m, struct ip *); 540 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 844 ip = mtod(m, struct ip *); 896 ip6 = mtod(m, struct ip6_hdr *); 1441 eh = mtod(m, struct ether_header *); 1453 fh = mtod(m, struct fddi_header *); 1464 th = mtod(m, struct iso88025_header *);
|
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_listen.c | 281 struct cpl_close_listserv_rpl *rpl = mtod(m, void *); 312 struct cpl_pass_open_rpl *rpl = mtod(m, void *); 479 const struct cpl_pass_accept_req *req = mtod(m, void *); 677 struct cpl_pass_establish *cpl = mtod(m, void *); 931 struct ip *ip = mtod(m, struct ip *); 993 const struct cpl_abort_req_rss *req = mtod(m, void *); 1044 const struct cpl_abort_rpl_rss *rpl = mtod(m, void *);
|
/freebsd-11-stable/sys/net/altq/ |
H A D | altq_subr.c | 1068 ip = mtod(m, struct ip *); 1099 ip6 = mtod(m, struct ip6_hdr *); 1209 udp = (struct udphdr *)(mtod(m0, caddr_t) + off); 1221 gpi = (u_int32_t *)(mtod(m0, caddr_t) + off); 1231 opt6 = (struct _opt6 *)(mtod(m0, caddr_t) + off); 1297 udp = (struct udphdr *)(mtod(m0, caddr_t) + off); 1308 gpi = (u_int32_t *)(mtod(m0, caddr_t) + off); 1318 opt6 = (struct _opt6 *)(mtod(m0, caddr_t) + off); 1333 opt6 = (struct _opt6 *)(mtod(m0, caddr_t) + off);
|
/freebsd-11-stable/sys/dev/firewire/ |
H A D | if_fwip.c | 337 xfer->recv.payload = mtod(m, uint32_t *); 612 p = mtod(m, uint32_t *); 726 fp = mtod(sxfer->mbuf, struct fw_pkt *); 769 p = mtod(m, uint32_t *); 827 xfer->recv.payload = mtod(m, uint32_t *);
|
/freebsd-11-stable/sys/dev/sn/ |
H A D | if_sn.c | 520 CSR_WRITE_MULTI_2(sc, DATA_REG_W, mtod(m, uint16_t *), 528 *(mtod(m, caddr_t) + m->m_len - 1)); 719 CSR_WRITE_MULTI_2(sc, DATA_REG_W, mtod(m, uint16_t *), 726 *(mtod(m, caddr_t) + m->m_len - 1)); 1080 eh = mtod(m, struct ether_header *);
|