Deleted Added
full compact
if_llatbl.h (223862) if_llatbl.h (225698)
1/*
2 * Copyright (c) 2004 Luigi Rizzo, Alessandro Cerri. All rights reserved.
3 * Copyright (c) 2004-2008 Qing Li. All rights reserved.
4 * Copyright (c) 2008 Kip Macy. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2004 Luigi Rizzo, Alessandro Cerri. All rights reserved.
3 * Copyright (c) 2004-2008 Qing Li. All rights reserved.
4 * Copyright (c) 2008 Kip Macy. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/net/if_llatbl.h 223862 2011-07-08 09:38:33Z zec $");
28__FBSDID("$FreeBSD: head/sys/net/if_llatbl.h 225698 2011-09-20 20:27:26Z kmacy $");
29
30#ifndef _NET_IF_LLATBL_H_
31#define _NET_IF_LLATBL_H_
32
33#include "opt_ofed.h"
34
35#include <sys/_rwlock.h>
36#include <netinet/in.h>

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

54 * Code referencing llentry must at least hold
55 * a shared lock
56 */
57struct llentry {
58 LIST_ENTRY(llentry) lle_next;
59 struct rwlock lle_lock;
60 struct lltable *lle_tbl;
61 struct llentries *lle_head;
29
30#ifndef _NET_IF_LLATBL_H_
31#define _NET_IF_LLATBL_H_
32
33#include "opt_ofed.h"
34
35#include <sys/_rwlock.h>
36#include <netinet/in.h>

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

54 * Code referencing llentry must at least hold
55 * a shared lock
56 */
57struct llentry {
58 LIST_ENTRY(llentry) lle_next;
59 struct rwlock lle_lock;
60 struct lltable *lle_tbl;
61 struct llentries *lle_head;
62 void (*lle_free)(struct lltable *, struct llentry *);
62 struct mbuf *la_hold;
63 int la_numheld; /* # of packets currently held */
64 time_t la_expire;
65 uint16_t la_flags;
66 uint16_t la_asked;
67 uint16_t la_preempt;
68 uint16_t ln_byhint;
69 int16_t ln_state; /* IPv6 has ND6_LLINFO_NOSTATE == -2 */

--- 136 unchanged lines hidden ---
63 struct mbuf *la_hold;
64 int la_numheld; /* # of packets currently held */
65 time_t la_expire;
66 uint16_t la_flags;
67 uint16_t la_asked;
68 uint16_t la_preempt;
69 uint16_t ln_byhint;
70 int16_t ln_state; /* IPv6 has ND6_LLINFO_NOSTATE == -2 */

--- 136 unchanged lines hidden ---