| /freebsd-13.1/sbin/ipf/ipsend/ |
| H A D | iptests.c | 263 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 D | ip.c | 197 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 D | ip_reass_test.c | 244 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 D | ip.c | 274 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 D | print-ip.c | 324 { 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 D | ip.h | 61 #define IP_MF 0x2000 /* more fragments flag */ macro
|
| H A D | print-esp.c | 749 if (EXTRACT_16BITS(&ip->ip_off) & IP_MF) in esp_print()
|
| /freebsd-13.1/sbin/natd/ |
| H A D | icmp.c | 53 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
|
| /freebsd-13.1/sys/netinet/ |
| H A D | ip.h | 66 #define IP_MF 0x2000 /* more fragments flag */ macro
|
| H A D | in_rss.c | 255 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in rss_mbuf_software_hash_v4()
|
| H A D | ip_reass.c | 226 ((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 D | ip_output.c | 990 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 D | ip_fw_log.c | 401 if (ipoff & (IP_MF | IP_OFFMASK)) in ipfw_log() 406 (ipoff & IP_MF) ? "+" : ""); in ipfw_log()
|
| H A D | ip_fw_pfil.c | 476 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) { in ipfw_divert()
|
| /freebsd-13.1/sbin/dhclient/ |
| H A D | bpf.c | 123 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 D | nat64_translate.c | 528 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 D | t_ping.c | 412 ip->ip_off |= IP_MF; in ATF_TC_BODY()
|
| /freebsd-13.1/sys/net/ |
| H A D | debugnet_inet.c | 193 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) != 0) { in debugnet_handle_ip()
|
| H A D | if_me.c | 590 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) { in me_transmit()
|
| /freebsd-13.1/sys/netpfil/pf/ |
| H A D | pf_norm.c | 763 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 D | ip_compat.h | 817 #ifndef IP_MF 818 # define IP_MF ((u_short)0x2000) macro
|
| H A D | ip_fil_freebsd.c | 863 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 D | ipsec.c | 503 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 D | ng_checksum.c | 346 if (ip4->ip_off & htons(IP_MF|IP_OFFMASK)) { in checksum_ipv4()
|
| /freebsd-13.1/sys/net/altq/ |
| H A D | altq_subr.c | 1238 if (ip_off & IP_MF) 1908 if ((ntohs(ip->ip_off) & IP_MF) == 0)
|