SMAP: ps2ip_getconfig()
Posted: Mon Jun 12, 2006 9:33 pm
Hello,
after loading the SMAP Ethernet device driver, I'm trying to call the ps2ip_getconfig() function from EE.
This is the declaration:
int ps2ip_getconfig(char *netif_name, t_ip_info *ip_info);
Now, I'm wondering what netif_name would be? In the SMAP source code it says:
#define IFNAME0 's'
#define IFNAME1 'm'
But "sm" doesn't seem to work as the network interface name; ip_info contains nothing useful. Any Ideas?
after loading the SMAP Ethernet device driver, I'm trying to call the ps2ip_getconfig() function from EE.
This is the declaration:
int ps2ip_getconfig(char *netif_name, t_ip_info *ip_info);
Now, I'm wondering what netif_name would be? In the SMAP source code it says:
#define IFNAME0 's'
#define IFNAME1 'm'
But "sm" doesn't seem to work as the network interface name; ip_info contains nothing useful. Any Ideas?