Home
last modified time | relevance | path

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

12345

/openbsd/src/sys/netmpls/
Dmpls_shim.c48 m_adj(m, sizeof(struct shim_hdr)); in mpls_shim_pop()
Dmpls_input.c362 m_adj(m, sizeof(*shim)); in mpls_do_error()
/openbsd/src/sys/netinet/
Dip_ipcomp.c242 m_adj(m1, hlen); in ipcomp_input()
256 m_adj(m1->m_next, adjlen); in ipcomp_input()
270 m_adj(m1, -adjlen); in ipcomp_input()
Dip_esp.c535 m_adj(m, -(esph->authsize)); in esp_input()
592 m_adj(m1, hlen); in esp_input()
611 m_adj(m1->m_next, adjlen); in esp_input()
623 m_adj(m1, -adjlen); in esp_input()
669 m_adj(m, -(lastthree[1] + 2)); in esp_input()
Dip_ah.c782 m_adj(m1, rplen + ahx->authsize); in ah_input()
804 m_adj(m1->m_next, adjlen); in ah_input()
822 m_adj(m1, -adjlen); in ah_input()
Dudp_usrreq.c240 m_adj(m, len - (m->m_pkthdr.len - iphlen)); in udp_input()
334 m_adj(m, sizeof(struct udphdr)); in udp_input()
697 m_adj(m, hlen); in udp_sbappend()
Dtcp_input.c263 m_adj(m, i); in tcp_reass()
284 m_adj(q->tcpqe_m, i); in tcp_reass()
1062 m_adj(m, iphlen + off); in tcp_input()
1228 m_adj(m, -todrop); in tcp_input()
1382 m_adj(m, -todrop); in tcp_input()
1976 m_adj(m, hdroptlen); in tcp_input()
1985 m_adj(m, hdroptlen); in tcp_input()
/openbsd/src/sys/nfs/
Dkrpc_subr.c454 m_adj(m, len); in krpc_call()
547 m_adj(m, mlen); in xdr_string_decode()
612 m_adj(m, sizeof(*xi)); in xdr_inaddr_decode()
/openbsd/src/sys/kern/
Duipc_mbuf2.c166 m_adj(n->m_next, tlen); in m_pulldown()
209 m_adj(n->m_next, tlen); in m_pulldown()
/openbsd/src/sys/net/
Dif_pppoe.c476 m_adj(m, off + plen - m->m_pkthdr.len); in pppoe_dispatch_disc_pkt()
797 m_adj(m, sizeof(*eh)); in pppoe_vinput()
799 m_adj(m, phlen - sizeof(*eh)); in pppoe_vinput()
802 m_adj(m, phlen); in pppoe_vinput()
811 m_adj(m, plen - m->m_pkthdr.len); in pppoe_vinput()
849 m_adj(m, sizeof(struct ether_header)); in pppoe_data_input()
889 m_adj(m, PPPOE_HEADERLEN); in pppoe_data_input()
Dif_mpip.c478 m_adj(m, sizeof(shim)); in mpip_input()
510 m_adj(m, sizeof(shim)); in mpip_input()
538 m_adj(m, sizeof(shim)); in mpip_input()
Dif_mpw.c529 m_adj(m, sizeof(*shim)); in mpw_input()
549 m_adj(m, sizeof(*shim)); in mpw_input()
575 m_adj(m, MPLS_HDRLEN); in mpw_input()
Dif_mpe.c195 m_adj(m, sa->sa_len); in mpe_start()
477 m_adj(m, sizeof(*shim)); in mpe_input()
Dif_pppx.c383 m_adj(top, sizeof(struct pppx_hdr)); in pppxwrite()
398 m_adj(top, sizeof(uint32_t)); in pppxwrite()
831 m_adj(m, sizeof(proto)); in pppx_if_qstart()
1179 m_adj(m, sizeof(uint32_t)); in pppacwrite()
Dpf_norm.c654 m_adj(frent->fe_m, precut); in pf_fillup_fragment()
671 m_adj(after->fe_m, aftercut); in pf_fillup_fragment()
739 m_adj(m, (frent->fe_hdrlen + frent->fe_len) - m->m_pkthdr.len); in pf_join_fragment()
752 m_adj(m2, frent->fe_hdrlen); in pf_join_fragment()
755 m_adj(m2, frent->fe_len - m2->m_pkthdr.len); in pf_join_fragment()
Dif_vlan.c348 m_adj(m, EVL_ENCAPLEN); in vlan_strip()
363 m_adj(m, ETHER_HDR_LEN); in vlan_inject()
368 m_adj(m, ETHER_ALIGN); in vlan_inject()
Dif_etherip.c651 m_adj(m, hlen); in etherip_input()
664 m_adj(m, sizeof(struct etherip_header)); in etherip_input()
Dpipex.c957 m_adj(m0, hlen); in pipex_ppp_input()
980 m_adj(m0, hlen); in pipex_ppp_input()
985 m_adj(m0, hlen); in pipex_ppp_input()
1198 m_adj(m0, hlen);/* cut off the tunnel protocol header */ in pipex_common_input()
1208 m_adj(m0, plen - m0->m_pkthdr.len); in pipex_common_input()
2530 m_adj(m0, sizeof(coher_cnt)); in pipex_mppe_input()
Dif_bridge.c1707 m_adj(m, ETHER_HDR_LEN); in bridge_ip()
1709 m_adj(m, LLC_SNAPFRAMELEN); in bridge_ip()
1865 m_adj(m, ETHER_HDR_LEN); in bridge_fragment()
1867 m_adj(m, LLC_SNAPFRAMELEN); in bridge_fragment()
Dif_ethersubr.c367 m_adj(m, ETHER_ALIGN); in ether_encap()
596 m_adj(m, sizeof(*eh)); in ether_input()
1734 m_adj(m, ETHER_ALIGN); in ether_frm_send()
2085 m_adj(m, sizeof(struct ether_header)); in ether_frm_recv()
/openbsd/src/sys/netinet6/
Dfrag6.c400 m_adj(t->m_next, af6->ip6af_offset); in frag6_input()
512 m_adj(t, sizeof(struct ip6_frag)); in frag6_deletefraghdr()
Dicmp6.c322 m_adj(m, ICMPV6_PLD_MAXLEN - m->m_pkthdr.len); in icmp6_do_error()
595 m_adj(n0, off + sizeof(struct icmp6_hdr)); in icmp6_input()
1091 m_adj(m, l); in icmp6_reflect()
1625 m_adj(m0, (len - sizeof(*nd_opt_rh)) - in icmp6_redirect_output()
1637 m_adj(m0, -extra); in icmp6_redirect_output()
/openbsd/src/sys/net80211/
Dieee80211_crypto_bip.c213 m_adj(m0, -IEEE80211_MMIE_LEN); in ieee80211_bip_decap()
Dieee80211_input.c212 m_adj(m, IEEE80211_CCMP_HDRLEN); in ieee80211_input_hwdecrypt()
243 m_adj(m, IEEE80211_TKIP_HDRLEN); in ieee80211_input_hwdecrypt()
783 m_adj(m, hdrlen); in ieee80211_defrag()
1160 m_adj(m, hdrlen + LLC_SNAPFRAMELEN - ETHER_HDR_LEN); in ieee80211_decap()
1163 m_adj(m, hdrlen - ETHER_HDR_LEN); in ieee80211_decap()
1240 m_adj(m, hdrlen); in ieee80211_amsdu_decap()
1271 m_adj(m, LLC_SNAPFRAMELEN); in ieee80211_amsdu_decap()
1307 m_adj(m, pad); in ieee80211_amsdu_decap()
/openbsd/src/sys/dev/ic/
Dti.c584 m_adj(m_new, ETHER_ALIGN); in ti_newbuf_std()
600 m_adj(m_new, ETHER_ALIGN); in ti_newbuf_std()
645 m_adj(m_new, ETHER_ALIGN); in ti_newbuf_mini()
703 m_adj(m_new, ETHER_ALIGN); in ti_newbuf_jumbo()
719 m_adj(m_new, ETHER_ALIGN); in ti_newbuf_jumbo()

12345