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

/freebsd-9.3-release/contrib/sendmail/src/
H A Dsm_resolve.c405 #ifndef IP_MAXPACKET
406 # define IP_MAXPACKET 65535 macro
432 if (len >= IP_MAXPACKET)
437 IP_MAXPACKET);
444 IP_MAXPACKET);
445 reply = (unsigned char *)sm_malloc(IP_MAXPACKET);
450 reply, IP_MAXPACKET);
459 if (len >= 0 && len < IP_MAXPACKET && reply != NULL)
/freebsd-9.3-release/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-9.3-release/contrib/tcpdump/
H A Dip.h67 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
/freebsd-9.3-release/sys/netinet/
H A Dip.h72 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
H A Draw_ip.c436 if (m->m_pkthdr.len + sizeof(struct ip) > IP_MAXPACKET) {
476 if (m->m_pkthdr.len > IP_MAXPACKET) {
H A Dip_options.c497 if (optlen + ip->ip_len > IP_MAXPACKET) {
H A Dip_input.c1083 if (next + (ip->ip_hl << 2) > IP_MAXPACKET) {
H A Dudp_usrreq.c965 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) {
H A Dtcp_output.c816 KASSERT(len + hdrlen + ipoptlen <= IP_MAXPACKET,
817 ("%s: len > IP_MAXPACKET", __func__));
/freebsd-9.3-release/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-9.3-release/sbin/ping/
H A Dping.c161 u_char outpackhdr[IP_MAXPACKET], *outpack;
227 u_char *datap, packet[IP_MAXPACKET] __aligned(4);
520 maxpayload = IP_MAXPACKET - icmp_len;
734 hold = IP_MAXPACKET + 128;
792 iov.iov_len = IP_MAXPACKET;
/freebsd-9.3-release/sys/netgraph/
H A Dng_device.c465 if (uio->uio_resid < 0 || uio->uio_resid > IP_MAXPACKET)
/freebsd-9.3-release/sys/netinet/libalias/
H A Dalias_irc.c85 #define PKTSIZE (IP_MAXPACKET + 1)
/freebsd-9.3-release/sys/netipsec/
H A Dxform_ipcomp.c378 maxpacketsize = IP_MAXPACKET;
H A Dxform_ah.c931 maxpacketsize = IP_MAXPACKET;
H A Dxform_esp.c736 maxpacketsize = IP_MAXPACKET;
/freebsd-9.3-release/sys/net/
H A Dif.c678 ifp->if_hw_tsomax = min(IP_MAXPACKET, 32 * MCLBYTES -
680 KASSERT(ifp->if_hw_tsomax <= IP_MAXPACKET &&
681 ifp->if_hw_tsomax >= IP_MAXPACKET / 8,
H A Dif_lagg.c410 u_int hw_tsomax = IP_MAXPACKET; /* Initialize to the maximum value. */
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf_norm.c668 if ((frent->fr_ip->ip_hl << 2) + off > IP_MAXPACKET) {
1227 if (fragoff + ip_len > IP_MAXPACKET) {
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_socket.c617 linux_args->len > IP_MAXPACKET)
/freebsd-9.3-release/sys/dev/xen/netfront/
H A Dnetfront.c137 #define NF_TSO_MAXBURST ((IP_MAXPACKET / PAGE_SIZE) * MCLBYTES)

Completed in 110 milliseconds