Deleted Added
full compact
route.h (194629) route.h (196995)
1/*-
2 * Copyright (c) 1980, 1986, 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)route.h 8.4 (Berkeley) 1/9/95
1/*-
2 * Copyright (c) 1980, 1986, 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)route.h 8.4 (Berkeley) 1/9/95
30 * $FreeBSD: head/sys/net/route.h 194629 2009-06-22 15:07:12Z bz $
30 * $FreeBSD: head/sys/net/route.h 196995 2009-09-08 21:17:17Z np $
31 */
32
33#ifndef _NET_ROUTE_H_
34#define _NET_ROUTE_H_
35
36/*
37 * Kernel resident routing tables.
38 *

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

430 struct sockaddr *, int, struct sockaddr *, u_int);
431int rtrequest_fib(int, struct sockaddr *,
432 struct sockaddr *, struct sockaddr *, int, struct rtentry **, u_int);
433int rtrequest1_fib(int, struct rt_addrinfo *, struct rtentry **, u_int);
434
435#include <sys/eventhandler.h>
436typedef void (*rtevent_arp_update_fn)(void *, struct rtentry *, uint8_t *, struct sockaddr *);
437typedef void (*rtevent_redirect_fn)(void *, struct rtentry *, struct rtentry *, struct sockaddr *);
31 */
32
33#ifndef _NET_ROUTE_H_
34#define _NET_ROUTE_H_
35
36/*
37 * Kernel resident routing tables.
38 *

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

430 struct sockaddr *, int, struct sockaddr *, u_int);
431int rtrequest_fib(int, struct sockaddr *,
432 struct sockaddr *, struct sockaddr *, int, struct rtentry **, u_int);
433int rtrequest1_fib(int, struct rt_addrinfo *, struct rtentry **, u_int);
434
435#include <sys/eventhandler.h>
436typedef void (*rtevent_arp_update_fn)(void *, struct rtentry *, uint8_t *, struct sockaddr *);
437typedef void (*rtevent_redirect_fn)(void *, struct rtentry *, struct rtentry *, struct sockaddr *);
438/* route_arp_update_event is no longer generated; see arp_update_event */
438EVENTHANDLER_DECLARE(route_arp_update_event, rtevent_arp_update_fn);
439EVENTHANDLER_DECLARE(route_redirect_event, rtevent_redirect_fn);
440#endif
441
442#endif
439EVENTHANDLER_DECLARE(route_arp_update_event, rtevent_arp_update_fn);
440EVENTHANDLER_DECLARE(route_redirect_event, rtevent_redirect_fn);
441#endif
442
443#endif