Searched refs:sw_csum (Results 1 - 3 of 3) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_output.c | 275 int isbroadcast, sw_csum; local 1630 sw_csum = m->m_pkthdr.csum_flags 1647 sw_csum = CSUM_DELAY_IP; /* do IP hdr chksum in software */ 1650 sw_csum |= (CSUM_DELAY_DATA & m->m_pkthdr.csum_flags); 1653 sw_csum |= (CSUM_DELAY_DATA | CSUM_DELAY_IP) & 1657 if (sw_csum & CSUM_DELAY_DATA) { 1659 sw_csum &= ~CSUM_DELAY_DATA; 1686 if (sw_csum & CSUM_DELAY_IP) { 1766 error = ip_fragment(m, ifp, ifp->if_mtu, sw_csum); 1829 ip_fragment(struct mbuf *m, struct ifnet *ifp, unsigned long mtu, int sw_csum) argument 2997 int sw_csum = (apple_hwcksum_tx == 0); local [all...] |
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ip6_output.c | 1335 int sw_csum; local 1344 sw_csum = m->m_pkthdr.csum_flags; 1346 sw_csum = m->m_pkthdr.csum_flags & 1349 if ((sw_csum & CSUM_DELAY_IPV6_DATA) != 0) {
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf.c | 7624 int sw_csum = 0; local 7714 sw_csum = m0->m_pkthdr.csum_flags & 7738 sw_csum = CSUM_DELAY_IP; 7741 sw_csum |= (CSUM_DELAY_DATA & m0->m_pkthdr.csum_flags); 7744 sw_csum |= (CSUM_DELAY_DATA | CSUM_DELAY_IP) & 7748 if (sw_csum & CSUM_DELAY_DATA) { 7750 sw_csum &= ~CSUM_DELAY_DATA; 7764 if (sw_csum & CSUM_DELAY_IP) 7791 error = ip_fragment(m0, ifp, ifp->if_mtu, sw_csum);
|
Completed in 43 milliseconds