Searched refs:offload (Results 1 - 6 of 6) sorted by relevance
/macosx-10.10/xnu-2782.1.97/bsd/net/ |
H A D | kpi_interface.c | 791 ifnet_set_offload(ifnet_t interface, ifnet_offload_t offload) argument 799 interface->if_hwassist = (offload & offload_mask); 801 * Hardware capable of partial checksum offload is 811 log(LOG_DEBUG, "%s: set offload flags=%b\n", 817 if ((offload & any_offload_csum)) 819 if ((offload & IFNET_TSO_IPV4)) 821 if ((offload & IFNET_TSO_IPV6)) 823 if ((offload & IFNET_VLAN_MTU)) 825 if ((offload & IFNET_VLAN_TAGGING)) 827 if ((offload [all...] |
H A D | if_bridge.c | 1703 ifnet_offload_t offload; local 1707 offload = sc->sc_ifp->if_hwassist | IFNET_TSO_IPV4 | IFNET_TSO_IPV6; 1718 if (offload & IFNET_TSO_IPV4) { 1723 offload &= ~IFNET_TSO_IPV4; 1727 if (offload & IFNET_TSO_IPV6) { 1732 offload &= ~IFNET_TSO_IPV6; 1738 if (offload != sc->sc_ifp->if_hwassist) { 1739 error = ifnet_set_offload(sc->sc_ifp, offload); 1745 sc->sc_ifp->if_xname, offload, error);
|
H A D | if_vlan.c | 1340 ifnet_offload_t offload; local 1481 offload = ifnet_offload(p) & ~(IFNET_VLAN_TAGGING | IFNET_VLAN_MTU); 1482 ifnet_set_offload(ifp, offload);
|
H A D | if_bond.c | 2025 ifnet_offload_t offload; local 2027 offload = ifp_offload & port_ifp_offload; 2031 ifp_offload, port_ifp_offload, offload); 2037 ifnet_set_offload(ifp, offload);
|
H A D | kpi_interface.h | 167 @abstract Constants defining interface offload support. 232 @abstract Flags indicating the offload support of the interface. 1976 hardware offload bits that will be used by the networking stack. 2001 @discussion Sets a bitfield to indicate special hardware offload 2007 that correspond to the offload flags modified -- i.e. the driver 2011 @param offload The new set of flags indicating which offload options 2015 extern errno_t ifnet_set_offload(ifnet_t interface, ifnet_offload_t offload); 2021 @param interface Interface to retrieve the offload from. 2031 @param family The family for which the offload MT [all...] |
/macosx-10.10/libpcap-48/libpcap/ |
H A D | pcap-linux.c | 3623 * offload are enabled, so we don't get rudely surprised by 3628 int offload; local 3630 offload = iface_get_offload(handle); 3631 if (offload == -1) { 3635 if (!offload) {
|
Completed in 144 milliseconds