| /src/sbin/ipf/ipsend/ |
| H A D | iptests.c | 257 ip->ip_off = htons(IP_MF); in ip_test1() 265 ip->ip_off = htons(IP_MF); in ip_test1() 299 ip->ip_off = htons(IP_MF); in ip_test1() 310 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1() 330 ip->ip_off = htons(IP_MF); in ip_test1() 344 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1() 370 ip->ip_off = htons(IP_MF); in ip_test1() 381 ip->ip_off = htons(IP_MF | (i >> 3)); in ip_test1() 1272 ip->ip_off = htons(IP_MF); in ip_test6() 1281 ip->ip_off = htons(IP_MF); in ip_test6() [all …]
|
| H A D | ip.c | 192 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()
|
| /src/stand/libsa/ |
| H A D | ip.c | 233 morefrag = (ntohs(ip->ip_off) & IP_MF) == 0 ? false : true; in readipv4() 321 (ntohs(ipq->ipq_hdr->ip_off) & IP_MF) != 0)); in readipv4() 331 if ((ntohs(last->ipq_hdr->ip_off) & IP_MF) != 0) { in readipv4() 338 (ntohs(last->ipq_hdr->ip_off) & IP_MF) != 0)); in readipv4()
|
| /src/tests/sys/netinet/ |
| H A D | ip_reass_test.c | 245 packet2->hdr.ip_off = htons(IP_MF | 0x20); in ATF_TC_BODY() 298 ip->ip_off = htons(IP_MF | 0x10); in ATF_TC_BODY() 350 ip->ip_off = htons(IP_MF | 0x1fff); in ATF_TC_BODY()
|
| /src/contrib/tcpdump/ |
| H A D | print-ip.c | 306 { IP_MF, "+" }, 413 bittok2str(ip_frag_values, "none", off & (IP_RES|IP_DF|IP_MF)), in ip_print() 482 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
|
| /src/sbin/natd/ |
| H A D | icmp.c | 51 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
|
| /src/sys/netinet/ |
| H A D | ip.h | 64 #define IP_MF 0x2000 /* more fragments flag */ macro
|
| H A D | in_rss.c | 247 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in rss_mbuf_software_hash_v4()
|
| H A D | ip_reass.c | 243 ((ip->ip_off & htons(IP_MF)) && (ntohs(ip->ip_len) & 0x7) != 0)) { in ip_reass() 249 if (ip->ip_off & htons(IP_MF)) in ip_reass()
|
| H A D | ip_output.c | 1004 mhip->ip_off |= IP_MF; in ip_fragment() 1035 ip->ip_off = htons(ip_off | IP_MF); in ip_fragment()
|
| H A D | ip_icmp.c | 244 if (oip->ip_off & htons(~(IP_MF|IP_DF))) in icmp_error()
|
| /src/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),
|
| /src/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()
|
| /src/sys/netpfil/ipfw/ |
| H A D | ip_fw_log.c | 415 if (ipoff & (IP_MF | IP_OFFMASK)) in ipfw_log_syslog() 420 (ipoff & IP_MF) ? "+" : ""); in ipfw_log_syslog()
|
| H A D | ip_fw_pfil.c | 515 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) { in ipfw_divert()
|
| /src/contrib/netbsd-tests/net/icmp/ |
| H A D | t_ping.c | 412 ip->ip_off |= IP_MF; in ATF_TC_BODY()
|
| /src/sys/net/ |
| H A D | debugnet_inet.c | 194 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) != 0) { in debugnet_handle_ip()
|
| H A D | if_me.c | 592 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) { in me_transmit()
|
| /src/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_compat.h | 806 #ifndef IP_MF 807 # define IP_MF ((u_short)0x2000) macro
|
| H A D | ip_fil_freebsd.c | 859 mhip->ip_off |= IP_MF; in ipf_fastroute() 880 ip->ip_off = htons((u_short)IP_MF); in ipf_fastroute()
|
| /src/sys/netpfil/pf/ |
| H A D | pf_norm.c | 832 frent->fe_mff = ntohs(ip->ip_off) & IP_MF; in pf_reassemble() 886 ip->ip_off & ~(IP_MF|IP_OFFMASK), 0); in pf_reassemble() 887 ip->ip_off &= ~(IP_MF|IP_OFFMASK); in pf_reassemble() 1157 int mff = (ntohs(h->ip_off) & IP_MF); in pf_normalize_ip()
|
| /src/sys/netgraph/ |
| H A D | ng_checksum.c | 344 if (ip4->ip_off & htons(IP_MF|IP_OFFMASK)) { in checksum_ipv4()
|
| /src/sys/net/altq/ |
| H A D | altq_subr.c | 1204 if (ip_off & IP_MF) 1869 if ((ntohs(ip->ip_off) & IP_MF) == 0)
|
| /src/sbin/ipf/ipmon/ |
| H A D | ipmon.c | 1291 ipoff & IP_MF ? "+" : "", in print_ipflog() 1307 ipoff & IP_MF ? "+" : "", in print_ipflog()
|