route.c (5e0517186d418529323a5eb007287145e4fd3b50) route.c (f964d60dd3287932055bfdaadf3cba4a7ff2d648)
1/*
2 * Copyright (c) 1983, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 121 unchanged lines hidden (view full) ---

130static void ntreestuff (void);
131static void np_rtentry (struct rt_msghdr *);
132static void p_sockaddr (struct sockaddr *, struct sockaddr *, int, int);
133static void p_flags (int, char *);
134static void p_rtentry (struct rtentry *);
135static u_long forgemask (u_long);
136static void domask (char *, u_long, u_long);
137
1/*
2 * Copyright (c) 1983, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 121 unchanged lines hidden (view full) ---

130static void ntreestuff (void);
131static void np_rtentry (struct rt_msghdr *);
132static void p_sockaddr (struct sockaddr *, struct sockaddr *, int, int);
133static void p_flags (int, char *);
134static void p_rtentry (struct rtentry *);
135static u_long forgemask (u_long);
136static void domask (char *, u_long, u_long);
137
138#ifdef INET6
139char *routename6 (struct sockaddr_in6 *);
140char *netname6 (struct sockaddr_in6 *, struct in6_addr *);
141#endif /*INET6*/
142
143/*
144 * Print routing tables.
145 */
146void
147routepr(u_long rtree)
148{
149 struct radix_node_head *rnh, head;
150 int i;

--- 911 unchanged lines hidden ---
138/*
139 * Print routing tables.
140 */
141void
142routepr(u_long rtree)
143{
144 struct radix_node_head *rnh, head;
145 int i;

--- 911 unchanged lines hidden ---