Home
last modified time | relevance | path

Searched refs:CSUM_IP (Results 1 – 20 of 20) sorted by relevance

/f-stack/freebsd/netgraph/
H A Dng_checksum.h43 #define NG_CHECKSUM_CSUM_IPV4 (CSUM_IP|CSUM_TCP|CSUM_UDP)
H A Dng_patch.h46 #define NG_PATCH_CSUM_IPV4 (CSUM_IP|CSUM_TCP|CSUM_UDP|CSUM_SCTP)
H A Dng_checksum.c328 if (m->m_pkthdr.csum_flags & CSUM_IP) { in checksum_ipv4()
331 if ((priv->conf->csum_offload & CSUM_IP) == 0) { in checksum_ipv4()
337 m->m_pkthdr.csum_flags &= ~CSUM_IP; in checksum_ipv4()
/f-stack/freebsd/netinet/
H A Dip_output.c739 m->m_pkthdr.csum_flags |= CSUM_IP; in ip_output()
781 if (m->m_pkthdr.csum_flags & CSUM_IP & ~ifp->if_hwassist) { in ip_output()
783 m->m_pkthdr.csum_flags &= ~CSUM_IP; in ip_output()
1030 if (m->m_pkthdr.csum_flags & CSUM_IP & ~if_hwassist_flags) { in ip_fragment()
1032 m->m_pkthdr.csum_flags &= ~CSUM_IP; in ip_fragment()
1048 if (m0->m_pkthdr.csum_flags & CSUM_IP & ~if_hwassist_flags) { in ip_fragment()
1050 m0->m_pkthdr.csum_flags &= ~CSUM_IP; in ip_fragment()
H A Dip_fastfwd.c466 m->m_pkthdr.csum_flags |= CSUM_IP; in ip_tryforward()
H A Dip_mroute.c2401 mb_copy->m_pkthdr.csum_flags |= CSUM_IP; in pim_register_prepare()
/f-stack/freebsd/net/
H A Dif_loop.c86 #define LO_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_SCTP)
H A Dif_infiniband.c151 if (src->m_pkthdr.csum_flags & CSUM_IP) in update_mbuf_csumflags()
H A Dif_vxlan.c2429 const uint32_t v4 = CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP; in csum_flags_to_inner_flags()
2439 if (csum_flags_in & CSUM_IP) in csum_flags_to_inner_flags()
3109 hwa |= CSUM_IP; in vxlan_set_hwcaps()
H A Dif_ethersubr.c132 if (src->m_pkthdr.csum_flags & CSUM_IP) in update_mbuf_csumflags()
H A Dif_vlan.c1728 hwa |= p->if_hwassist & (CSUM_IP | CSUM_TCP | in vlan_capabilities()
H A Diflib.c308 #define CSUM_OFFLOAD (CSUM_IP_TSO|CSUM_IP6_TSO|CSUM_IP| \
2437 tx_ip_csum_flags = scctx->isc_tx_csum_flags & (CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_SCTP); in iflib_init_locked()
3228 pi->ipi_csum_flags |= (CSUM_IP_TCP | CSUM_IP); in iflib_parse_header()
3238 if ((sctx->isc_flags & IFLIB_NEED_ZERO_CSUM) && (pi->ipi_csum_flags & CSUM_IP)) in iflib_parse_header()
H A Dif_bridge.c3575 m->m_pkthdr.csum_flags |= CSUM_IP; in bridge_fragment()
/f-stack/lib/
H A Dff_veth.c211 if (mb->m_pkthdr.csum_flags & CSUM_IP) { in ff_mbuf_tx_offload()
610 ifp->if_hwassist |= CSUM_IP; in ff_veth_setup_interface()
/f-stack/freebsd/sys/
H A Dmbuf.h631 #define CSUM_IP 0x00000001 /* IP header checksum offload */ macro
670 #define CSUM_FLAGS_TX (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP | CSUM_IP_SCTP | \
703 #define CSUM_DELAY_IP CSUM_IP /* Only v4, no v6 IP hdr csum */
/f-stack/freebsd/arm/allwinner/
H A Dif_awg.c655 if ((m->m_pkthdr.csum_flags & CSUM_IP) != 0) { in awg_encap()
1175 if_sethwassistbits(ifp, CSUM_IP | CSUM_UDP | CSUM_TCP, 0); in awg_ioctl()
1177 if_sethwassistbits(ifp, 0, CSUM_IP | CSUM_UDP | CSUM_TCP); in awg_ioctl()
1977 if_sethwassist(sc->ifp, CSUM_IP | CSUM_UDP | CSUM_TCP); in awg_attach()
/f-stack/tools/compat/include/sys/
H A Dmbuf.h455 #define CSUM_IP 0x00000001 /* IP header checksum offload */ macro
495 #define CSUM_DELAY_IP CSUM_IP /* Only v4, no v6 IP hdr csum */
/f-stack/freebsd/contrib/ena-com/
H A Dena_plat.h390 #define CSUM_OFFLOAD (CSUM_IP|CSUM_TCP|CSUM_UDP)
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c1118 } else if (m->m_pkthdr.csum_flags == CSUM_IP) {
/f-stack/freebsd/netpfil/pf/
H A Dpf.c5556 m0->m_pkthdr.csum_flags |= CSUM_IP; in pf_route()
5581 if (m0->m_pkthdr.csum_flags & CSUM_IP & ~ifp->if_hwassist) { in pf_route()
5583 m0->m_pkthdr.csum_flags &= ~CSUM_IP; in pf_route()