Home
last modified time | relevance | path

Searched refs:IP_DF (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-12.1/sys/netinet/
H A Dip_id.c252 if (V_ip_rfc6864 && (ip->ip_off & htons(IP_DF)) == htons(IP_DF)) in ip_fillid()
H A Dip.h65 #define IP_DF 0x4000 /* dont fragment flag */ macro
H A Dip_fastfwd.c401 if (ip_off & IP_DF) { in ip_tryforward()
H A Dip_output.c672 if ((ip_off & IP_DF) || (m->m_pkthdr.csum_flags & CSUM_TSO)) { in ip_output()
770 if (ip_off & IP_DF) { /* Fragmentation not allowed */ in ip_fragment()
H A Dtcp_timewait.c628 ip->ip_off |= htons(IP_DF); in tcp_twrespond()
H A Dip_icmp.c230 if (oip->ip_off & htons(~(IP_MF|IP_DF))) in icmp_error()
H A Draw_ip.c481 ip->ip_off = htons(IP_DF); in rip_output()
H A Dip_mroute.c2512 if (ip->ip_off & htons(IP_DF)) in pim_register_send_rp()
2513 ip_outer->ip_off |= htons(IP_DF); in pim_register_send_rp()
H A Dtcp_output.c1406 ip->ip_off |= htons(IP_DF); in tcp_output()
H A Dudp_usrreq.c1471 ip->ip_off |= htons(IP_DF); in udp_output()
/freebsd-12.1/contrib/tcpdump/
H A Dip.h60 #define IP_DF 0x4000 /* dont fragment flag */ macro
H A Dprint-ip.c325 { IP_DF, "DF" },
/freebsd-12.1/sbin/natd/
H A Dicmp.c54 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
/freebsd-12.1/sys/netpfil/pf/
H A Dpf_norm.c885 if (r->rule_flag & PFRULE_NODF && h->ip_off & htons(IP_DF)) { in pf_normalize_ip()
888 h->ip_off &= htons(~IP_DF); in pf_normalize_ip()
900 if (h->ip_off & htons(IP_DF)) { in pf_normalize_ip()
939 if (h->ip_off & ~htons(IP_DF)) { in pf_normalize_ip()
942 h->ip_off &= htons(IP_DF); in pf_normalize_ip()
1814 if (flags & PFRULE_NODF && h->ip_off & htons(IP_DF)) { in pf_scrub_ip()
1817 h->ip_off &= htons(~IP_DF); in pf_scrub_ip()
1841 if (flags & PFRULE_RANDOMID && !(h->ip_off & ~htons(IP_DF))) { in pf_scrub_ip()
H A Dpf_osfp.c120 if (ip->ip_off & htons(IP_DF)) in pf_osfp_fingerprint_hdr()
/freebsd-12.1/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c500 ip->ip_off = htons(IP_DF); in nat64_init_ip4hdr()
745 if (ip->ip_off & ~ntohs(IP_MF|IP_DF)) { in nat64_icmp_reflect()
795 oip->ip_off = htons(IP_DF); in nat64_icmp_reflect()
1223 (ip->ip_off & htons(IP_DF)) != 0) { in nat64_do_handle_ip4()
/freebsd-12.1/sys/netipsec/
H A Dipsec_output.c884 setdf = (ip->ip_off & htons(IP_DF)) != 0; in ipsec_encap()
920 ip->ip_off = setdf ? htons(IP_DF): 0; in ipsec_encap()
H A Dxform_ah.c322 ip->ip_off &= htons(IP_DF); in ah_massage_headers()
/freebsd-12.1/sys/net/
H A Dif_spppfr.c323 if (! (ip->ip_off & ~IP_DF) && ip->ip_len > 400 && in sppp_fr_header()
/freebsd-12.1/contrib/traceroute/
H A DINSTALL32 value and the ip_off field with the IP_DF bit. Also, if the the udp
H A Dtraceroute.c629 off = IP_DF; in main()
/freebsd-12.1/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c478 ip->ip_off = htons(V_path_mtu_discovery ? IP_DF : 0);
854 if (ip_off & IP_DF) {
/freebsd-12.1/contrib/ipfilter/tools/
H A Dipmon.c1320 ipoff & IP_DF ? "-" : "");
1336 ipoff & IP_DF ? "-" : "");
/freebsd-12.1/sys/netinet/netdump/
H A Dnetdump_client.c279 ip->ip_off = htons(IP_DF); in netdump_udp_output()
/freebsd-12.1/sbin/ping/
H A Dping.c711 ip.ip_off = htons(df ? IP_DF : 0); in main()

12