ng_bridge.c (185895) | ng_bridge.c (196019) |
---|---|
1/* 2 * ng_bridge.c 3 */ 4 5/*- 6 * Copyright (c) 2000 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 23 unchanged lines hidden (view full) --- 32 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY 36 * OF SUCH DAMAGE. 37 * 38 * Author: Archie Cobbs <archie@freebsd.org> 39 * | 1/* 2 * ng_bridge.c 3 */ 4 5/*- 6 * Copyright (c) 2000 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 23 unchanged lines hidden (view full) --- 32 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY 36 * OF SUCH DAMAGE. 37 * 38 * Author: Archie Cobbs <archie@freebsd.org> 39 * |
40 * $FreeBSD: head/sys/netgraph/ng_bridge.c 185895 2008-12-10 23:12:39Z zec $ | 40 * $FreeBSD: head/sys/netgraph/ng_bridge.c 196019 2009-08-01 19:26:27Z rwatson $ |
41 */ 42 43/* 44 * ng_bridge(4) netgraph node type 45 * 46 * The node performs standard intelligent Ethernet bridging over 47 * each of its connected hooks, or links. A simple loop detection 48 * algorithm is included which disables a link for priv->conf.loopTimeout --- 15 unchanged lines hidden (view full) --- 64#include <sys/lock.h> 65#include <sys/malloc.h> 66#include <sys/mbuf.h> 67#include <sys/errno.h> 68#include <sys/rwlock.h> 69#include <sys/syslog.h> 70#include <sys/socket.h> 71#include <sys/ctype.h> | 41 */ 42 43/* 44 * ng_bridge(4) netgraph node type 45 * 46 * The node performs standard intelligent Ethernet bridging over 47 * each of its connected hooks, or links. A simple loop detection 48 * algorithm is included which disables a link for priv->conf.loopTimeout --- 15 unchanged lines hidden (view full) --- 64#include <sys/lock.h> 65#include <sys/malloc.h> 66#include <sys/mbuf.h> 67#include <sys/errno.h> 68#include <sys/rwlock.h> 69#include <sys/syslog.h> 70#include <sys/socket.h> 71#include <sys/ctype.h> |
72#include <sys/vimage.h> | |
73 74#include <net/if.h> 75#include <net/ethernet.h> | 72 73#include <net/if.h> 74#include <net/ethernet.h> |
75#include <net/vnet.h> |
|
76 77#include <netinet/in.h> 78#include <netinet/ip_fw.h> 79 80#include <netgraph/ng_message.h> 81#include <netgraph/netgraph.h> 82#include <netgraph/ng_parse.h> 83#include <netgraph/ng_bridge.h> --- 961 unchanged lines hidden --- | 76 77#include <netinet/in.h> 78#include <netinet/ip_fw.h> 79 80#include <netgraph/ng_message.h> 81#include <netgraph/netgraph.h> 82#include <netgraph/ng_parse.h> 83#include <netgraph/ng_bridge.h> --- 961 unchanged lines hidden --- |