Searched refs:IP_MAXPACKET (Results 1 – 22 of 22) sorted by relevance
43 char icmpBuf[IP_MAXPACKET]; in SendNeedFragIcmp()108 PacketAliasIn((char *)ip, IP_MAXPACKET); in SendNeedFragIcmp()
444 char buf[IP_MAXPACKET]; in DoAliasing()517 PacketAliasOut(buf, IP_MAXPACKET); in DoAliasing()522 status = PacketAliasIn(buf, IP_MAXPACKET); in DoAliasing()
88 #define MAXPAYLOAD (IP_MAXPACKET - MAXIPLEN - ICMP_MINLEN)142 u_char outpackhdr[IP_MAXPACKET], *outpack;208 u_char *datap, packet[IP_MAXPACKET] __aligned(4); in main()474 maxpayload = IP_MAXPACKET - icmp_len; in main()659 hold = IP_MAXPACKET + 128; in main()717 iov.iov_len = IP_MAXPACKET; in main()
69 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
89 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
239 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) { in rip_output()256 if (m->m_pkthdr.len > IP_MAXPACKET) { in rip_output()
534 nsegs = min(len, (IP_MAXPACKET - tso_hlen)) / segsz; in tcp_output()
970 if (optlen + (u_short)ntohs(ip->ip_len) > IP_MAXPACKET) { in ip_insertoptions()
912 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_send()
1265 if (next + (IP_VHL_HL(ip->ip_vhl) << 2) > IP_MAXPACKET) { in ip_reass()
218 #define EM_TSO_SIZE (IP_MAXPACKET + \
172 #define EMX_TSO_SIZE (IP_MAXPACKET + \
69 #define JME_TSO_MAXSIZE (IP_MAXPACKET + sizeof(struct ether_vlan_header))
152 #define IX_TSO_SIZE (IP_MAXPACKET + \
184 #define IGB_TSO_SIZE (IP_MAXPACKET + \
516 if (datalen < 0 || datalen > IP_MAXPACKET - headerlen) in main()518 IP_MAXPACKET - headerlen); in main()
463 if (uio->uio_resid > IP_MAXPACKET) in ngdwrite()
487 if ((frent->fr_ip->ip_hl << 2) + off > IP_MAXPACKET) { in pf_reassemble()949 if (fragoff + ip_len > IP_MAXPACKET) { in pf_normalize_ip()
3145 IP_MAXPACKET + in mxge_alloc_slice_rings()
4397 txmaxsz = IP_MAXPACKET + sizeof(struct ether_vlan_header); in bge_dma_alloc()
5188 txmaxsz = IP_MAXPACKET + sizeof(struct ether_vlan_header); in bnx_create_tx_ring()
2185 IP_MAXPACKET + sizeof(struct ether_vlan_header), in bce_create_tx_ring()