Home
last modified time | relevance | path

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

12

/netbsd-src/sys/net/npf/
H A Dnpf_ext_normalize.c123 if (np->n_no_df && (ip_off & htons(IP_DF)) != 0) { in npf_normalize_ip4()
124 uint16_t nip_off = ip_off & ~htons(IP_DF); in npf_normalize_ip4()
H A Dnpf_inet.c452 if (ip->ip_off & ~htons(IP_DF | IP_RF)) { in npf_cache_ip()
/netbsd-src/external/mpl/dhcp/dist/includes/netinet/
H A Dip.h55 #define IP_DF 0x4000 /* dont fragment flag */ macro
/netbsd-src/sys/arch/mvme68k/stand/sboot/
H A Detherfun.h78 #define IP_DF 0x4000 /* dont fragment flag */ macro
H A Detherfun.c119 iph->ip_off = IP_DF; in do_send_tftp()
/netbsd-src/sys/netinet/
H A Dip.h66 #define IP_DF 0x4000 /* dont fragment flag */ macro
H A Dip_output.c612 ip->ip_off |= htons(IP_DF); in ip_output()
758 if (ntohs(ip->ip_off) & IP_DF) { in ip_output()
842 ipflg = ntohs(ip->ip_off) & (IP_RF|IP_DF|IP_MF); in ip_fragment()
H A Dip_icmp.c277 if (oip->ip_off &~ htons(IP_MF|IP_DF)) in icmp_error()
H A Dip_mroute.c2913 if (ntohs(ip->ip_off) & IP_DF) in pim_register_send_rp()
2914 ip_outer->ip_off |= htons(IP_DF); in pim_register_send_rp()
H A Dip_input.c754 if (ip->ip_off & ~htons(IP_DF|IP_RF)) { in ip_input()
H A Dip_carp.c1084 ip->ip_off = htons(IP_DF); in carp_send_ad()
/netbsd-src/sys/netipsec/
H A Dipsec_output.c550 setdf = htons(setdf & IP_DF); in ipsec4_process_packet()
604 ip->ip_off |= htons(IP_DF); in ipsec4_process_packet()
H A Dxform_ipip.c393 ipo->ip_off &= ~ htons(IP_DF | IP_MF | IP_OFFMASK); in ipip_output()
H A Dxform_ah.c324 ip->ip_off &= htons(IP_DF); in ah_massage_headers()
/netbsd-src/sys/dist/pf/net/
H A Dpf_norm.c908 if (r->rule_flag & PFRULE_NODF && h->ip_off & htons(IP_DF)) {
911 h->ip_off &= htons(~IP_DF);
923 if (h->ip_off & htons(IP_DF)) {
1031 if (h->ip_off & ~htons(IP_DF)) {
1034 h->ip_off &= htons(IP_DF);
H A Dpf_osfp.c149 if (ip->ip_off & htons(IP_DF)) in pf_osfp_fingerprint_hdr()
H A Dif_pfsync.c1590 ip->ip_off = htons(IP_DF); in pfsync_sendout_mbuf()
/netbsd-src/sys/net/
H A Dether_sw_offload.c269 if (ntohs(ip->ip_off) & ~(IP_DF | IP_RF)) in ether_sw_offload_rx()
/netbsd-src/sys/netmpls/
H A Dmpls_ttl.c191 if (oip->ip_off &~ htons(IP_MF|IP_DF)) in mpls_icmp_error()
/netbsd-src/sys/kern/
H A Duipc_mbufdebug.c577 if (offset & IP_DF) in m_examine_ip()
578 (*pr)("IP: Flag 0x%04x (don't fragment)\n", IP_DF); in m_examine_ip()
/netbsd-src/usr.sbin/traceroute/
H A Dtraceroute.c513 off = IP_DF; in main()
592 off = IP_DF; in main()
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dip_fil_netbsd.c865 ip->ip_off = htons(ip_mtudisc ? IP_DF : 0); in ipf_send_ip()
1274 if (ip_off & IP_DF) { in ipf_fastroute()
/netbsd-src/external/bsd/ipf/dist/tools/
H A Dipmon.c1330 ipoff & IP_DF ? "-" : ""); in print_ipflog()
1346 ipoff & IP_DF ? "-" : ""); in print_ipflog()
/netbsd-src/sbin/ping/
H A Dping.c572 opack_ip->ip_off = (pingflags & F_DF) ? IP_DF : 0; in main()
/netbsd-src/sys/dev/pci/
H A Dif_ena.c2729 if ((ip->ip_off & htons(IP_DF)) != 0) in ena_tx_csum()

12