Пример #1
0
 public netif(lwip lwip, string name, ip_addr ipaddr, ip_addr netmask, ip_addr gw, netif_output_t output)
 {
     this.lwip = lwip;
     this.name = name;
     this.m_output = output;
     set_ipaddr(ipaddr);
     set_netmask(netmask);
     set_gw(gw);
 }
Пример #2
0
 public netif(lwip lwip, string name, ip_addr ipaddr, ip_addr netmask, ip_addr gw, netif_output_t output)
 {
     this.lwip     = lwip;
     this.name     = name;
     this.m_output = output;
     set_ipaddr(ipaddr);
     set_netmask(netmask);
     set_gw(gw);
 }
Пример #3
0
 internal static void netif_init(lwip lwip, string name, ip_addr ipaddr, ip_addr netmask, ip_addr gw, netif_output_t output)
 {
     lwip.netif = new netif(lwip, name, ipaddr, netmask, gw, output);
 }
Пример #4
0
 internal static void netif_init(lwip lwip, string name, ip_addr ipaddr, ip_addr netmask, ip_addr gw, netif_output_t output)
 {
     lwip.netif = new netif(lwip, name, ipaddr, netmask, gw, output);
 }