Searched refs:IP_MAXPACKET (Results 1 – 20 of 20) sorted by relevance
74 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
241 if (ntohs(ip->ip_len) + ntohs(ip->ip_off) > IP_MAXPACKET) { in ip_reass()452 if (next + (ip->ip_hl << 2) > IP_MAXPACKET) { in ip_reass()
471 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) { in rip_output()524 if (m->m_pkthdr.len > IP_MAXPACKET) { in rip_output()
515 if (optlen + ntohs(ip->ip_len) > IP_MAXPACKET) { in ip_insertoptions()
991 KASSERT(len + hdrlen + ipoptlen <= IP_MAXPACKET, in tcp_output()
1164 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
87 #define PKTSIZE (IP_MAXPACKET + 1)
468 if (uio->uio_resid < 0 || uio->uio_resid > IP_MAXPACKET) in ngdwrite()
1084 uio.uio_resid = IP_MAXPACKET; in ng_ksocket_incoming2()
280 pad_payload_len + sa->digest_len > IP_MAXPACKET)) { in esp_outbound()
569 if (frent->fe_off + frent->fe_len > IP_MAXPACKET) { in pf_fillup_fragment()800 if (hdrlen + total > IP_MAXPACKET) { in pf_reassemble()1111 if (fragoff + ip_len > IP_MAXPACKET) { in pf_normalize_ip()
427 maxpacketsize = IP_MAXPACKET; in ipcomp_output()
864 maxpacketsize = IP_MAXPACKET; in ah_output()
727 maxpacketsize = IP_MAXPACKET; in esp_output()
98 #define VXLAN_MAX_MTU (IP_MAXPACKET - \3126 if (p->if_hw_tsomax > IP_MAXPACKET - ifp->if_hdrlen) in vxlan_set_hwcaps()3127 ifp->if_hw_tsomax = IP_MAXPACKET - ifp->if_hdrlen; in vxlan_set_hwcaps()
4791 IP_MAXPACKET)); in iflib_device_register()5073 IP_MAXPACKET)); in iflib_pseudo_register()
952 ifp->if_hw_tsomax = min(IP_MAXPACKET, (32 * MCLBYTES) - in if_attach_internal()
13204 KASSERT(len + hdrlen + ipoptlen <= IP_MAXPACKET, in rack_output()
13177 KASSERT(len + hdrlen + ipoptlen <= IP_MAXPACKET, in bbr_output_wtime()