Home
last modified time | relevance | path

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

12

/netbsd-src/regress/sys/net/frag/
H A Dip4_frag_1.c93 first = ((foff & IP_MF) == 0); in create_ip_packet()
165 p = create_ip_packet(target, 0 | IP_MF, 1480); in test_case_0()
184 p = create_ip_packet(target, 0 | IP_MF, 48); in test_case_1()
203 p = create_ip_packet(target, 0 | IP_MF, 48); in test_case_2()
222 p = create_ip_packet(target, 0 | IP_MF, 48); in test_case_3()
240 p = create_ip_packet(target, 0 | IP_MF, 48); in test_case_4()
243 p = create_ip_packet(target, 6 | IP_MF, 96); in test_case_4()
271 p = create_ip_packet(target, off | IP_MF, 1480); in test_case_5()
291 p = create_ip_packet(target, 0 | IP_MF, 48); in test_case_6()
/netbsd-src/external/bsd/ipf/dist/ipsend/
H A Diptests.c297 ip->ip_off = htons(IP_MF);
305 ip->ip_off = htons(IP_MF);
339 ip->ip_off = htons(IP_MF);
350 ip->ip_off = htons(IP_MF | (i >> 3));
370 ip->ip_off = htons(IP_MF);
384 ip->ip_off = htons(IP_MF | (i >> 3));
410 ip->ip_off = htons(IP_MF);
421 ip->ip_off = htons(IP_MF | (i >> 3));
1332 ip->ip_off = htons(IP_MF);
1341 ip->ip_off = htons(IP_MF);
[all …]
H A Dip.c208 ip->ip_off |= htons(IP_MF);
214 ip->ip_off ^= htons(IP_MF);
231 if (!(ntohs(ip->ip_off) & IP_MF))
/netbsd-src/external/bsd/ipf/dist/ipsd/Celler/
H A Dip_compat.h45 #ifndef IP_MF
46 # define IP_MF ((u_short)0x2000) macro
/netbsd-src/tests/net/net/
H A Dt_ip_reass.c285 packet2->hdr.ip_off = htons(IP_MF | 0x20); in ATF_TC_BODY()
338 ip->ip_off = htons(IP_MF | 0x10); in ATF_TC_BODY()
397 ip->ip_off = htons(IP_MF | 0x1fff); in ATF_TC_BODY()
/netbsd-src/external/mpl/dhcp/dist/includes/netinet/
H A Dip.h56 #define IP_MF 0x2000 /* more fragments flag */ macro
/netbsd-src/sys/arch/mvme68k/stand/sboot/
H A Detherfun.h79 #define IP_MF 0x2000 /* more fragments flag */ macro
/netbsd-src/sys/netinet/
H A Dip.h67 #define IP_MF 0x2000 /* more fragments flag */ macro
H A Dip_output.c842 ipflg = ntohs(ip->ip_off) & (IP_RF|IP_DF|IP_MF); in ip_fragment()
893 mhip->ip_off |= IP_MF; in ip_fragment()
934 ip->ip_off |= htons(IP_MF); in ip_fragment()
H A Dip_reass.c650 mff = (ip->ip_off & htons(IP_MF)) != 0; in ip_reass_packet()
H A Dip_icmp.c277 if (oip->ip_off &~ htons(IP_MF|IP_DF)) in icmp_error()
/netbsd-src/sys/netmpls/
H A Dmpls_ttl.c191 if (oip->ip_off &~ htons(IP_MF|IP_DF)) in mpls_icmp_error()
/netbsd-src/tests/net/icmp/
H A Dt_ping.c425 ip->ip_off |= IP_MF; in ATF_TC_BODY()
/netbsd-src/sys/kern/
H A Duipc_mbufdebug.c579 if (offset & IP_MF) in m_examine_ip()
580 (*pr)("IP: Flag 0x%04x (more fragment)\n", IP_MF); in m_examine_ip()
/netbsd-src/sys/netipsec/
H A Dxform_ipip.c393 ipo->ip_off &= ~ htons(IP_DF | IP_MF | IP_OFFMASK); in ipip_output()
H A Dipsec.c878 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
886 if (ih.ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dip_compat.h1110 #ifndef IP_MF
1111 # define IP_MF ((u_short)0x2000) macro
H A Dip_fil_netbsd.c1319 mhip->ip_off |= IP_MF; in ipf_fastroute()
1342 ip->ip_off = htons((u_short)IP_MF); in ipf_fastroute()
/netbsd-src/sys/altq/
H A Daltq_subr.c978 if (ip_off & IP_MF) in extract_ports4()
1618 if ((ntohs(ip->ip_off) & IP_MF) == 0) in ip4f_lookup()
/netbsd-src/external/bsd/ipf/dist/tools/
H A Dipmon.c1329 ipoff & IP_MF ? "+" : "", in print_ipflog()
1345 ipoff & IP_MF ? "+" : "", in print_ipflog()
/netbsd-src/sys/dev/ic/
H A Dhme.c783 (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) != 0) in hme_get()
H A Di82557.c1268 (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) != 0) in fxp_rx_hwcksum()
H A Dgem.c1881 (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK))) in gem_rint()
/netbsd-src/sys/arch/sgimips/mace/
H A Dif_mec.c1781 (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) != 0) in mec_rxcsum()
/netbsd-src/sys/dist/pf/net/
H A Dpf_norm.c864 int mff = (ntohs(h->ip_off) & IP_MF);

12