Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

uIP configuration functions
[The uIP TCP/IP stack]


Detailed Description

The uIP configuration functions are used for setting run-time parameters in uIP such as IP addresses.

uIP 설정 함수는 uIP를 IP 주소와 같이 파라메터 설정을 하기 위한 목적으로 사용된다.



Defines

#define uip_sethostaddr(addr)
 Set the IP address of this host.
이 호스트의 IP 주소를 설정한다.

#define uip_gethostaddr(addr)
 Get the IP address of this host.
이 호스트의 IP 주소를 얻는다.

#define uip_setdraddr(addr)
 Set the default router's IP address.
디폴트 라우터의 IP 주소를 설정한다.

#define uip_setnetmask(addr)
 Set the netmask.
netmask를 설정한다.

#define uip_getdraddr(addr)
 Get the default router's IP address.
디폴트 라우터의 IP 주소를 얻는다.

#define uip_getnetmask(addr)
 Get the netmask.
netmask를 얻는다.

#define uip_setethaddr(eaddr)
 Specifiy the Ethernet MAC address.
이더넷 MAC 주소를 설정한다.


Define Documentation

#define uip_getdraddr (  addr   ) 
 

Get the default router's IP address.

디폴트 라우터의 IP 주소를 얻는다.


Parameters:
addr A pointer to a 4-byte array that will be filled in with the IP address of the default router.

디폴트 라우터의 IP 주소로 채워진 4-byte 배열의 포인터.

#define uip_gethostaddr (  addr   ) 
 

Get the IP address of this host.

이 호스트의 IP 주소를 얻는다.


The IP address is represented as a 4-byte array where the first octet of the IP address is put in the first member of the 4-byte array.

IP 주소는 4-byte 배열의 첫번째 멤버에 IP 주소의 첫 옥텟이 들어 있는 4-byte 배열로 표현된다.


Parameters:
addr A pointer to a 4-byte array that will be filled in with the currently configured IP address.

최근에 변경된 IP 주소에 채워진 4-byte 배열의 포인터.

#define uip_getnetmask (  addr   ) 
 

Get the netmask.

netmask 를 얻는다.


Parameters:
addr A pointer to a 4-byte array that will be filled in with the value of the netmask.

netmask의 값으로 채워진 4-byte 배열의 포인터.

#define uip_setdraddr (  addr   ) 
 

Set the default router's IP address.

디폴트 라우터의 IP 주소를 설정한다.


Parameters:
addr A pointer to a 4-byte array containing the IP address of the default router.

디폴트 라우터의 IP 주소를 포함하는 4-byte 배열의 포인터.

#define uip_setethaddr (  eaddr   ) 
 

Specifiy the Ethernet MAC address.

이더넷 MAC 주소를 설정한다.


The ARP code needs to know the MAC address of the Ethernet card in order to be able to respond to ARP queries and to generate working Ethernet headers.

ARP 코드는 ARP 쿼리에 대한 응답과 이더넷 헤더 생성을 위해서 이더넷 카드의 MAC 주소를 알아야 한다.


Note:
This macro only specifies the Ethernet MAC address to the ARP code. It cannot be used to change the MAC address of the Ethernet card.

이 매크로는 오직 ARP 코드의 이더넷 MAC 주소를 설정한다. 이더넷 카드의 MAC 주소는 바뀔 수 없다.
Parameters:
eaddr A pointer to a struct uip_eth_addr containing the Ethernet MAC address of the Ethernet card.

구조체 uip_eth_addr에포함되어 있는 이더넷 카드의 이더넷 MAC 주소에 대한 포인터

#define uip_sethostaddr (  addr   ) 
 

Set the IP address of this host.

이 호스트의 IP 주소를 설정한다.


The IP address is represented as a 4-byte array where the first octet of the IP address is put in the first member of the 4-byte array.

IP 주소는 4-byte 배열의 첫번째 멤버에 IP 주소의 첫 옥텟이 들어 있는 4-byte 배열로 표현된다.


Parameters:
addr A pointer to a 4-byte representation of the IP address.

IP 주소의 4-byte 표현을 위한 포인터.

#define uip_setnetmask (  addr   ) 
 

Set the netmask.

netmask를 설정한다.


Parameters:
addr A pointer to a 4-byte array containing the IP address of the netmask.

netmask의 IP 주소를 포함하는 4-byte 배열의 포인터.


Generated on Tue Oct 7 15:51:43 2003 for uIP 0.9 by doxygen 1.3.3