Lines Matching refs:netif
48 #include "lwip/netif.h"
74 struct netif *
77 struct netif *netif;
79 for(netif = netif_list; netif != NULL; netif = netif->next) {
80 if (ip_addr_netcmp(dest, &(netif->ip_addr), &(netif->netmask))) {
81 return netif;
98 struct netif *netif;
102 if ((netif = ip_route((struct ip_addr *)&(iphdr->dest))) == NULL) {
143 netif->output(netif, p, (struct ip_addr *)&(iphdr->dest));
157 ip_input(struct pbuf *p, struct netif *inp) {
159 struct netif *netif;
187 for(netif = netif_list; netif != NULL; netif = netif->next) {
191 LWIP_DEBUGF(IP_DEBUG, ("netif->ip_addr "));
195 if (ip_addr_cmp(&(iphdr->dest), &(netif->ip_addr))) {
201 if (netif == NULL) {
262 u8_t proto, struct netif *netif)
290 ip_addr_set(&(iphdr->src), &(netif->ip_addr));
301 LWIP_DEBUGF(IP_DEBUG, ("ip_output_if: %c%c (len %"U16_F")\n", netif->name[0], netif->name[1], p->tot_len));
307 return netif->output(netif, p, dest);
320 struct netif *netif;
321 if ((netif = ip_route(dest)) == NULL) {
327 return ip_output_if (p, src, dest, ttl, proto, netif);
335 struct netif *netif;
338 if ((netif = ip_route(dest)) == NULL) {
344 LWIP_NETIF_HWADDRHINT(netif, addr_hint);
345 err = ip_output_if(p, src, dest, ttl, tos, proto, netif);
346 LWIP_NETIF_HWADDRHINT(netif, NULL);