60 |
|
|
61 |
char name[2]; |
char name[2]; |
62 |
/* This function is called by the IP module when it wants |
/* This function is called by the IP module when it wants |
63 |
to send a packet on the interface. */ |
to send a packet on the interface. This function typically |
64 |
|
first resolves the hardware address, then sends the packet. */ |
65 |
err_t (* output)(struct netif *netif, struct pbuf *p, |
err_t (* output)(struct netif *netif, struct pbuf *p, |
66 |
struct ip_addr *ipaddr); |
struct ip_addr *ipaddr); |
67 |
|
/* This function is called by the ARP module when it wants |
68 |
|
to send a packet on the interface. This function outputs |
69 |
|
the pbuf on the link medium. */ |
70 |
err_t (* linkoutput)(struct netif *netif, struct pbuf *p); |
err_t (* linkoutput)(struct netif *netif, struct pbuf *p); |
71 |
|
|
72 |
/* This field can be set bu the device driver and could point |
/* This field can be set bu the device driver and could point |