Home
last modified time | relevance | path

Searched refs:IP_MAXPACKET (Results 1 – 16 of 16) sorted by relevance

/xnu-8796.121.2/bsd/netinet/
H A Dip.h124 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
H A Draw_ip.c500 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) { in rip_output()
525 if (m->m_pkthdr.len > IP_MAXPACKET) { in rip_output()
H A Dtcp_output.c2242 ASSERT(len + optlen + ipoptlen <= IP_MAXPACKET); in tcp_output()
2814 ASSERT(m->m_pkthdr.len <= IP_MAXPACKET); in tcp_output()
H A Dip_output.c2152 if (optlen + (u_short)ip->ip_len > IP_MAXPACKET) { in ip_insertoptions()
H A Dudp_usrreq.c1586 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
H A Dip_input.c2509 if (next + (IP_VHL_HL(ip->ip_vhl) << 2) > IP_MAXPACKET) { in ip_reass()
/xnu-8796.121.2/bsd/netinet6/
H A Desp_output.c548 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()
H A Dah_output.c323 if (ahlen < (IP_MAXPACKET - ntohs(ip->ip_len))) { in ah4_output()
H A Dipsec.c2363 if (plen + sizeof(struct ip) < IP_MAXPACKET) { in ipsec4_encapsulate()
2531 if (plen + sizeof(struct ip) < IP_MAXPACKET) { in ipsec64_encapsulate()
/xnu-8796.121.2/bsd/skywalk/core/
H A Dskywalk_var.h262 #define NX_MAX_AGGR_PKT_SIZE IP_MAXPACKET /* max aggregated pkt size */
/xnu-8796.121.2/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ip_frag.c593 if (q->ipfq_unfraglen + fragoff + fragpartlen > IP_MAXPACKET) { in ipf_process()
612 IP_MAXPACKET) { in ipf_process()
/xnu-8796.121.2/bsd/net/
H A Dpf_norm.c725 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()
H A Dkpi_interface.c1141 if (mtuLen > IP_MAXPACKET) { in ifnet_set_tso_mtu()
H A Dif_bridge.c2029 tso_v4_mtu = IP_MAXPACKET; in bridge_set_tso()
2030 tso_v6_mtu = IP_MAXPACKET; in bridge_set_tso()
H A Ddlil.c1236 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()
/xnu-8796.121.2/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c41 #define MAX_AGG_IP_LEN() MIN(sk_fsw_rx_agg_tcp, IP_MAXPACKET)