/freebsd-11-stable/contrib/netbsd-tests/net/icmp/ |
H A D | t_ping.c | 143 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 D | ip.h | 69 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
|
/freebsd-11-stable/sbin/natd/ |
H A D | icmp.c | 41 char icmpBuf[IP_MAXPACKET]; 106 LibAliasIn (mla, (char*) ip, IP_MAXPACKET);
|
H A D | natd.c | 516 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 D | hn_rndis.c | 613 tso_maxsz = IP_MAXPACKET; 638 KASSERT(tso_maxsz <= IP_MAXPACKET,
|
H A D | if_hn.c | 142 #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 D | nicvf_queues.h | 138 #define NICVF_TSO_MAXSIZE IP_MAXPACKET
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_device.c | 464 if (uio->uio_resid < 0 || uio->uio_resid > IP_MAXPACKET)
|
H A D | ng_ksocket.c | 1096 uio.uio_resid = IP_MAXPACKET;
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_options.c | 514 if (optlen + ntohs(ip->ip_len) > IP_MAXPACKET) {
|
H A D | ip.h | 72 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
|
H A D | ip_reass.c | 431 if (next + (ip->ip_hl << 2) > IP_MAXPACKET) {
|
H A D | raw_ip.c | 454 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) { 494 if (m->m_pkthdr.len > IP_MAXPACKET) {
|
H A D | tcp_output.c | 1005 KASSERT(len + hdrlen + ipoptlen <= IP_MAXPACKET, 1006 ("%s: len > IP_MAXPACKET", __func__));
|
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_irc.c | 85 #define PKTSIZE (IP_MAXPACKET + 1)
|
/freebsd-11-stable/usr.sbin/ipfwpcap/ |
H A D | ipfwpcap.c | 41 #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 D | sm_resolve.c | 1293 # 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 D | ping.c | 168 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 D | linux_socket.c | 667 linux_args->len > IP_MAXPACKET)
|
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_main.c | 1636 ifp->if_hw_tsomax = IP_MAXPACKET;
|
/freebsd-11-stable/sys/dev/e1000/ |
H A D | if_em.c | 3230 ifp->if_hw_tsomax = IP_MAXPACKET;
|
H A D | if_igb.c | 3177 ifp->if_hw_tsomax = IP_MAXPACKET;
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | if_ixlv.c | 1635 ifp->if_hw_tsomax = IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_CRC_LEN);
|
H A D | ixl_pf_main.c | 1961 ifp->if_hw_tsomax = IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_CRC_LEN);
|
/freebsd-11-stable/sys/net/ |
H A D | if.c | 844 ifp->if_hw_tsomax = min(IP_MAXPACKET, (32 * MCLBYTES) -
|