Searched refs:mtod (Results 276 - 300 of 440) sorted by relevance

<<1112131415161718

/freebsd-11-stable/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c183 a = roundup2(mtod(m, uintptr_t), _Alignof(struct icl_cxgbei_pdu));
283 bzero(mtod(last, uint8_t *) + last->m_len, padding);
/freebsd-11-stable/sys/dev/virtio/network/
H A Dif_vtnet.c1426 mdata = mtod(m, uint8_t *);
1614 eh = mtod(m, struct ether_header *);
1618 evh = mtod(m, struct ether_vlan_header *);
1718 eh = mtod(m, struct ether_header *);
1795 mhdr = mtod(m, struct virtio_net_hdr_mrg_rxbuf *);
1827 memcpy(hdr, mtod(m, void *), sizeof(struct virtio_net_hdr));
2007 evh = mtod(m, struct ether_vlan_header *);
3625 evh = mtod(m, struct ether_vlan_header *);
/freebsd-11-stable/sys/net80211/
H A Dieee80211_freebsd.c488 m_copydata(m, 0, pktlen, mtod(n, caddr_t));
492 mtod(m, const struct ieee80211_frame *), NULL,
/freebsd-11-stable/sys/net/
H A Dif_tap.c942 error = uiomove(mtod(m, void *), len, uio);
998 eh = mtod(m, struct ether_header *);
H A Dif_tun.c921 error = uiomove(mtod(m, void *), len, uio);
978 family = ntohl(*mtod(m, u_int32_t *));
/freebsd-11-stable/sys/netpfil/ipfw/nptv6/
H A Dnptv6.c373 ip6 = mtod(args->m, struct ip6_hdr *);
409 ip6 = mtod(args->m, struct ip6_hdr *);
/freebsd-11-stable/sys/netinet/
H A Dsiftr.c847 ip = mtod(*m, struct ip *);
1019 ip6 = mtod(*m, struct ip6_hdr *);
H A Dsctp_input.c478 cause = mtod(op_err, struct sctp_error_missing_param *);
2626 cause = mtod(op_err, struct sctp_error_stale_cookie *);
3223 ecne = mtod(chk->data, struct sctp_ecne_chunk *);
3351 ddp = (uint8_t *)(mtod(tp1->data, caddr_t)+
3639 ch = mtod(chk->data, struct sctp_chunkhdr *);
4258 ch = mtod(chk->data, struct sctp_chunkhdr *);
5466 cause = mtod(op_err, struct sctp_gen_error_cause *);
5944 ip = mtod(m, struct ip *);
6030 ip = mtod(m, struct ip *);
/freebsd-11-stable/sys/dev/qlxgbe/
H A Dql_isr.c139 eh = mtod(mpf, struct ether_vlan_header *);
305 eh = mtod(mpf, struct ether_vlan_header *);
/freebsd-11-stable/sys/netipsec/
H A Dxform_esp.c763 bcopy((caddr_t) &sav->spi, mtod(mo, caddr_t) + roff,
776 bcopy((caddr_t) &replay, mtod(mo, caddr_t) + roff +
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_run.c2768 rxwi = mtod(m, struct rt2860_rxwi *);
2777 rxd = (struct rt2870_rxd *)(mtod(m, caddr_t) + dmalen);
2793 wh = mtod(m, struct ieee80211_frame *);
2803 mtod(m, struct ieee80211_frame_min *));
2927 mtod(sc->rx_m, caddr_t), RUN_MAX_RXSZ);
2960 dmalen = le32toh(*mtod(m, uint32_t *)) & 0xffff;
2998 mbuf_len, mtod(m0, caddr_t));
3092 wh = mtod(m, struct ieee80211_frame *);
3218 wh = mtod(m, struct ieee80211_frame *);
3280 wh = mtod(
[all...]
H A Dif_rsu.c1521 wh = mtod(m, struct ieee80211_frame *);
1799 memcpy(mtod(m, uint8_t *), wh, pktlen);
1965 wh = mtod(m, struct ieee80211_frame *);
2131 wh = mtod(m0, struct ieee80211_frame *);
2145 wh = mtod(m0, struct ieee80211_frame *);
H A Dif_uath.c947 dp->buf = mtod(dp->m, uint8_t *);
1541 wh = mtod(m0, struct ieee80211_frame *);
1550 wh = mtod(m0, struct ieee80211_frame *);
2540 data->buf = mtod(mnew, uint8_t *);
2669 wh = mtod(m, struct ieee80211_frame *);
/freebsd-11-stable/sys/dev/wi/
H A Dif_wi.c954 wh = mtod(m0, struct ieee80211_frame *);
976 mtod(m0, const uint8_t *) + ieee80211_hdrsize(wh));
1063 wh = mtod(m0, struct ieee80211_frame *);
1344 wh = mtod(m, struct ieee80211_frame *);
1351 ni = ieee80211_find_rxnode(ic, mtod(m, struct ieee80211_frame_min *));
/freebsd-11-stable/sys/dev/iwi/
H A Dif_iwi.c781 mtod(data->m, void *), MCLBYTES, iwi_dma_map_addr,
1222 mtod(mnew, void *), MCLBYTES, iwi_dma_map_addr, &data->physaddr,
1229 mtod(data->m, void *), MCLBYTES, iwi_dma_map_addr,
1267 ni = ieee80211_find_rxnode(ic, mtod(m, struct ieee80211_frame_min *));
1577 hdr = mtod(data->m, struct iwi_hdr *);
1784 wh = mtod(m0, const struct ieee80211_frame *);
1847 wh = mtod(m0, struct ieee80211_frame *);
/freebsd-11-stable/sys/dev/hme/
H A Dif_hme.c571 b = mtod(m, uintptr_t);
971 ip = (struct ip *)(mtod(m, caddr_t) + i);
1227 eh = mtod(m, struct ether_header *);
/freebsd-11-stable/sys/dev/fe/
H A Dif_fe.c1903 eh = mtod(m, struct ether_header *);
2018 fe_outsb(sc, FE_BMPR8, mtod(mp, caddr_t),
2034 data = mtod(mp, caddr_t);
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64lsn.c244 ip = mtod(*m, struct ip *); /* Outer IP header */
251 ip = mtod(*m, struct ip *); /* Outer IP header */
386 ip = mtod(*pm, struct ip *);
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_listen.c701 struct ip *ip = mtod(m, struct ip *);
1100 const struct cpl_pass_accept_req *cpl = mtod(m, const void *);
1239 const struct cpl_pass_accept_req *cpl = mtod(m, const void *);
/freebsd-11-stable/sys/netinet6/
H A Dnd6.c2220 ip6 = mtod(m, struct ip6_hdr *);
2232 IP_PROBE(send, NULL, NULL, mtod(m, struct ip6_hdr *), ifp, NULL,
2233 mtod(m, struct ip6_hdr *));
/freebsd-11-stable/sys/crypto/aesni/
H A Daesni.c436 addr = mtod(m, uint8_t *);
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_tx_edma.c570 wh = mtod(bf_last->bf_m, struct ieee80211_frame *);
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c590 size = m->m_len - b_to_q(mtod(m, u_char *),
/freebsd-11-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c1434 idtype = *mtod(m, uint16_t *);
1451 hdr = mtod(m, ng_l2cap_hdr_t *);
1590 clt_hdr = mtod(m, ng_l2cap_clt_hdr_t *);
2682 hdr = mtod(m, ng_l2cap_l2ca_hdr_t *);
/freebsd-11-stable/sys/netgraph/
H A Dng_ether.c700 mtod(m, struct ether_header *)->ether_shost,

Completed in 359 milliseconds

<<1112131415161718