Home
last modified time | relevance | path

Searched refs:IP_MF (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/sbin/ipf/ipsend/
H A Diptests.c258 ip->ip_off = htons(IP_MF); in ip_test1()
266 ip->ip_off = htons(IP_MF); in ip_test1()
300 ip->ip_off = htons(IP_MF); in ip_test1()
311 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1()
331 ip->ip_off = htons(IP_MF); in ip_test1()
345 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1()
371 ip->ip_off = htons(IP_MF); in ip_test1()
382 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1()
1273 ip->ip_off = htons(IP_MF); in ip_test6()
1282 ip->ip_off = htons(IP_MF); in ip_test6()
[all …]
H A Dip.c192 ip->ip_off |= htons(IP_MF); in send_ip()
198 ip->ip_off ^= htons(IP_MF); in send_ip()
215 if (!(ntohs(ip->ip_off) & IP_MF)) in send_ip()
/freebsd/tests/sys/netinet/
H A Dip_reass_test.c241 packet2->hdr.ip_off = htons(IP_MF | 0x20); in ATF_TC_BODY()
294 ip->ip_off = htons(IP_MF | 0x10); in ATF_TC_BODY()
346 ip->ip_off = htons(IP_MF | 0x1fff); in ATF_TC_BODY()
/freebsd/contrib/tcpdump/
H A Dprint-ip.c306 { IP_MF, "+" },
408 bittok2str(ip_frag_values, "none", off & (IP_RES|IP_DF|IP_MF)), in ip_print()
474 off & IP_MF, GET_U_1(ip->ip_ttl), nh, bp); in ip_print()
H A Dip.h61 #define IP_MF 0x2000 /* more fragments flag */ macro
/freebsd/stand/libsa/
H A Dip.c271 if ((ntohs(ip->ip_off) & IP_MF) == 0 && in readipv4()
319 if ((ntohs(ip->ip_off) & IP_MF) == 0) { in readipv4()
357 if ((ntohs(last->ipq_hdr->ip_off) & IP_MF) != 0) { in readipv4()
/freebsd/sbin/natd/
H A Dicmp.c51 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
/freebsd/sys/netinet/
H A Dip.h63 #define IP_MF 0x2000 /* more fragments flag */ macro
H A Din_rss.c246 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in rss_mbuf_software_hash_v4()
H A Dip_reass.c244 ((ip->ip_off & htons(IP_MF)) && (ntohs(ip->ip_len) & 0x7) != 0)) { in ip_reass()
250 if (ip->ip_off & htons(IP_MF)) in ip_reass()
H A Dip_output.c1003 mhip->ip_off |= IP_MF; in ip_fragment()
1034 ip->ip_off = htons(ip_off | IP_MF); in ip_fragment()
H A Dip_icmp.c245 if (oip->ip_off & htons(~(IP_MF|IP_DF))) in icmp_error()
/freebsd/sbin/dhclient/
H A Dbpf.c121 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, IP_MF|IP_OFFMASK, 6, 0),
220 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, IP_MF|IP_OFFMASK, 10, 0),
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c527 ip->ip_off |= htons(IP_MF); in nat64_init_ip4hdr()
589 if (len < plen || (ip_off & htons(IP_MF)) != 0) in nat64_fragment6()
799 if (ip->ip_off & ~ntohs(IP_MF|IP_DF)) { in nat64_icmp_reflect()
1254 ip_off = ip->ip_off & htons(IP_OFFMASK | IP_MF); in nat64_do_handle_ip4()
1257 if ((ip->ip_off & htons(IP_MF)) != 0 && (plen & 0x7) != 0) { in nat64_do_handle_ip4()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_log.c417 if (ipoff & (IP_MF | IP_OFFMASK)) in ipfw_log_syslog()
422 (ipoff & IP_MF) ? "+" : ""); in ipfw_log_syslog()
H A Dip_fw_pfil.c515 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) { in ipfw_divert()
/freebsd/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c412 ip->ip_off |= IP_MF; in ATF_TC_BODY()
/freebsd/sys/net/
H A Ddebugnet_inet.c195 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) != 0) { in debugnet_handle_ip()
H A Dif_me.c592 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) { in me_transmit()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h806 #ifndef IP_MF
807 # define IP_MF ((u_short)0x2000) macro
H A Dip_fil_freebsd.c841 mhip->ip_off |= IP_MF; in ipf_fastroute()
862 ip->ip_off = htons((u_short)IP_MF); in ipf_fastroute()
/freebsd/sys/netpfil/pf/
H A Dpf_norm.c756 frent->fe_mff = ntohs(ip->ip_off) & IP_MF; in pf_reassemble()
809 ip->ip_off & ~(IP_MF|IP_OFFMASK), 0); in pf_reassemble()
810 ip->ip_off &= ~(IP_MF|IP_OFFMASK); in pf_reassemble()
1074 int mff = (ntohs(h->ip_off) & IP_MF); in pf_normalize_ip()
/freebsd/sys/netgraph/
H A Dng_checksum.c344 if (ip4->ip_off & htons(IP_MF|IP_OFFMASK)) { in checksum_ipv4()
/freebsd/sys/net/altq/
H A Daltq_subr.c1204 if (ip_off & IP_MF)
1869 if ((ntohs(ip->ip_off) & IP_MF) == 0)
/freebsd/sbin/ipf/ipmon/
H A Dipmon.c1291 ipoff & IP_MF ? "+" : "", in print_ipflog()
1307 ipoff & IP_MF ? "+" : "", in print_ipflog()

12