Home
last modified time | relevance | path

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

12

/freebsd-13.1/sbin/ipf/ipsend/
H A Diptests.c263 ip->ip_off = htons(IP_MF); in ip_test1()
271 ip->ip_off = htons(IP_MF); in ip_test1()
305 ip->ip_off = htons(IP_MF); in ip_test1()
316 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1()
336 ip->ip_off = htons(IP_MF); in ip_test1()
350 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1()
376 ip->ip_off = htons(IP_MF); in ip_test1()
1280 ip->ip_off = htons(IP_MF); in ip_test6()
1289 ip->ip_off = htons(IP_MF); in ip_test6()
1297 ip->ip_off = htons(IP_MF|(j>>3)); in ip_test6()
[all …]
H A Dip.c197 ip->ip_off |= htons(IP_MF); in send_ip()
203 ip->ip_off ^= htons(IP_MF); in send_ip()
220 if (!(ntohs(ip->ip_off) & IP_MF)) in send_ip()
/freebsd-13.1/tests/sys/netinet/
H A Dip_reass_test.c244 packet2->hdr.ip_off = htons(IP_MF | 0x20); in ATF_TC_BODY()
297 ip->ip_off = htons(IP_MF | 0x10); in ATF_TC_BODY()
349 ip->ip_off = htons(IP_MF | 0x1fff); in ATF_TC_BODY()
/freebsd-13.1/stand/libsa/
H A Dip.c274 if ((ntohs(ip->ip_off) & IP_MF) == 0 && in readipv4()
322 if ((ntohs(ip->ip_off) & IP_MF) == 0) { in readipv4()
360 if ((ntohs(last->ipq_hdr->ip_off) & IP_MF) != 0) { in readipv4()
/freebsd-13.1/contrib/tcpdump/
H A Dprint-ip.c324 { IP_MF, "+" },
397 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()
403 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()
409 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()
H A Dip.h61 #define IP_MF 0x2000 /* more fragments flag */ macro
H A Dprint-esp.c749 if (EXTRACT_16BITS(&ip->ip_off) & IP_MF) in esp_print()
/freebsd-13.1/sbin/natd/
H A Dicmp.c53 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
/freebsd-13.1/sys/netinet/
H A Dip.h66 #define IP_MF 0x2000 /* more fragments flag */ macro
H A Din_rss.c255 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in rss_mbuf_software_hash_v4()
H A Dip_reass.c226 ((ip->ip_off & htons(IP_MF)) && (ntohs(ip->ip_len) & 0x7) != 0)) { in ip_reass()
232 if (ip->ip_off & htons(IP_MF)) in ip_reass()
H A Dip_output.c990 mhip->ip_off |= IP_MF; in ip_fragment()
1021 ip->ip_off = htons(ip_off | IP_MF); in ip_fragment()
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_fw_log.c401 if (ipoff & (IP_MF | IP_OFFMASK)) in ipfw_log()
406 (ipoff & IP_MF) ? "+" : ""); in ipfw_log()
H A Dip_fw_pfil.c476 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) { in ipfw_divert()
/freebsd-13.1/sbin/dhclient/
H A Dbpf.c123 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, IP_MF|IP_OFFMASK, 6, 0),
222 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, IP_MF|IP_OFFMASK, 10, 0),
/freebsd-13.1/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c528 ip->ip_off |= htons(IP_MF); in nat64_init_ip4hdr()
590 if (len < plen || (ip_off & htons(IP_MF)) != 0) in nat64_fragment6()
800 if (ip->ip_off & ~ntohs(IP_MF|IP_DF)) { in nat64_icmp_reflect()
1255 ip_off = ip->ip_off & htons(IP_OFFMASK | IP_MF); in nat64_do_handle_ip4()
1258 if ((ip->ip_off & htons(IP_MF)) != 0 && (plen & 0x7) != 0) { in nat64_do_handle_ip4()
/freebsd-13.1/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c412 ip->ip_off |= IP_MF; in ATF_TC_BODY()
/freebsd-13.1/sys/net/
H A Ddebugnet_inet.c193 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) != 0) { in debugnet_handle_ip()
H A Dif_me.c590 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) { in me_transmit()
/freebsd-13.1/sys/netpfil/pf/
H A Dpf_norm.c763 frent->fe_mff = ntohs(ip->ip_off) & IP_MF; in pf_reassemble()
801 ip->ip_off & ~(IP_MF|IP_OFFMASK), 0); in pf_reassemble()
802 ip->ip_off &= ~(IP_MF|IP_OFFMASK); in pf_reassemble()
1029 int mff = (ntohs(h->ip_off) & IP_MF); in pf_normalize_ip()
/freebsd-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h817 #ifndef IP_MF
818 # define IP_MF ((u_short)0x2000) macro
H A Dip_fil_freebsd.c863 mhip->ip_off |= IP_MF; in ipf_fastroute()
884 ip->ip_off = htons((u_short)IP_MF); in ipf_fastroute()
/freebsd-13.1/sys/netipsec/
H A Dipsec.c503 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
511 if (ih.ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
/freebsd-13.1/sys/netgraph/
H A Dng_checksum.c346 if (ip4->ip_off & htons(IP_MF|IP_OFFMASK)) { in checksum_ipv4()
/freebsd-13.1/sys/net/altq/
H A Daltq_subr.c1238 if (ip_off & IP_MF)
1908 if ((ntohs(ip->ip_off) & IP_MF) == 0)

12