| /freebsd-14.2/sbin/ipf/ipsend/ |
| H A D | iptests.c | 262 ip->ip_off = htons(IP_MF); in ip_test1() 270 ip->ip_off = htons(IP_MF); in ip_test1() 304 ip->ip_off = htons(IP_MF); in ip_test1() 315 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1() 335 ip->ip_off = htons(IP_MF); in ip_test1() 349 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1() 375 ip->ip_off = htons(IP_MF); in ip_test1() 1279 ip->ip_off = htons(IP_MF); in ip_test6() 1288 ip->ip_off = htons(IP_MF); in ip_test6() 1296 ip->ip_off = htons(IP_MF|(j>>3)); in ip_test6() [all …]
|
| H A D | ip.c | 196 ip->ip_off |= htons(IP_MF); in send_ip() 202 ip->ip_off ^= htons(IP_MF); in send_ip() 219 if (!(ntohs(ip->ip_off) & IP_MF)) in send_ip()
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | print-ip.c | 306 { 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 D | ip.h | 61 #define IP_MF 0x2000 /* more fragments flag */ macro
|
| /freebsd-14.2/tests/sys/netinet/ |
| H A D | ip_reass_test.c | 242 packet2->hdr.ip_off = htons(IP_MF | 0x20); in ATF_TC_BODY() 295 ip->ip_off = htons(IP_MF | 0x10); in ATF_TC_BODY() 347 ip->ip_off = htons(IP_MF | 0x1fff); in ATF_TC_BODY()
|
| /freebsd-14.2/stand/libsa/ |
| H A D | ip.c | 271 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-14.2/sbin/natd/ |
| H A D | icmp.c | 51 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | ip.h | 65 #define IP_MF 0x2000 /* more fragments flag */ macro
|
| H A D | in_rss.c | 246 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in rss_mbuf_software_hash_v4()
|
| H A D | ip_reass.c | 246 ((ip->ip_off & htons(IP_MF)) && (ntohs(ip->ip_len) & 0x7) != 0)) { in ip_reass() 252 if (ip->ip_off & htons(IP_MF)) in ip_reass()
|
| H A D | ip_output.c | 987 mhip->ip_off |= IP_MF; in ip_fragment() 1018 ip->ip_off = htons(ip_off | IP_MF); in ip_fragment()
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw_log.c | 411 if (ipoff & (IP_MF | IP_OFFMASK)) in ipfw_log() 416 (ipoff & IP_MF) ? "+" : ""); in ipfw_log()
|
| H A D | ip_fw_pfil.c | 515 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) { in ipfw_divert()
|
| /freebsd-14.2/sbin/dhclient/ |
| H A D | bpf.c | 121 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-14.2/sys/netpfil/ipfw/nat64/ |
| H A D | nat64_translate.c | 527 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-14.2/contrib/netbsd-tests/net/icmp/ |
| H A D | t_ping.c | 412 ip->ip_off |= IP_MF; in ATF_TC_BODY()
|
| /freebsd-14.2/sys/net/ |
| H A D | debugnet_inet.c | 195 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) != 0) { in debugnet_handle_ip()
|
| H A D | if_me.c | 593 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) { in me_transmit()
|
| /freebsd-14.2/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_compat.h | 817 #ifndef IP_MF 818 # define IP_MF ((u_short)0x2000) macro
|
| H A D | ip_fil_freebsd.c | 869 mhip->ip_off |= IP_MF; in ipf_fastroute() 890 ip->ip_off = htons((u_short)IP_MF); in ipf_fastroute()
|
| /freebsd-14.2/sys/netpfil/pf/ |
| H A D | pf_norm.c | 761 frent->fe_mff = ntohs(ip->ip_off) & IP_MF; in pf_reassemble() 799 ip->ip_off & ~(IP_MF|IP_OFFMASK), 0); in pf_reassemble() 800 ip->ip_off &= ~(IP_MF|IP_OFFMASK); in pf_reassemble() 1039 int mff = (ntohs(h->ip_off) & IP_MF); in pf_normalize_ip()
|
| /freebsd-14.2/sys/netipsec/ |
| H A D | ipsec.c | 506 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp() 514 if (ih.ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
|
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_checksum.c | 344 if (ip4->ip_off & htons(IP_MF|IP_OFFMASK)) { in checksum_ipv4()
|
| /freebsd-14.2/sys/net/altq/ |
| H A D | altq_subr.c | 1204 if (ip_off & IP_MF) 1869 if ((ntohs(ip->ip_off) & IP_MF) == 0)
|
| /freebsd-14.2/sbin/ipf/ipmon/ |
| H A D | ipmon.c | 1294 ipoff & IP_MF ? "+" : "", in print_ipflog() 1310 ipoff & IP_MF ? "+" : "", in print_ipflog()
|