ip addr, subnet addr, broadcast addr - using ioctl
[링크 : http://www.cciezone.com/?p=60&cpage=1]
ip addr - using gethostname() , gethostbyname(), addrinfo()
[링크 : http://stackoverflow.com/questions/625663/how-to-get-my-non-loopback-network-ip-address-in-c]
set gateway addr - using ioctl
[링크 : http://www.linuxquestions.org/questions/linux-networking-3/how-to-add-a-gateway-address-using-ioctl-in-c-in-linux-512213/]
get gateway addr - using send(), recv()
[링크 : http://www.linuxquestions.org/questions/linux-networking-3/howto-find-gateway-address-through-code-397078/]
[ifconfig.c : http://www.koders.com/c/fidF4E339CD5847BBECCA5405DD6592D79452A56D3E.aspx?s=link]
man page
[ioctl : http://docs.huihoo.com/gnu/linux/syscalls_17.html]
[netdevice : http://unixhelp.ed.ac.uk/CGI/man-cgi?netdevice+7]
내부링크 (소스코드 포함)
[링크 : 네트워크 장치 갯수 얻기 (get amount of eth?)]
[링크 : http://www.cciezone.com/?p=60&cpage=1]
ip addr - using gethostname() , gethostbyname(), addrinfo()
[링크 : http://stackoverflow.com/questions/625663/how-to-get-my-non-loopback-network-ip-address-in-c]
set gateway addr - using ioctl
[링크 : http://www.linuxquestions.org/questions/linux-networking-3/how-to-add-a-gateway-address-using-ioctl-in-c-in-linux-512213/]
get gateway addr - using send(), recv()
[링크 : http://www.linuxquestions.org/questions/linux-networking-3/howto-find-gateway-address-through-code-397078/]
[ifconfig.c : http://www.koders.com/c/fidF4E339CD5847BBECCA5405DD6592D79452A56D3E.aspx?s=link]
man page
[ioctl : http://docs.huihoo.com/gnu/linux/syscalls_17.html]
[netdevice : http://unixhelp.ed.ac.uk/CGI/man-cgi?netdevice+7]
내부링크 (소스코드 포함)
[링크 : 네트워크 장치 갯수 얻기 (get amount of eth?)]
'Linux API > network' 카테고리의 다른 글
네트워크 장치 갯수 얻기 (get amount of eth?) (0) | 2009.06.18 |
---|---|
gateway 정보 (0) | 2009.06.05 |
network 관련 include 할 파일 목록 (0) | 2009.06.05 |
offsetof() - stddef.h (0) | 2009.06.05 |
SIOCGIF가 모야? (0) | 2009.06.05 |