Searched refs:IP_MAXPACKET (Results 1 – 16 of 16) sorted by relevance
124 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
500 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) { in rip_output()525 if (m->m_pkthdr.len > IP_MAXPACKET) { in rip_output()
2242 ASSERT(len + optlen + ipoptlen <= IP_MAXPACKET); in tcp_output()2814 ASSERT(m->m_pkthdr.len <= IP_MAXPACKET); in tcp_output()
2152 if (optlen + (u_short)ip->ip_len > IP_MAXPACKET) { in ip_insertoptions()
1586 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
2509 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()
2363 if (plen + sizeof(struct ip) < IP_MAXPACKET) { in ipsec4_encapsulate()2531 if (plen + sizeof(struct ip) < IP_MAXPACKET) { in ipsec64_encapsulate()
262 #define NX_MAX_AGGR_PKT_SIZE IP_MAXPACKET /* max aggregated pkt size */
593 if (q->ipfq_unfraglen + fragoff + fragpartlen > IP_MAXPACKET) { in ipf_process()612 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()
1141 if (mtuLen > IP_MAXPACKET) { in ifnet_set_tso_mtu()
2029 tso_v4_mtu = IP_MAXPACKET; in bridge_set_tso()2030 tso_v6_mtu = IP_MAXPACKET; in bridge_set_tso()
1236 if_max_mtu = IP_MAXPACKET; in _dlil_get_flowswitch_buffer_size()1294 _CASSERT((NX_FSW_BUFSIZE * NX_PBUF_FRAGS_MAX) >= IP_MAXPACKET); in _dlil_get_flowswitch_buffer_size()
41 #define MAX_AGG_IP_LEN() MIN(sk_fsw_rx_agg_tcp, IP_MAXPACKET)