Searched refs:mtod (Results 226 - 250 of 440) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/netinet/
H A Dsctp_auth.c1038 sctp_hmac_update(hmac_algo, &ctx, mtod(m_tmp, uint8_t *)+m_offset,
1041 sctp_hmac_update(hmac_algo, &ctx, mtod(m_tmp, uint8_t *)+m_offset,
1613 data = mtod(m_tmp, uint8_t *)+m_offset;
1679 cause = mtod(op_err, struct sctp_error_auth_invalid_hmac *);
1785 auth = mtod(m_notify, struct sctp_authkey_event *);
H A Dsctp_asconf.c89 aph = mtod(m_reply, struct sctp_asconf_paramhdr *);
132 aph = mtod(m_reply, struct sctp_asconf_paramhdr *);
682 ack_cp = mtod(m_ack, struct sctp_asconf_ack_chunk *);
2375 acp = mtod(chk->data, struct sctp_asconf_chunk *);
2624 acp = mtod(m_asconf_chk, struct sctp_asconf_chunk *);
2628 ptr = mtod(m_asconf, caddr_t); /* beginning of cluster */
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c145 ih = mtod(mb, struct ipoib_header *);
759 eh = mtod(mb, struct ipoib_header *);
1516 ah = mtod(m, struct arphdr *);
1568 eh = mtod(m, struct ipoib_header *);
1655 eh = mtod(m, struct ipoib_header *);
/freebsd-11-stable/sys/dev/bwi/
H A Dif_bwi.c1364 wh = mtod(m, struct ieee80211_frame *);
2560 hdr = mtod(rxbuf->rb_mbuf, struct bwi_rxbuf_hdr *);
2618 hdr = mtod(m, struct bwi_rxbuf_hdr *);
2656 wh = mtod(m, struct ieee80211_frame_min *);
2938 wh = mtod(m, struct ieee80211_frame *);
2996 hdr = mtod(m, struct bwi_txbuf_hdr *);
3078 p = mtod(m, const uint8_t *);
3125 wh = mtod(m, struct ieee80211_frame *);
3177 hdr = mtod(m, struct bwi_txbuf_hdr *);
3340 mtod(t
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Drt2860.c746 mtod(data->m, void *), MCLBYTES, rt2860_dma_map_addr,
1233 mtod(m1, void *), MCLBYTES, rt2860_dma_map_addr,
1240 mtod(data->m, void *), MCLBYTES,
1260 rxwi = mtod(m, struct rt2860_rxwi *);
1266 wh = mtod(m, struct ieee80211_frame *);
1279 wh = mtod(m, struct ieee80211_frame *);
1322 wh = mtod(m, struct ieee80211_frame *);
1473 wh = mtod(m, struct ieee80211_frame *);
1483 wh = mtod(m, struct ieee80211_frame *);
1748 wh = mtod(
[all...]
/freebsd-11-stable/sys/dev/oce/
H A Doce_if.c982 eh = mtod(m, struct ether_header *);
998 if (mtod(m, struct ip *)->ip_p == IPPROTO_IPV6) {
999 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
1016 if (mtod(m, struct ip *)->ip_p == IPPROTO_UDP) {
1017 struct ip *ip = mtod(m, struct ip *);
1082 eh = mtod(m, struct ether_header *);
1327 eh = mtod(m, struct ether_vlan_header *);
1534 eh = mtod(m, struct ether_header *);
2815 struct ether_header *eh = mtod(m, struct ether_header *);
2820 struct ip6_hdr *ip6 = mtod(
[all...]
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_ural.c897 usbd_copy_out(pc, 0, mtod(m, uint8_t *), len);
931 mtod(m, struct ieee80211_frame_min *));
1083 wh = mtod(m0, struct ieee80211_frame *);
1090 wh = mtod(m0, struct ieee80211_frame *);
1138 wh = mtod(m, const struct ieee80211_frame *);
1243 wh = mtod(m0, struct ieee80211_frame *);
1260 wh = mtod(m0, struct ieee80211_frame *);
/freebsd-11-stable/sys/dev/fxp/
H A Dif_fxp.c1468 eh = mtod(m, struct ether_header *);
1483 ip = (struct ip *)(mtod(m, char *) + ip_off);
1490 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1501 ip = (struct ip *)(mtod(m, char *) + ip_off);
1502 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1553 ip = mtod(m, struct ip *);
1815 eh = mtod(m, struct ether_header *);
1849 csum = be16dec(mtod(m, char *) + pos);
2659 rfa = mtod(m, struct fxp_rfa *);
2743 rfa = mtod(
[all...]
/freebsd-11-stable/sys/dev/mwl/
H A Dif_mwl.c1841 mwl_hal_setbeacon(hvap, mtod(m, const void *), m->m_len);
2757 wh = mtod(m, struct ieee80211_qosframe *);
2791 ieee80211_dump_pkt(ic, mtod(m, caddr_t),
3082 wh = mtod(m0, struct ieee80211_frame *);
3129 wh = mtod(m0, struct ieee80211_frame *);
3162 mtod(m0, const uint8_t *), m0->m_len, 0, -1);
3169 tr = mtod(m0, struct mwltxrec *);
3193 tr = mtod(m0, struct mwltxrec *);
3290 mtod(m0, const uint8_t *)+sizeof(uint16_t),
3458 mtod(b
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_ht.c798 wh = mtod(m, struct ieee80211_qosframe *);
991 wh = mtod(m0, struct ieee80211_frame_bar *);
2435 bar = mtod(m, struct ieee80211_frame_bar *);
2567 m->m_pkthdr.len = m->m_len = frm - mtod(m, uint8_t *);
2610 m->m_pkthdr.len = m->m_len = frm - mtod(m, uint8_t *);
2649 m->m_pkthdr.len = m->m_len = frm - mtod(m, uint8_t *);
H A Dieee80211_power.c341 ieee80211_dump_pkt(ni->ni_ic, mtod(m, caddr_t),
/freebsd-11-stable/sys/net/
H A Dbpf.c563 error = uiomove(mtod(m, u_char *), len, uio);
567 slen = bpf_filter(d->bd_wfilter, mtod(m, u_char *), len, len);
576 eh = mtod(m, struct ether_header *);
605 p = mtod(m, const struct ieee80211_bpf_params *);
612 bcopy(mtod(m, const void *), sockp->sa_data, hlen);
2224 slen = (*(bf->func))(mtod(m, u_char *), pktlen, pktlen);
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_rx.c720 mtod(m, struct ieee80211_frame *),
885 ieee80211_dump_pkt(ic, mtod(m, caddr_t), len,
897 mtod(m, const struct ieee80211_frame_min *),
/freebsd-11-stable/sys/netgraph/netflow/
H A Dnetflow.c192 dgram = mtod(m, struct netflow_v5_export_dgram *);
1049 struct netflow_v5_export_dgram *dgram = mtod(m,
1084 struct netflow_v5_export_dgram *dgram = mtod(NGI_M(item),
/freebsd-11-stable/sys/mips/adm5120/
H A Dif_admsw.c666 m_copydata(m0, 0, m0->m_pkthdr.len, mtod(m, void *));
671 memset(mtod(m, uint8_t *) + m->m_pkthdr.len, 0,
707 eh = mtod(m0, struct ether_header *);
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpi.c1045 mtod(data->m, void *), MJUMPAGESIZE, wpi_dma_map_addr,
1959 error = bus_dmamap_load(ring->data_dmat, data->map, mtod(m1, void *),
1968 mtod(data->m, void *), MJUMPAGESIZE, wpi_dma_map_addr,
1992 wh = mtod(m, struct ieee80211_frame *);
2176 desc = mtod(data->m, struct wpi_rx_desc *);
2626 wh = mtod(buf->m, struct ieee80211_frame *);
2776 wh = mtod(m, struct ieee80211_frame *);
2820 wh = mtod(m, struct ieee80211_frame *);
2947 wh = mtod(m, struct ieee80211_frame *);
2978 wh = mtod(
[all...]
/freebsd-11-stable/sys/dev/lge/
H A Dif_lge.c732 c->lge_fragptr_lo = vtophys(mtod(m_new, caddr_t));
925 m0 = m_devget(mtod(m, char *), total_len, ETHER_ALIGN,
1150 f->lge_fragptr_lo = vtophys(mtod(m, vm_offset_t));
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c536 struct cpl_iscsi_hdr *cpl = mtod(m, struct cpl_iscsi_hdr *);
548 bcopy(mtod(m, caddr_t) + sizeof(*cpl), icp->ip.ip_bhs, sizeof(struct
570 struct cpl_iscsi_data *cpl = mtod(m, struct cpl_iscsi_data *);
/freebsd-11-stable/sys/dev/qlxgb/
H A Dqla_hw.c726 eh = mtod(mp, struct ether_vlan_header *);
850 eh = mtod(mp, struct ether_vlan_header *);
953 eh = mtod(mp, struct ether_vlan_header *);
1007 mtod(mp, char *), mp->m_len);
H A Dqla_isr.c119 eh = mtod(mp, struct ether_vlan_header *);
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_ulpi.c854 l2ca_hdr = mtod(m, ng_l2cap_l2ca_hdr_t *);
1001 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *);
1079 idp = mtod(con->rx_pkt, uint16_t *);
1109 hdr = mtod(con->rx_pkt, struct _clt_pkt *);
/freebsd-11-stable/sys/netgraph/
H A Dng_bpf.c464 data = mtod(m, u_char *);
/freebsd-11-stable/sys/dev/patm/
H A Dif_patm_intr.c496 cell = (uint32_t *)(mtod(sc->rawh->m, u_char *) +
/freebsd-11-stable/sys/dev/usb/net/
H A Dif_usie.c820 mtod(sc->sc_rxm, caddr_t), MIN(MJUMPAGESIZE, USIE_RXSZ_MAX));
853 rxd = mtod(m, struct usie_desc *);
908 m_copydata(m, sizeof(struct usie_desc) + pad, ipl, mtod(m0, caddr_t));
1404 param = mtod(m, uint8_t *);
H A Duhso.c1628 usbd_copy_out(pc, 0, mtod(m, uint8_t *), actlen);
1704 cp = mtod(m, uint8_t *);
1756 memcpy(mtod(m, uint8_t *), mtod(m0, uint8_t *), iplen);

Completed in 420 milliseconds

1234567891011>>