Home
last modified time | relevance | path

Searched refs:MHLEN (Results 1 – 25 of 41) sorted by relevance

12

/f-stack/freebsd/netipsec/
H A Dipsec_mbuf.c62 IPSEC_ASSERT(hlen < MHLEN, ("hlen too big: %u", hlen)); in m_makespace()
101 if (todo > MHLEN) { in m_makespace()
107 len = MHLEN; in m_makespace()
H A Dipsec_output.c869 IPSEC_ASSERT(len < MHLEN, ("wrong length")); in ipsec_prepend()
/f-stack/freebsd/kern/
H A Duipc_mbuf.c709 nsize = MHLEN; in m_dup()
889 if (len > MHLEN) in m_pullup()
933 if (len > (MHLEN - dstoff)) in m_copyup()
1017 if (remain > MHLEN) { in m_split()
1066 if (off < 0 || off > MHLEN) in m_devget()
1076 len = MHLEN; in m_devget()
1079 if (m && totlen + off + max_linkhdr <= MHLEN) { in m_devget()
1378 if (m0->m_pkthdr.len > MHLEN) in m_defrag()
1769 if (align >= MHLEN) in m_uiotombuf()
2066 wasted += MHLEN - sizeof(m->m_ext) + in m_profile()
[all …]
H A Duipc_domain.c184 max_datalen = MHLEN - max_hdr; in domain_init()
/f-stack/freebsd/netgraph/atm/
H A Dngatmbase.c147 KASSERT(hdrlen <= MHLEN, ("uni_msg_pack_mbuf: hdrlen > MHLEN")); in uni_msg_pack_mbuf()
155 if ((n = uni_msg_len(msg)) > MHLEN) { in uni_msg_pack_mbuf()
/f-stack/freebsd/netinet/
H A Dtcp_output.c998 if (max_linkhdr + hdrlen > MHLEN) in tcp_output()
1046 if (MHLEN < hdrlen + max_linkhdr) in tcp_output()
1067 if (len <= MHLEN - hdrlen - max_linkhdr && !hw_tls) { in tcp_output()
1127 if (isipv6 && (MHLEN < hdrlen + max_linkhdr) && in tcp_output()
1128 MHLEN >= hdrlen) { in tcp_output()
H A Dtcp_timewait.c613 KASSERT(max_linkhdr + m->m_len <= MHLEN, ("tcptw: mbuf too small")); in tcp_twrespond()
H A Dip_icmp.c321 if (MHLEN > sizeof(struct ip) + ICMP_MINLEN + icmplen) in icmp_error()
/f-stack/tools/compat/include/sys/
H A Dmbuf.h97 #define MHLEN ((int)(MSIZE - MPKTHSIZE)) macro
98 #define MINCLSIZE (MHLEN + 1)
891 ((m)->m_flags & M_PKTHDR) ? MHLEN : \
/f-stack/freebsd/netgraph/
H A Dng_checksum.c296 (pullup_len > MHLEN)) { \
555 (pullup_len > MHLEN)) { \ in ng_checksum_rcvdata()
H A Dng_tty.c496 if (sc->hotchar == -1 || c == sc->hotchar || m->m_len >= MHLEN) { in ngt_rint()
H A Dng_bpf.c446 if (m->m_next != NULL && totlen > MHLEN) { in ng_bpf_rcvdata()
H A Dng_vjc.c486 if (hlen > MHLEN) { /* unlikely, but can happen */ in ng_vjc_rcvdata()
H A Dng_patch.c567 (pullup_len > MHLEN)) { \ in ng_patch_rcvdata()
H A Dng_lmi.c570 if ((packetlen > MHLEN) && !(m->m_flags & M_EXT)) { in nglmi_rcvdata()
/f-stack/freebsd/netpfil/pf/
H A Dif_pflog.c81 #define PFLOGMTU (32768 + MHLEN + MLEN)
/f-stack/freebsd/netinet6/
H A Dicmp6.c549 CTASSERT(sizeof(*nip6) + sizeof(*nicmp6) <= MHLEN); in icmp6_input()
679 CTASSERT(sizeof(*nip6) + sizeof(*nicmp6) + 4 <= MHLEN); in icmp6_input()
1409 if (replylen > MHLEN) in ni6_input()
1952 m->m_len <= MHLEN) { in icmp6_rip6_input()
1999 m->m_len <= MHLEN) { in icmp6_rip6_input()
2063 if (sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr) > MHLEN) in icmp6_reflect()
H A Dnd6_nbr.c426 if (max_linkhdr + maxlen > MHLEN) in nd6_ns_output_fib()
962 if (max_linkhdr + maxlen > MHLEN) in nd6_na_output_fib()
/f-stack/freebsd/netgraph/atm/sscop/
H A Dng_sscop_cust.h330 if (n > MHLEN) { \
/f-stack/freebsd/sys/
H A Dmbuf.h101 #define MHLEN ((int)(MSIZE - MPKTHSIZE)) macro
102 #define MINCLSIZE (MHLEN + 1)
1123 ((m)->m_flags & M_PKTHDR) ? MHLEN : \
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c543 avail = MHLEN;
1251 #ifdef MHLEN
1252 if (len > MHLEN)
/f-stack/freebsd/arm/allwinner/
H A Dif_emac.c418 if (m->m_len <= (MHLEN - ETHER_HDR_LEN)) { in emac_rxeof()
422 m->m_len > (MHLEN - ETHER_HDR_LEN)) { in emac_rxeof()
/f-stack/freebsd/netgraph/netflow/
H A Dng_netflow.c681 ((pullup_len) > MHLEN)) { \ in ng_netflow_rcvdata()
/f-stack/freebsd/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c535 m->m_len = min(MHLEN, sc->got); in ng_h4_input()
/f-stack/freebsd/netgraph/atm/ccatm/
H A Dng_ccatm.c961 KASSERT(hlen <= MHLEN, ("hlen > MHLEN")); in pack_buf()

12