Searched refs:IP_MAXPACKET (Results 1 - 25 of 30) sorted by path

12

/freebsd-11-stable/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c143 char buf[IP_MAXPACKET - sizeof(struct ip)];
146 char recvbuf[IP_MAXPACKET];
299 for (i = 0 ; i < IP_MAXPACKET - 60000; i++)
303 for (i = IP_MAXPACKET - 60000; i < IP_MAXPACKET - 100; i += 1000)
307 for (i = IP_MAXPACKET - 100; i < IP_MAXPACKET; i += 10)
310 printf("got %d/%d\n", succ, IP_MAXPACKET);
/freebsd-11-stable/contrib/tcpdump/
H A Dip.h69 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
/freebsd-11-stable/sbin/natd/
H A Dicmp.c41 char icmpBuf[IP_MAXPACKET];
106 LibAliasIn (mla, (char*) ip, IP_MAXPACKET);
H A Dnatd.c516 char buf[IP_MAXPACKET];
585 if (LibAliasOutTry (mla, buf, IP_MAXPACKET, 0) != PKT_ALIAS_IGNORED)
641 char buf[IP_MAXPACKET];
726 LibAliasOut (mla, buf, IP_MAXPACKET);
733 status = LibAliasIn (mla, buf, IP_MAXPACKET);
/freebsd-11-stable/sys/dev/hyperv/netvsc/
H A Dhn_rndis.c613 tso_maxsz = IP_MAXPACKET;
638 KASSERT(tso_maxsz <= IP_MAXPACKET,
H A Dif_hn.c142 #define HN_TX_DATA_MAXSIZE IP_MAXPACKET
494 static int hn_tso_maxlen = IP_MAXPACKET;
5554 sc->hn_ndis_tso_szmax <= IP_MAXPACKET,
5559 else if (tso_maxlen > IP_MAXPACKET)
5560 tso_maxlen = IP_MAXPACKET;
/freebsd-11-stable/sys/dev/vnic/
H A Dnicvf_queues.h138 #define NICVF_TSO_MAXSIZE IP_MAXPACKET
/freebsd-11-stable/sys/netgraph/
H A Dng_device.c464 if (uio->uio_resid < 0 || uio->uio_resid > IP_MAXPACKET)
H A Dng_ksocket.c1096 uio.uio_resid = IP_MAXPACKET;
/freebsd-11-stable/sys/netinet/
H A Dip_options.c514 if (optlen + ntohs(ip->ip_len) > IP_MAXPACKET) {
H A Dip.h72 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
H A Dip_reass.c431 if (next + (ip->ip_hl << 2) > IP_MAXPACKET) {
H A Draw_ip.c454 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) {
494 if (m->m_pkthdr.len > IP_MAXPACKET) {
H A Dtcp_output.c1005 KASSERT(len + hdrlen + ipoptlen <= IP_MAXPACKET,
1006 ("%s: len > IP_MAXPACKET", __func__));
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_irc.c85 #define PKTSIZE (IP_MAXPACKET + 1)
/freebsd-11-stable/usr.sbin/ipfwpcap/
H A Dipfwpcap.c41 #include <netinet/in_systm.h> /* for IP_MAXPACKET */
42 #include <netinet/ip.h> /* for IP_MAXPACKET */
50 #ifdef IP_MAXPACKET
51 #define BUFMAX IP_MAXPACKET
/freebsd-11-stable/contrib/sendmail/src/
H A Dsm_resolve.c1293 # ifndef IP_MAXPACKET
1294 # define IP_MAXPACKET 65535 macro
1337 if (len >= IP_MAXPACKET)
1341 domain, len, SMRBSIZE, IP_MAXPACKET);
1347 domain, len, SMRBSIZE, IP_MAXPACKET);
1348 reply = (unsigned char *)sm_malloc(IP_MAXPACKET);
1355 reply, IP_MAXPACKET);
1387 if (len >= 0 && len < IP_MAXPACKET && reply != NULL)
/freebsd-11-stable/sbin/ping/
H A Dping.c168 static u_char outpackhdr[IP_MAXPACKET], *outpack;
241 u_char *datap, packet[IP_MAXPACKET] __aligned(4);
558 maxpayload = IP_MAXPACKET - icmp_len;
826 hold = IP_MAXPACKET + 128;
892 iov.iov_len = IP_MAXPACKET;
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_socket.c667 linux_args->len > IP_MAXPACKET)
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_main.c1636 ifp->if_hw_tsomax = IP_MAXPACKET;
/freebsd-11-stable/sys/dev/e1000/
H A Dif_em.c3230 ifp->if_hw_tsomax = IP_MAXPACKET;
H A Dif_igb.c3177 ifp->if_hw_tsomax = IP_MAXPACKET;
/freebsd-11-stable/sys/dev/ixl/
H A Dif_ixlv.c1635 ifp->if_hw_tsomax = IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_CRC_LEN);
H A Dixl_pf_main.c1961 ifp->if_hw_tsomax = IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_CRC_LEN);
/freebsd-11-stable/sys/net/
H A Dif.c844 ifp->if_hw_tsomax = min(IP_MAXPACKET, (32 * MCLBYTES) -

Completed in 325 milliseconds

12