/freebsd/sbin/ipf/ipsend/ |
H A D | iptests.c | 258 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 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()
|
/freebsd/tests/sys/netinet/ |
H A D | ip_reass_test.c | 241 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 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/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/sbin/natd/ |
H A D | icmp.c | 51 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF)) in SendNeedFragIcmp()
|
/freebsd/sys/netinet/ |
H A D | ip.h | 63 #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 | 244 ((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 D | ip_output.c | 1003 mhip->ip_off |= IP_MF; in ip_fragment() 1034 ip->ip_off = htons(ip_off | IP_MF); in ip_fragment()
|
H A D | ip_icmp.c | 245 if (oip->ip_off & htons(~(IP_MF|IP_DF))) in icmp_error()
|
/freebsd/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/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/sys/netpfil/ipfw/ |
H A D | ip_fw_log.c | 417 if (ipoff & (IP_MF | IP_OFFMASK)) in ipfw_log_syslog() 422 (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()
|
/freebsd/contrib/netbsd-tests/net/icmp/ |
H A D | t_ping.c | 412 ip->ip_off |= IP_MF; in ATF_TC_BODY()
|
/freebsd/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 | 592 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) { in me_transmit()
|
/freebsd/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 | 841 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 D | pf_norm.c | 756 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 D | ng_checksum.c | 344 if (ip4->ip_off & htons(IP_MF|IP_OFFMASK)) { in checksum_ipv4()
|
/freebsd/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/sbin/ipf/ipmon/ |
H A D | ipmon.c | 1291 ipoff & IP_MF ? "+" : "", in print_ipflog() 1307 ipoff & IP_MF ? "+" : "", in print_ipflog()
|