Searched refs:IP_DF (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-10.0-release/contrib/tcpdump/
H A Dip.h58 #define IP_DF 0x4000 /* dont fragment flag */ macro
H A Dprint-ip.c310 { IP_DF, "DF" },
/freebsd-10.0-release/sbin/natd/
H A Dicmp.c54 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF))
/freebsd-10.0-release/sys/netinet/
H A Dip.h63 #define IP_DF 0x4000 /* dont fragment flag */ macro
H A Dip_fastfwd.c529 (ifp->if_hwassist & CSUM_FRAGMENT && (ip_off & IP_DF) == 0)) {
544 if (ip_off & IP_DF) {
H A Dip_output.c604 ((ip_off & IP_DF) == 0 && (ifp->if_hwassist & CSUM_FRAGMENT))) {
641 if ((ip_off & IP_DF) || (m->m_pkthdr.csum_flags & CSUM_TSO)) {
715 if (ip_off & IP_DF) { /* Fragmentation not allowed */
H A Dtcp_timewait.c599 ip->ip_off |= htons(IP_DF);
H A Dip_icmp.c237 if (oip->ip_off & htons(~(IP_MF|IP_DF)))
H A Draw_ip.c450 ip->ip_off = htons(IP_DF);
H A Dip_mroute.c2507 * IP_DF bit.
2510 if (ip->ip_off & htons(IP_DF))
2511 ip_outer->ip_off |= htons(IP_DF);
H A Dtcp_output.c1224 ip->ip_off |= htons(IP_DF);
H A Dudp_usrreq.c1216 ip->ip_off |= htons(IP_DF);
H A Dip_carp.c812 ip->ip_off = htons(IP_DF);
H A Dtcp_syncache.c1472 ip->ip_off |= htons(IP_DF);
/freebsd-10.0-release/sys/netpfil/pf/
H A Dpf_norm.c922 /* Clear IP_DF if the rule uses the no-df option */
923 if (r->rule_flag & PFRULE_NODF && h->ip_off & htons(IP_DF)) {
926 h->ip_off &= htons(~IP_DF);
935 * with IP_DF to enter the cache. If the flag was cleared by
938 if (h->ip_off & htons(IP_DF)) {
939 DPFPRINTF(("IP_DF\n"));
1058 /* At this point, only IP_DF is allowed in ip_off */
1059 if (h->ip_off & ~htons(IP_DF)) {
1062 h->ip_off &= htons(IP_DF);
1952 /* Clear IP_DF i
[all...]
H A Dpf_osfp.c108 if (ip->ip_off & htons(IP_DF))
/freebsd-10.0-release/sys/net/
H A Dif_spppfr.c338 if (! (ip->ip_off & ~IP_DF) && ip->ip_len > 400 &&
/freebsd-10.0-release/sys/netipsec/
H A Dipsec_output.c463 * Collect IP_DF state from the outer header.
472 /* Honor system-wide control of how to handle IP_DF */
479 setdf = ntohs(ip->ip_off & IP_DF);
535 * ipip_output clears IP_DF in the new header. If
536 * we need to propagate IP_DF from the outer header,
549 ip->ip_off |= IP_DF;
568 * (necessary to deal with IP_DF handling for IPv4).
H A Dxform_ipip.c494 ipo->ip_off &= ~(IP_DF | IP_MF | IP_OFFMASK);
H A Dxform_ah.c314 ip->ip_off &= htons(IP_DF);
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c469 ip->ip_off = htons(path_mtu_discovery ? IP_DF : 0);
859 if (ip_off & IP_DF) {
/freebsd-10.0-release/contrib/ipfilter/tools/
H A Dipmon.c1361 ipoff & IP_DF ? "-" : "");
1377 ipoff & IP_DF ? "-" : "");
/freebsd-10.0-release/contrib/traceroute/
H A Dtraceroute.c568 off = IP_DF;
/freebsd-10.0-release/sbin/ping/
H A Dping.c652 ip->ip_off = df ? IP_DF : 0;
/freebsd-10.0-release/tools/tools/netmap/
H A Dpkt-gen.c418 ip->ip_off = htons(IP_DF); /* Don't fragment */

Completed in 152 milliseconds

12