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

12

/netbsd-current/tests/net/icmp/
H A Dt_ping.c143 char buf[IP_MAXPACKET - sizeof(struct ip)];
146 char recvbuf[IP_MAXPACKET];
305 for (i = 0 ; i < IP_MAXPACKET - 60000; i++) {
311 for (i = IP_MAXPACKET - 60000; i < IP_MAXPACKET - 100; i += 1000) {
317 for (i = IP_MAXPACKET - 100; i < IP_MAXPACKET; i += 10) {
/netbsd-current/external/mpl/dhcp/dist/includes/netinet/
H A Dip.h70 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
/netbsd-current/external/bsd/tcpdump/dist/
H A Dip.h65 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
/netbsd-current/regress/sys/net/frag/
H A Dip4_frag_1.c257 * Case 5: construct packet larger than IP_MAXPACKET.
266 cnt = IP_MAXPACKET / 1480;
267 left = IP_MAXPACKET - (1480 * cnt);
275 /* Add 8 bytes and thus cross IP_MAXPACKET limit. */
/netbsd-current/sys/netinet/
H A Dip.h75 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
H A Dtcp_output.c892 * Truncate TSO transfers to IP_MAXPACKET, and make
897 CTASSERT(IPV6_MAXPACKET == IP_MAXPACKET);
899 len = (uimin(len, IP_MAXPACKET) / txsegsize) * txsegsize;
1222 else if (use_tso && len > IP_MAXPACKET)
1388 if (urp > IP_MAXPACKET)
1389 urp = IP_MAXPACKET;
H A Dip_reass.c372 if ((next + (ip->ip_hl << 2)) > IP_MAXPACKET) {
640 if (off + len > IP_MAXPACKET) {
H A Draw_ip.c324 if ((m->m_pkthdr.len + sizeof(struct ip)) > IP_MAXPACKET) {
343 if (m->m_pkthdr.len > IP_MAXPACKET) {
H A Dudp_usrreq.c789 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) {
H A Dip_output.c1005 if (optlen + ntohs(ip->ip_len) > IP_MAXPACKET)
H A Ddccp_usrreq.c1338 if (!isipv6 && (len + hdrlen) > IP_MAXPACKET) {
/netbsd-current/sys/dev/usb/
H A Dif_muereg.h26 /* XXX for IP_MAXPACKET */
134 #define MUE_TSO_FRAME_LEN MUE_FRAME_LEN(IP_MAXPACKET)
H A Dif_axen.c35 #include <netinet/ip.h> /* XXX for IP_MAXPACKET */
632 un->un_tx_bufsz = IP_MAXPACKET + ETHER_HDR_LEN + ETHER_CRC_LEN +
/netbsd-current/sys/dev/pci/
H A Dif_bgevar.h203 #define BGE_TXDMA_MAX (round_page(IP_MAXPACKET)) /* for TSO */
/netbsd-current/usr.sbin/ndbootd/
H A Dndbootd.c314 unsigned char packet_buffer[sizeof(struct ether_header) + IP_MAXPACKET];
325 unsigned char ip_packet_buffer[IP_MAXPACKET];
/netbsd-current/sys/rump/net/lib/libsockin/
H A Dsockin.c256 plen = IP_MAXPACKET;
/netbsd-current/sys/netipsec/
H A Dxform_ipcomp.c386 maxpacketsize = IP_MAXPACKET;
H A Dxform_ah.c912 maxpacketsize = IP_MAXPACKET;
H A Dxform_esp.c729 maxpacketsize = IP_MAXPACKET;
H A Dkey.c4022 if (sav->natt_type == 0 || sav->esp_frag == IP_MAXPACKET)
5661 sav->esp_frag = IP_MAXPACKET;
/netbsd-current/sbin/ping/
H A Dping.c98 #define MAXPACKET (IP_MAXPACKET-60-8) /* max packet size */
202 static int bufspace = IP_MAXPACKET;
/netbsd-current/sys/dist/pf/net/
H A Dpf_norm.c499 if ((frent->fr_ip->ip_hl << 2) + off > IP_MAXPACKET) {
937 if (fragoff + ip_len > IP_MAXPACKET) {
/netbsd-current/crypto/dist/ipsec-tools/src/racoon/
H A Dremoteconf.c505 new->esp_frag = IP_MAXPACKET;
/netbsd-current/sys/dev/ic/
H A Drtl8169.c131 #include <netinet/in_systm.h> /* XXX for IP_MAXPACKET */
132 #include <netinet/in.h> /* XXX for IP_MAXPACKET */
133 #include <netinet/ip.h> /* XXX for IP_MAXPACKET */
832 round_page(IP_MAXPACKET),
/netbsd-current/sys/dev/hyperv/
H A Dif_hvn.c4403 tso_maxsz = IP_MAXPACKET;
4428 KASSERTMSG(tso_maxsz <= IP_MAXPACKET,

Completed in 609 milliseconds

12