Home
last modified time | relevance | path

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

12

/freebsd-13.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.c497 if (ip_off & IP_DF) { in ip_tryforward()
H A Dip_output.c805 if ((ip_off & IP_DF) || in ip_output()
877 if (ip_off & IP_DF) { /* Fragmentation not allowed */ in ip_fragment()
H A Dtcp_timewait.c722 ip->ip_off |= htons(IP_DF); in tcp_twrespond()
H A Dip_icmp.c239 if (oip->ip_off & htons(~(IP_MF|IP_DF))) in icmp_error()
H A Draw_ip.c482 ip->ip_off = htons(IP_DF); in rip_output()
H A Dip_mroute.c2510 if (ip->ip_off & htons(IP_DF)) in pim_register_send_rp()
2511 ip_outer->ip_off |= htons(IP_DF); in pim_register_send_rp()
H A Dudp_usrreq.c1441 ip->ip_off |= htons(IP_DF); in udp_output()
/freebsd-13.1/contrib/tcpdump/
H A Dip.h60 #define IP_DF 0x4000 /* dont fragment flag */ macro
H A Dprint-ip.c325 { IP_DF, "DF" },
/freebsd-13.1/sbin/natd/
H A Dicmp.c53 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
/freebsd-13.1/sys/netpfil/pf/
H A Dpf_norm.c1085 if (r->rule_flag & PFRULE_NODF && h->ip_off & htons(IP_DF)) { in pf_normalize_ip()
1088 h->ip_off &= htons(~IP_DF); in pf_normalize_ip()
1100 if (h->ip_off & htons(IP_DF)) { in pf_normalize_ip()
1138 if (h->ip_off & ~htons(IP_DF)) { in pf_normalize_ip()
1141 h->ip_off &= htons(IP_DF); in pf_normalize_ip()
1995 if (flags & PFRULE_NODF && h->ip_off & htons(IP_DF)) { in pf_scrub_ip()
1998 h->ip_off &= htons(~IP_DF); in pf_scrub_ip()
2022 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-13.1/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c530 ip->ip_off = htons(IP_DF); in nat64_init_ip4hdr()
800 if (ip->ip_off & ~ntohs(IP_MF|IP_DF)) { in nat64_icmp_reflect()
850 oip->ip_off = htons(IP_DF); in nat64_icmp_reflect()
1279 (ip->ip_off & htons(IP_DF)) != 0) { in nat64_do_handle_ip4()
/freebsd-13.1/sys/netipsec/
H A Dipsec_output.c892 setdf = (ip->ip_off & htons(IP_DF)) != 0; in ipsec_encap()
928 ip->ip_off = setdf ? htons(IP_DF): 0; in ipsec_encap()
/freebsd-13.1/sys/net/
H A Ddebugnet_inet.c487 ip->ip_off = htons(IP_DF); in debugnet_ip_output()
H A Dif_spppfr.c323 if (! (ip->ip_off & ~IP_DF) && ip->ip_len > 400 && in sppp_fr_header()
/freebsd-13.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-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c446 ip->ip_off = htons(V_path_mtu_discovery ? IP_DF : 0); in ipf_send_ip()
820 if (ip_off & IP_DF) { in ipf_fastroute()
/freebsd-13.1/sbin/ipf/ipmon/
H A Dipmon.c1303 ipoff & IP_DF ? "-" : ""); in print_ipflog()
1319 ipoff & IP_DF ? "-" : ""); in print_ipflog()
/freebsd-13.1/sys/dev/qlnx/qlnxr/
H A Dqlnxr_cm.c597 udh->ip4.frag_off = htons(IP_DF); in qlnxr_gsi_build_header()
/freebsd-13.1/sys/dev/ena/
H A Dena_datapath.c767 if ((ip->ip_off & htons(IP_DF)) != 0) in ena_tx_csum()
/freebsd-13.1/sbin/ping/
H A Dping.c724 ip.ip_off = htons(df ? IP_DF : 0); in ping()

12