Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

SRC/ioctl.c File Reference


Detailed Description

BSD ioctlsocket().

Definition in file ioctl.c.

Go to the source code of this file.

Functions

int file_ioctrl (Socket *socket, long cmd, char *argp)
int iface_ioctrl (Socket *socket, long cmd, char *argp)
int arp_ioctrl (Socket *socket, long cmd, char *argp)
int waterm_ioctrl (Socket *socket, long cmd, char *argp)
const char * get_ioctl_cmd (long cmd)
int W32_CALL ioctlsocket (int s, long cmd, char *argp)
void __get_ifname (char *if_name)
void __set_ifname (const char *if_name)
ifnet * eth_ifnet (void)
ifnet * tok_ifnet (void)
void __assert_fail (unsigned line)
const char * eth_addr_string (struct ether_addr *eth)
const char * if_flags_string (unsigned short flags)
int main (void)

Variables

char eth_ifname [IFNAMSIZ] = "eth0"
char arc_ifname [IFNAMSIZ] = "arch0"
char tok_ifname [IFNAMSIZ] = "tr0"
char fddi_ifname [IFNAMSIZ] = "fddi0"
char ppp_ifname [IFNAMSIZ] = "ppp0"
char slp_ifname [IFNAMSIZ] = "slp0"
const struct search_list commands []


Function Documentation

struct ifnet* eth_ifnet void   )  [static]
 

Todo:
fill info
Definition at line 231 of file ioctl.c.

int iface_ioctrl Socket *  socket,
long  cmd,
char *  argp
[static]
 

Todo:
Get point-to-point address

Set point-to-point address

Set interface metric

Handle deleting interface address

Handle add/change interface alias

Definition at line 251 of file ioctl.c.

References _eth_addr, _eth_is_init, _eth_set_addr(), _pkt_rxmode, _pktdevclass, DWORD, eth_address, my_ip_addr, RXMODE_MULTICAST2, RXMODE_PROMISCOUS, sin_mask, and socket().

struct ifnet* tok_ifnet void   )  [static]
 

Todo:
fill info
Definition at line 239 of file ioctl.c.

int waterm_ioctrl Socket *  socket,
long  cmd,
char *  argp
[static]
 

Todo:
set high watermark

get high watermark

set low watermark

get low watermark

OOB data available?

Definition at line 496 of file ioctl.c.

References DWORD, and socket().


Generated on Wed Aug 4 08:55:56 2010 for Watt-32 tcp/ip by doxygen 1.3.8