static err_t rza1_etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr) { /* Only send packet is link is up */ if (netif->flags & NETIF_FLAG_LINK_UP) { return etharp_output(netif, q, ipaddr); } return ERR_CONN; }
static err_t ethernetif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) { /* resolve hardware address, then send (or queue) packet */ return etharp_output(netif, ipaddr, p); }
err_t k64f_etharp_output_ipv4(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr) { /* Only send packet is link is up */ if (netif->flags & NETIF_FLAG_LINK_UP) { return etharp_output(netif, q, ipaddr); } return ERR_CONN; }
static err_t netfront_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) { //printf("netfront_output\n"); //farewellkou /* resolve hardware address, then send (or queue) packet */ return etharp_output(netif, p, ipaddr); }
static err_t ethernetif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) { // dprintf("ethernetif_output: netif %p, pbuf %p, ipaddr %p\n", netif, p, ipaddr); /* resolve hardware address, then send (or queue) packet */ return etharp_output(netif, ipaddr, p); }
/* This function is called by the TCP/IP stack when an IP packet should be * sent. It uses the ethernet ARP module provided by lwIP to resolve the * destination MAC address. The ARP module will later call our low level * output function mcf523xfec_output_raw. */ err_t mcf523xfec_output( struct netif * netif, struct pbuf * p, struct ip_addr * ipaddr ) { err_t res; mcf523xfec_if_t *fecif = netif->state; FEC_DEBUG_TX_TIMING( 1 ); /* Make sure only one thread is in this function. */ sys_sem_wait( fecif->tx_sem ); res = etharp_output( netif, ipaddr, p ); FEC_DEBUG_TX_TIMING( 0 ); return res; }
static err_t paulosif_output (struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) { struct pbuf *q; struct genericif *genericif; genericif = netif->state; q = etharp_output (netif, ipaddr, p); if (q != NULL) { low_level_output (genericif, q); pbuf_free (q); } return ERR_OK; }
static err_t SMapOutput(NetIF* pNetIF,PBuf* pOutput,IPAddr* pIPAddr) { err_t result; PBuf* pBuf; SaveGP(); pBuf=etharp_output(pNetIF,pIPAddr,pOutput); result=pBuf!=NULL ? SMapLowLevelOutput(pNetIF, pBuf):ERR_OK; RestoreGP(); return result; }
err_t ethernetif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) { return etharp_output(netif, p, ipaddr); }
/*-----------------------------------------------------------------------------------*/ static err_t mcf5272fecif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) { return etharp_output(netif, ipaddr, p); }
/*########################################################################## * * Called by the TCP/IP stack when an IP packet should be sent. * It calls the function called low_level_output() to actually transmit the * packet. *#########################################################################*/ static err_t nifce_driver_output(struct netif* netif, struct pbuf* p, struct ip_addr* ipaddr) { return(etharp_output(netif, p, ipaddr)); }