/freebsd-13-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-13-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-13-stable/contrib/tcpdump/ |
H A D | ip.h | 69 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
|
/freebsd-13-stable/tests/sys/netinet/libalias/ |
H A D | util.c | 95 REQUIRE(len >= 64 && len <= IP_MAXPACKET);
|
/freebsd-13-stable/sys/netinet/ |
H A D | ip.h | 74 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
|
H A D | ip_reass.c | 241 if (ntohs(ip->ip_len) + ntohs(ip->ip_off) > IP_MAXPACKET) { 452 if (next + (ip->ip_hl << 2) > IP_MAXPACKET) {
|
H A D | raw_ip.c | 471 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) { 524 if (m->m_pkthdr.len > IP_MAXPACKET) {
|
H A D | ip_options.c | 515 if (optlen + ntohs(ip->ip_len) > IP_MAXPACKET) {
|
H A D | tcp_output.c | 1004 KASSERT(len + hdrlen + ipoptlen <= IP_MAXPACKET, 1005 ("%s: len > IP_MAXPACKET", __func__));
|
/freebsd-13-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-13-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 */ 52 #ifdef IP_MAXPACKET 53 #define BUFMAX IP_MAXPACKET
|
/freebsd-13-stable/sbin/ping/ |
H A D | ping.c | 176 static u_char outpackhdr[IP_MAXPACKET], *outpack; 241 u_char *datap, packet[IP_MAXPACKET] __aligned(4); 581 maxpayload = IP_MAXPACKET - icmp_len; 844 hold = IP_MAXPACKET + 128; 911 iov.iov_len = IP_MAXPACKET;
|
/freebsd-13-stable/sys/dev/vnic/ |
H A D | nicvf_queues.h | 138 #define NICVF_TSO_MAXSIZE IP_MAXPACKET
|
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_device.c | 468 if (uio->uio_resid < 0 || uio->uio_resid > IP_MAXPACKET)
|
H A D | ng_ksocket.c | 1084 uio.uio_resid = IP_MAXPACKET;
|
/freebsd-13-stable/sys/netinet/libalias/ |
H A D | alias_irc.c | 87 #define PKTSIZE (IP_MAXPACKET + 1)
|
/freebsd-13-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 | 144 #define HN_TX_DATA_MAXSIZE IP_MAXPACKET 510 static int hn_tso_maxlen = IP_MAXPACKET; 5608 sc->hn_ndis_tso_szmax <= IP_MAXPACKET, 5613 else if (tso_maxlen > IP_MAXPACKET) 5614 tso_maxlen = IP_MAXPACKET;
|
/freebsd-13-stable/sys/netpfil/pf/ |
H A D | pf_norm.c | 568 /* Respect maximum length, IP_MAXPACKET == IPV6_MAXPACKET. */ 569 if (frent->fe_off + frent->fe_len > IP_MAXPACKET) { 804 if (hdrlen + total > IP_MAXPACKET) { 1115 if (fragoff + ip_len > IP_MAXPACKET) {
|
/freebsd-13-stable/sys/netipsec/ |
H A D | xform_ah.c | 864 maxpacketsize = IP_MAXPACKET;
|
H A D | xform_esp.c | 727 maxpacketsize = IP_MAXPACKET;
|
H A D | xform_ipcomp.c | 427 maxpacketsize = IP_MAXPACKET;
|
/freebsd-13-stable/sys/net/ |
H A D | if_vxlan.c | 98 #define VXLAN_MAX_MTU (IP_MAXPACKET - \ 3137 if (p->if_hw_tsomax > IP_MAXPACKET - ifp->if_hdrlen) 3138 ifp->if_hw_tsomax = IP_MAXPACKET - ifp->if_hdrlen;
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_socket.c | 794 linux_args->len > IP_MAXPACKET)
|