RU/2: Форум. Общение пользователей и разработчиков OS/2 (eCS). : netstat -r


Список сообщений | Написать новое | Ответить на сообщение | Домой Поиск:
Предыдущее сообщение | Следующее сообщение
From : Sergey Poziturin, 2:5020/2140
To : Sanych
Subj : netstat -r

> G:\C_Prj\LibEmb_v2.prj>netstat -r
> destination router netmask metric flags intrf
>
> default 192.168.10.100 0.0.0.0 1 UGSP lan0
> 127.0.0.1 127.0.0.1 255.255.255.255 0 UH lo
> 192.168 192.168.110.7 255.255.0.0 0 UC lan0
> 192.170 192.170.110.7 255.255.0.0 0 UC lan1
> 192.170.112 192.170.111.1 255.255.255.0 1 UGSP lan1
> 255.255.255.255 192.168.10.100 255.255.255.255 1 UGHW lan0
>
> Вопрос: А где можно _ПОДРОБНО_ почитать про флаги (UGHWSP3 итд) ?

Подозреваю, что оно стандартное:

1 RTF_PROTO1 Protocol specific routing flag #1
2 RTF_PROTO2 Protocol specific routing flag #2
3 RTF_PROTO3 Protocol specific routing flag #3
B RTF_BLACKHOLE Just discard pkts (during updates)
b RTF_BROADCAST The route represents a broadcast address
C RTF_CLONING Generate new routes on use
c RTF_PRCLONING Protocol-specified generate new routes on use
D RTF_DYNAMIC Created dynamically (by redirect)
G RTF_GATEWAY Destination requires forwarding by intermediary
H RTF_HOST Host entry (net otherwise)
L RTF_LLINFO Valid protocol to link address translation
M RTF_MODIFIED Modified dynamically (by redirect)
R RTF_REJECT Host or net unreachable
S RTF_STATIC Manually added
U RTF_UP Route usable
W RTF_WASCLONED Route was generated as a result of cloning
X RTF_XRESOLVE External daemon translates proto to link address

Взято из man 1 netstat (freebsd).

Thu 01 Dec 2005 20:25 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) G




Programmed by Dmitri Maximovich, Dmitry I. Platonoff, Eugen Kuleshov.
25.09.99 (c) 1999, RU/2. All rights reserved.
Rewritten by Dmitry Ban. All rights ignored.