raw_bind_netif() function
Bind an RAW PCB to a specific netif. After calling this function, all packets received via this PCB are guaranteed to have come in via the specified netif, and all outgoing packets will go out via the specified netif. @see raw_disconnect()
Arguments
pcb
RAW PCB to be bound with netif.
netif
netif to bind to. Can be NULL.