in_fib.c (f5baf8bb12f39d0e8d64508c47eb6c4386ef716d) in_fib.c (04389c855e56d1715637fa43575ec13455a68b2e)
1/*-
2 * Copyright (c) 2015
3 * Alexander V. Chernikov <melifaro@FreeBSD.org>
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

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

55#include <net/vnet.h>
56
57#include <netinet/in.h>
58#include <netinet/in_var.h>
59#include <netinet/in_fib.h>
60
61#ifdef INET
62
1/*-
2 * Copyright (c) 2015
3 * Alexander V. Chernikov <melifaro@FreeBSD.org>
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

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

55#include <net/vnet.h>
56
57#include <netinet/in.h>
58#include <netinet/in_var.h>
59#include <netinet/in_fib.h>
60
61#ifdef INET
62
63/* Verify struct route compatiblity */
63/* Verify struct route compatibility */
64/* Assert 'struct route_in' is compatible with 'struct route' */
65CHK_STRUCT_ROUTE_COMPAT(struct route_in, ro_dst4);
66
67#ifdef FIB_ALGO
68VNET_DEFINE(struct fib_dp *, inet_dp);
69#endif
70
71#ifdef ROUTE_MPATH

--- 263 unchanged lines hidden ---
64/* Assert 'struct route_in' is compatible with 'struct route' */
65CHK_STRUCT_ROUTE_COMPAT(struct route_in, ro_dst4);
66
67#ifdef FIB_ALGO
68VNET_DEFINE(struct fib_dp *, inet_dp);
69#endif
70
71#ifdef ROUTE_MPATH

--- 263 unchanged lines hidden ---