Searched refs:IP_MAXPACKET (Results 1 – 15 of 15) sorted by relevance
124 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
487 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) { in rip_output()512 if (m->m_pkthdr.len > IP_MAXPACKET) { in rip_output()
2009 ASSERT(len + optlen + ipoptlen <= IP_MAXPACKET); in tcp_output()2570 ASSERT(m->m_pkthdr.len <= IP_MAXPACKET); in tcp_output()
1572 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
2148 if (optlen + (u_short)ip->ip_len > IP_MAXPACKET) { in ip_insertoptions()
2501 if (next + (IP_VHL_HL(ip->ip_vhl) << 2) > IP_MAXPACKET) { in ip_reass()
548 if (esphlen < (IP_MAXPACKET - ntohs(ip->ip_len))) { in esp_output()738 if (extendsiz < (IP_MAXPACKET - ntohs(ip->ip_len))) { in esp_output()870 if (siz < (IP_MAXPACKET - ntohs(ip->ip_len))) { in esp_output()
323 if (ahlen < (IP_MAXPACKET - ntohs(ip->ip_len))) { in ah4_output()
2378 if (plen + sizeof(struct ip) < IP_MAXPACKET) { in ipsec4_encapsulate()2541 if (plen + sizeof(struct ip) < IP_MAXPACKET) { in ipsec64_encapsulate()
261 #define NX_MAX_AGGR_PKT_SIZE IP_MAXPACKET /* max aggregated pkt size */
592 if (q->ipfq_unfraglen + fragoff + fragpartlen > IP_MAXPACKET) { in ipf_process()611 IP_MAXPACKET) { in ipf_process()
725 if ((frent->fr_ip->ip_hl << 2) + off > IP_MAXPACKET) { in pf_reassemble()1359 if (frent->fr_ip6f_hlen + off > IP_MAXPACKET) { in pf_reassemble6()2007 if (fragoff + ip_len > IP_MAXPACKET) { in pf_normalize_ip()
1884 tso_v4_mtu = IP_MAXPACKET; in bridge_set_tso()1885 tso_v6_mtu = IP_MAXPACKET; in bridge_set_tso()
1228 if_max_mtu = IP_MAXPACKET; in _dlil_get_flowswitch_buffer_size()1286 _CASSERT((NX_FSW_BUFSIZE * NX_PBUF_FRAGS_MAX) >= IP_MAXPACKET); in _dlil_get_flowswitch_buffer_size()
1144 const uint32_t max_ip_len = MIN(sk_fsw_rx_agg_tcp, IP_MAXPACKET); in flow_agg_is_ok()1790 uint32_t max_ip_len = MIN(sk_fsw_rx_agg_tcp, IP_MAXPACKET); in flow_rx_agg_host()