Lines Matching refs:netif
917 * Binds the connection to a netif and IP address.
919 * are guaranteed to have come in via the specified netif, and all
920 * outgoing packets will go out via the specified netif.
923 * @param netif the netif to bind to. Can be NULL.
926 tcp_bind_netif(struct tcp_pcb *pcb, const struct netif *netif)
929 if (netif != NULL) {
930 pcb->netif_idx = netif_get_index(netif);
1236 struct netif *netif = NULL;
1258 netif = netif_get_by_index(pcb->netif_idx, group);
1260 netif = netif_get_by_index(pcb->netif_idx);
1265 netif = ip_route(&pcb->local_ip, &pcb->remote_ip, group);
1267 netif = ip_route(&pcb->local_ip, &pcb->remote_ip);
1270 if (netif == NULL) {
1277 const ip_addr_t *local_ip = ip_netif_get_local_ip(netif, ipaddr);
1286 * Given that we already have the target netif, this is easy and cheap. */
1289 ip6_addr_assign_zone(ip_2_ip6(&pcb->remote_ip), IP6_UNICAST, netif);
1337 pcb->mss = tcp_eff_send_mss_netif(pcb->mss, netif, &pcb->remote_ip);
2416 * netif (if not NULL).
2419 tcp_eff_send_mss_netif(u16_t sendmss, struct netif *outif, const ip_addr_t *dest)
2506 /** This function is called from netif.c when address is changed or netif is removed
2508 * @param old_addr IP address of the netif before change
2509 * @param new_addr IP address of the netif after change or NULL if netif has been removed