Home
last modified time | relevance | path

Searched refs:m_adj (Results 1 – 25 of 192) sorted by relevance

12345678

/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_evnt.c104 m_adj(event, sizeof(*hdr)); in ng_hci_process_event()
392 m_adj(event, sizeof(*ep)); in le_advertizing_report()
397 m_adj(event, sizeof(u_int8_t)); in le_advertizing_report()
406 m_adj(event, sizeof(u_int8_t)); in le_advertizing_report()
409 m_adj(event, sizeof(bdaddr)); in le_advertizing_report()
440 m_adj(event, sizeof(u_int8_t)); in le_advertizing_report()
451 m_adj(event, n->extinq_size); in le_advertizing_report()
460 m_adj(event, sizeof(u_int8_t)); in le_advertizing_report()
589 m_adj(event, sizeof(*lep)); in le_event()
626 m_adj(event, sizeof(*ep)); in inquiry_result()
[all …]
H A Dng_hci_cmds.c197 m_adj(e, sizeof(*ep)); in ng_hci_process_command_complete()
382 m_adj(*cp, sizeof(ng_hci_cmd_pkt_t)); in complete_command()
685 m_adj(mrp, sizeof(u_int8_t)); in process_info_params()
727 m_adj(mrp, sizeof(u_int8_t)); in process_info_params()
/freebsd/sys/netgraph/
H A Dng_rfc1490.c341 m_adj(m, ptr - start); in ng_rfc1490_rcvdata()
359 m_adj(m, ptr - start); in ng_rfc1490_rcvdata()
365 m_adj(m, ptr - start); in ng_rfc1490_rcvdata()
369 m_adj(m, ptr - start); in ng_rfc1490_rcvdata()
381 m_adj(m, ptr - start); in ng_rfc1490_rcvdata()
H A Dng_pred1.c451 m_adj(m, outlen - m->m_pkthdr.len); in ng_pred1_compress()
539 m_adj(m, len - m->m_pkthdr.len); in ng_pred1_decompress()
553 m_adj(m, 2); /* Strip length. */ in ng_pred1_decompress()
554 m_adj(m, -2); /* Strip fcs. */ in ng_pred1_decompress()
H A Dng_l2tp.c793 m_adj(m, 2); in ng_l2tp_rcvdata_lower()
822 m_adj(m, 2); in ng_l2tp_rcvdata_lower()
830 m_adj(m, -(m->m_pkthdr.len - len)); in ng_l2tp_rcvdata_lower()
841 m_adj(m, 4); in ng_l2tp_rcvdata_lower()
873 m_adj(m, 4); in ng_l2tp_rcvdata_lower()
896 m_adj(m, 2+offset); in ng_l2tp_rcvdata_lower()
H A Dng_mppc.c559 m_adj(m, outlen - m->m_pkthdr.len); in ng_mppc_compress()
645 m_adj(m, MPPC_HDRLEN); in ng_mppc_decompress()
827 m_adj(m, outlen - m->m_pkthdr.len); in ng_mppc_decompress()
H A Dng_UI.c185 m_adj(m, ptr - start); in ng_UI_rcvdata()
H A Dng_deflate.c507 m_adj(m, outlen - m->m_pkthdr.len); in ng_deflate_compress()
641 m_adj(m, outlen - m->m_pkthdr.len); in ng_deflate_decompress()
/freebsd/sys/netipsec/
H A Dipsec_mbuf.c254 m_adj(m1, hlen); in m_striphdr()
271 m_adj(m1->m_next, adjlen); in m_striphdr()
283 m_adj(m1, -adjlen); in m_striphdr()
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_evnt.c131 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive()
135 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive()
188 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_process_signal_cmd()
303 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_process_lesignal_cmd()
663 m_adj(m, sizeof(*cp)); in ng_l2cap_process_cfg_req()
720 m_adj(m, off - sizeof(hdr)); in ng_l2cap_process_cfg_req()
797 m_adj(m, sizeof(*cp)); in ng_l2cap_process_cfg_rsp()
1232 m_adj(con->rx_pkt, sizeof(*cp)); in ng_l2cap_process_info_rsp()
/freebsd/sys/net/
H A Dif_fwsubr.c189 m_adj(m, -ah->ar_hln); in firewire_output()
456 m_adj(m, 2*sizeof(uint32_t)); in firewire_input_fragment()
556 m_adj(m, 2*sizeof(uint32_t)); in firewire_input()
559 m_adj(m, sizeof(uint32_t)); in firewire_input()
H A Ddebugnet_inet.c171 m_adj(m, ip->ip_len - m->m_pkthdr.len); in debugnet_handle_ip()
216 m_adj(m, sizeof(struct ipovly)); in debugnet_handle_ip()
H A Ddebugnet.c429 m_adj(m, sizeof(*dnh)); in debugnet_handle_rx_msg()
523 m_adj(m, sizeof(*udp)); in debugnet_handle_udp()
594 m_adj(m, ETHER_HDR_LEN); in debugnet_input_one()
/freebsd/usr.sbin/ppp/
H A Dmbuf.h111 extern struct mbuf *m_adj(struct mbuf *, ssize_t);
/freebsd/sys/netinet/
H A Dtcp_reass.c354 m_adj(first->tqe_m, i); in tcp_reass_prepend()
476 m_adj(q->tqe_m, i); in tcp_reass_merge_forward()
650 m_adj(m, i); in tcp_reass()
747 m_adj(m, i); in tcp_reass()
857 m_adj(m, i); in tcp_reass()
/freebsd/sys/kern/
H A Duipc_mbuf2.c211 m_adj(n->m_next, tlen); in m_pulldown()
244 m_adj(n->m_next, tlen); in m_pulldown()
/freebsd/sys/net80211/
H A Dieee80211_input.c239 m_adj(m, hdrspace); /* strip header */ in ieee80211_defrag()
340 m_adj(m, hdrlen + sizeof(struct llc) - sizeof(*eh)); in ieee80211_decap()
343 m_adj(m, hdrlen - sizeof(*eh)); in ieee80211_decap()
418 m_adj(m, sizeof(struct llc)); in ieee80211_decap1()
H A Dieee80211_crypto_wep.c271 m_adj(m, wep.ic_header); in wep_decap()
275 m_adj(m, -wep.ic_trailer); in wep_decap()
H A Dieee80211_superg.c300 m_adj(m, FF_LLC_SIZE); in ieee80211_ff_decap()
311 m_adj(m, roundup(sizeof(uint32_t) - 2, 4) + 2); in ieee80211_ff_decap()
342 m_adj(n, roundup2(framelen, 4) - framelen); /* padding */ in ieee80211_ff_decap()
H A Dieee80211_crypto_tkip.c366 m_adj(m, tkip.ic_header); in tkip_decap()
373 m_adj(m, -tkip.ic_trailer); in tkip_decap()
435 m_adj(m, -tkip.ic_miclen); in tkip_demic()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c108 m_adj(mb, -(mb->m_pkthdr.len - length)); in ipoib_dma_mb()
261 m_adj(mb, sizeof(struct ib_grh) - INFINIBAND_ALEN); in ipoib_ib_handle_rx_wc()
492 m_adj(mb, sizeof (struct ipoib_pseudoheader)); in ipoib_send()
502 m_adj(mb, hlen); in ipoib_send()
/freebsd/sys/dev/usb/net/
H A Dif_ipheth.c495 m_adj(m, IPHETH_RX_ADJ); in ipheth_bulk_read_callback()
511 m_adj(m, ETHER_ALIGN); in ipheth_bulk_read_callback()
/freebsd/sys/dev/cxgbe/
H A Dt4_tracer.c417 m_adj(m, sizeof(struct cpl_trace_pkt)); in t4_trace_pkt()
439 m_adj(m, sizeof(struct cpl_t5_trace_pkt)); in t5_trace_pkt()
/freebsd/sys/powerpc/pseries/
H A Dphyp_llan.c388 m_adj(m, sc->rx_buf[sc->rx_dma_slot].offset - 8); in llan_intr()
398 m_adj(m, sc->rx_buf[sc->rx_dma_slot].offset); in llan_intr()
/freebsd/sys/netinet6/
H A Dip6_fastfwd.c139 m_adj(m, sizeof(struct ip6_hdr) + plen - in ip6_tryforward()

12345678