Deleted Added
full compact
dn_heap.h (204865) dn_heap.h (240494)
1/*-
2 * Copyright (c) 1998-2010 Luigi Rizzo, Universita` di Pisa
3 * 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 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27/*
28 * Binary heap and hash tables, header file
29 *
1/*-
2 * Copyright (c) 1998-2010 Luigi Rizzo, Universita` di Pisa
3 * 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 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27/*
28 * Binary heap and hash tables, header file
29 *
30 * $FreeBSD: head/sys/netinet/ipfw/dn_heap.h 204865 2010-03-08 11:27:08Z luigi $
30 * $FreeBSD: head/sys/netpfil/ipfw/dn_heap.h 204865 2010-03-08 11:27:08Z luigi $
31 */
32
33#ifndef _IP_DN_HEAP_H
34#define _IP_DN_HEAP_H
35
36#define DN_KEY_LT(a,b) ((int64_t)((a)-(b)) < 0)
37#define DN_KEY_LEQ(a,b) ((int64_t)((a)-(b)) <= 0)
38

--- 153 unchanged lines hidden ---
31 */
32
33#ifndef _IP_DN_HEAP_H
34#define _IP_DN_HEAP_H
35
36#define DN_KEY_LT(a,b) ((int64_t)((a)-(b)) < 0)
37#define DN_KEY_LEQ(a,b) ((int64_t)((a)-(b)) <= 0)
38

--- 153 unchanged lines hidden ---