Searched refs:IP_MAXPACKET (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dip.h115 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
H A Draw_ip.c384 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) {
400 if (m->m_pkthdr.len > IP_MAXPACKET) {
H A Dudp_usrreq.c1346 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) {
H A Dip_input.c1653 if (next + (IP_VHL_HL(ip->ip_vhl) << 2) > IP_MAXPACKET) {
H A Dip_output.c2207 if (optlen + (u_short)ip->ip_len > IP_MAXPACKET)
/darwin-on-arm/xnu/bsd/netinet6/
H A Desp_output.c480 if (esphlen < (IP_MAXPACKET - ntohs(ip->ip_len)))
670 if (extendsiz < (IP_MAXPACKET - ntohs(ip->ip_len)))
784 if (siz < (IP_MAXPACKET - ntohs(ip->ip_len)))
H A Dipcomp_output.c304 if (compoff + complen + plen < IP_MAXPACKET)
H A Dah_output.c322 if (ahlen < (IP_MAXPACKET - ntohs(ip->ip_len)))
H A Dipsec.c2305 if (plen + sizeof(struct ip) < IP_MAXPACKET)
2398 if (plen < IP_MAXPACKET)
2571 if (plen + sizeof(struct ip) < IP_MAXPACKET)
/darwin-on-arm/xnu/bsd/net/
H A Dpf_norm.c639 if ((frent->fr_ip->ip_hl << 2) + off > IP_MAXPACKET) {
1146 if (frent->fr_ip6f_hlen + off > IP_MAXPACKET) {
1620 if (fragoff + ip_len > IP_MAXPACKET) {

Completed in 45 milliseconds