00001 /* 00002 ** route.h for in /home/anoman/work/lse/lseos/lseos-net/libinet 00003 ** 00004 ** Copyright (c)2004 Arthur Kopatsy 00005 ** Login <kopats_a@epita.fr> 00006 ** 00007 ** Started on Wed Nov 3 16:32:51 2004 Arthur Kopatsy 00008 ** Last update Wed Nov 3 16:32:52 2004 Arthur Kopatsy 00009 */ 00010 00011 #ifndef INET_ROUTE_H_ 00012 #define INET_ROUTE_H_ 00013 00014 /* 00015 ** If gw is INADDR_ANY, select interface wich belongs to subnet. 00016 ** If subnet is NULL, this is default route. 00017 */ 00018 00019 struct s_route 00020 { 00021 struct s_subnet rt_subnet; 00022 struct in_addr rt_gw; 00023 }; 00024 00025 #endif