| 1197 | } |
| 1198 | |
| 1199 | static FError FXmacOsOutput(FXmacOs *instance_p, struct pbuf *p) |
| 1200 | { |
| 1201 | FError status; |
| 1202 | |
| 1203 | status = FXmacSgsend(instance_p, p); |
| 1204 | if (status != FT_SUCCESS) |
| 1205 | { |
| 1206 | #if LINK_STATS |
| 1207 | lwip_stats.link.drop++; |
| 1208 | #endif |
| 1209 | } |
| 1210 | |
| 1211 | #if LINK_STATS |
| 1212 | lwip_stats.link.xmit++; |
| 1213 | #endif /* LINK_STATS */ |
| 1214 | |
| 1215 | return status; |
| 1216 | } |
| 1217 | |
| 1218 | FError FXmacOsTx(FXmacOs *instance_p, void *tx_buf) |
| 1219 | { |
no test coverage detected