Searched refs:IP_MAXPACKET (Results 1 – 19 of 19) sorted by relevance
124 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
527 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) { in rip_output()552 if (m->m_pkthdr.len > IP_MAXPACKET) { in rip_output()
2380 ASSERT(len + optlen + ipoptlen <= IP_MAXPACKET); in tcp_output()2986 ASSERT(m->m_pkthdr.len <= IP_MAXPACKET); in tcp_output()
1635 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
2205 if (optlen + (u_short)ip->ip_len > IP_MAXPACKET) { in ip_insertoptions()
2541 if (next + (IP_VHL_HL(ip->ip_vhl) << 2) > IP_MAXPACKET) { in ip_reass()
552 if (esphlen < (IP_MAXPACKET - ntohs(ip->ip_len))) { in esp_output()742 if (extendsiz < (IP_MAXPACKET - ntohs(ip->ip_len))) { in esp_output()874 if (siz < (IP_MAXPACKET - ntohs(ip->ip_len))) { in esp_output()1151 if (__probable(ntohs(ip->ip_len) + add_ip_len <= IP_MAXPACKET)) { in esp_kpipe_output()1168 if (__probable(ntohs(ip6->ip6_plen) + add_ip_len <= IP_MAXPACKET)) { in esp_kpipe_output()
323 if (ahlen < (IP_MAXPACKET - ntohs(ip->ip_len))) { in ah4_output()
2353 if (plen + sizeof(struct ip) < IP_MAXPACKET) { in ipsec4_encapsulate()2519 if (plen + sizeof(struct ip) < IP_MAXPACKET) { in ipsec64_encapsulate()
234 u_int pkt_size = ETHER_HDR_LEN + IP_MAXPACKET; in do_bpf_write()
242 u_int pkt_size = ETHER_HDR_LEN + IP_MAXPACKET; in make_bootp_packet()
265 #define NX_MAX_AGGR_PKT_SIZE IP_MAXPACKET /* max aggregated pkt size */
609 if (local_ipfq_unfraglen + fragoff + fragpartlen > IP_MAXPACKET) { in ipf_process()628 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()2006 if (fragoff + ip_len > IP_MAXPACKET) { in pf_normalize_ip()
3618 feth_set_tso_mtu(ifp, IP_MAXPACKET, IP_MAXPACKET); in feth_clone_create()
2111 tso_v4_mtu = IP_MAXPACKET; in bridge_set_tso()2112 tso_v6_mtu = IP_MAXPACKET; in bridge_set_tso()5120 tso_mtu = IP_MAXPACKET;
1159 if (mtuLen > IP_MAXPACKET) { in ifnet_set_tso_mtu()
959 if_max_mtu = IP_MAXPACKET; in _dlil_get_flowswitch_buffer_size()1017 _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)