Lines Matching +full:0 +full:x0020000
47 * do not advertise if ipforwarding=0
103 #define EPOCH NEVER /* bias time by this to avoid <0 */
123 #define INADDR_ALLROUTERS_GROUP 0xe0000002 /* 224.0.0.2 */
127 #define MIN_PreferenceLevel 0x80000000
162 # define RS_IF 0x001 /* for network interface */
163 # define RS_NET_INT 0x002 /* authority route */
164 # define RS_NET_SYN 0x004 /* fake net route for subnet */
166 # define RS_SUBNET 0x008 /* subnet route from any source */
167 # define RS_LOCAL 0x010 /* loopback for pt-to-pt */
168 # define RS_MHOME 0x020 /* from -m */
169 # define RS_STATIC 0x040 /* from the kernel */
170 # define RS_RDISC 0x080 /* from router discovery */
188 #define rt_ifp rt_spares[0].rts_ifp
189 #define rt_gate rt_spares[0].rts_gate
190 #define rt_router rt_spares[0].rts_router
191 #define rt_metric rt_spares[0].rts_metric
192 #define rt_tag rt_spares[0].rts_tag
193 #define rt_time rt_spares[0].rts_time
194 #define rt_de_ag rt_spares[0].rts_de_ag
196 #define HOST_MASK 0xffffffff
204 * (i.e. remote & metric=0)
206 #define AGE_RT(rt_state,ifp) (0 == ((rt_state) & (RS_MHOME | RS_STATIC \
209 || (ifp) == 0 \
286 #define IS_ALIAS 0x0000001 /* interface alias */
287 #define IS_SUBNET 0x0000002 /* interface on subnetted network */
288 #define IS_REMOTE 0x0000004 /* interface is not on this machine */
289 #define IS_PASSIVE 0x0000008 /* remote and does not do RIP */
290 #define IS_EXTERNAL 0x0000010 /* handled by EGP or something */
291 #define IS_CHECKED 0x0000020 /* still exists */
292 #define IS_ALL_HOSTS 0x0000040 /* in INADDR_ALLHOSTS_GROUP */
293 #define IS_ALL_ROUTERS 0x0000080 /* in INADDR_ALLROUTERS_GROUP */
294 #define IS_DISTRUST 0x0000100 /* ignore untrusted routers */
295 #define IS_REDIRECT_OK 0x0000200 /* accept ICMP redirects */
296 #define IS_BROKE 0x0000400 /* seems to be broken */
297 #define IS_SICK 0x0000800 /* seems to be broken */
298 #define IS_DUP 0x0001000 /* has a duplicate address */
299 #define IS_NEED_NET_SYN 0x0002000 /* need RS_NET_SYN route */
300 #define IS_NO_AG 0x0004000 /* do not aggregate subnets */
301 #define IS_NO_SUPER_AG 0x0008000 /* do not aggregate networks */
302 #define IS_NO_RIPV1_IN 0x0010000 /* no RIPv1 input at all */
303 #define IS_NO_RIPV2_IN 0x0020000 /* no RIPv2 input at all */
306 #define IS_NO_RIPV1_OUT 0x0040000 /* no RIPv1 output at all */
307 #define IS_NO_RIPV2_OUT 0x0080000 /* no RIPv2 output at all */
312 #define IS_NO_RIP_MCAST 0x0100000 /* broadcast RIPv2 */
313 #define IS_NO_ADV_IN 0x0200000 /* do not listen to advertisements */
314 #define IS_NO_SOL_OUT 0x0400000 /* send no solicitations */
315 #define IS_SOL_OUT 0x0800000 /* send solicitations */
317 #define IS_NO_ADV_OUT 0x1000000 /* do not advertise rdisc */
318 #define IS_ADV_OUT 0x2000000 /* advertise rdisc */
320 #define IS_BCAST_RDISC 0x4000000 /* broadcast instead of multicast */
322 #define IS_PM_RDISC 0x8000000 /* poor-man's router discovery */
342 #define AGS_SUPPRESS 0x001 /* combine with coarser mask */
343 #define AGS_AGGREGATE 0x002 /* synthesize combined routes */
344 #define AGS_REDUN0 0x004 /* redundant, finer routes output */
345 #define AGS_REDUN1 0x008
348 #define AGS_GATEWAY 0x010 /* tell kernel RTF_GATEWAY */
349 #define AGS_IF 0x020 /* for an interface */
350 #define AGS_RIPV2 0x040 /* send only as RIPv2 */
351 #define AGS_FINE_GATE 0x080 /* ignore differing ag_gate when this
353 #define AGS_CORS_GATE 0x100 /* ignore differing gate when this
355 #define AGS_SPLIT_HZ 0x200 /* suppress for split horizon */
421 extern int stopint; /* !=0 to stop */
466 #define TRACEACTIONS (tracelevel != 0)
586 #define on_net(a,net,mask) (((ntohl(a) ^ (net)) & (mask)) == 0)