Deleted Added
full compact
if_tapvar.h (139823) if_tapvar.h (147256)
1/*-
2 * Copyright (C) 1999-2000 by Maksim Yevmenkin <m_evmenkin@yahoo.com>
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

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

29 * Copyright (c) 1998 Brian Somers <brian@Awfulhak.org>
30 * All rights reserved.
31 *
32 * Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk>
33 * Nottingham University 1987.
34 */
35
36/*
1/*-
2 * Copyright (C) 1999-2000 by Maksim Yevmenkin <m_evmenkin@yahoo.com>
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

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

29 * Copyright (c) 1998 Brian Somers <brian@Awfulhak.org>
30 * All rights reserved.
31 *
32 * Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk>
33 * Nottingham University 1987.
34 */
35
36/*
37 * $FreeBSD: head/sys/net/if_tapvar.h 139823 2005-01-07 01:45:51Z imp $
37 * $FreeBSD: head/sys/net/if_tapvar.h 147256 2005-06-10 16:49:24Z brooks $
38 * $Id: if_tapvar.h,v 0.6 2000/07/11 02:16:08 max Exp $
39 */
40
41#ifndef _NET_IF_TAPVAR_H_
42#define _NET_IF_TAPVAR_H_
43
44/*
45 * tap_mtx locks tap_flags, tap_pid. tap_next locked with global tapmtx.
46 * Other fields locked by owning subsystems.
47 */
48struct tap_softc {
38 * $Id: if_tapvar.h,v 0.6 2000/07/11 02:16:08 max Exp $
39 */
40
41#ifndef _NET_IF_TAPVAR_H_
42#define _NET_IF_TAPVAR_H_
43
44/*
45 * tap_mtx locks tap_flags, tap_pid. tap_next locked with global tapmtx.
46 * Other fields locked by owning subsystems.
47 */
48struct tap_softc {
49 struct arpcom arpcom; /* ethernet common data */
50#define tap_if arpcom.ac_if
49 struct ifnet *tap_ifp;
51 u_short tap_flags; /* misc flags */
52#define TAP_OPEN (1 << 0)
53#define TAP_INITED (1 << 1)
54#define TAP_RWAIT (1 << 2)
55#define TAP_ASYNC (1 << 3)
56#define TAP_READY (TAP_OPEN|TAP_INITED)
57#define TAP_VMNET (1 << 4)
58

--- 12 unchanged lines hidden ---
50 u_short tap_flags; /* misc flags */
51#define TAP_OPEN (1 << 0)
52#define TAP_INITED (1 << 1)
53#define TAP_RWAIT (1 << 2)
54#define TAP_ASYNC (1 << 3)
55#define TAP_READY (TAP_OPEN|TAP_INITED)
56#define TAP_VMNET (1 << 4)
57

--- 12 unchanged lines hidden ---