1/* $NetBSD: if_gre.h,v 1.13 2003/11/10 08:51:52 wiz Exp $ */
2/* $FreeBSD: head/sys/net/if_gre.h 125024 2004-01-26 12:33:56Z sobomax $ */
3
4/*
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Heiko W.Rupp <hwr@pilhuhn.de>
10 *
--- 160 unchanged lines hidden (view full) ---
171#define GRESADDRD _IOW('i', 102, struct ifreq)
172#define GREGADDRS _IOWR('i', 103, struct ifreq)
173#define GREGADDRD _IOWR('i', 104, struct ifreq)
174#define GRESPROTO _IOW('i' , 105, struct ifreq)
175#define GREGPROTO _IOWR('i', 106, struct ifreq)
176
177#ifdef _KERNEL
178LIST_HEAD(gre_softc_head, gre_softc);
179extern struct gre_softc_head gre_softc_list;
180
181u_int16_t gre_in_cksum(u_int16_t *, u_int);
182#endif /* _KERNEL */
183
184#endif
2/* $FreeBSD: head/sys/net/if_gre.h 125024 2004-01-26 12:33:56Z sobomax $ */
3
4/*
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Heiko W.Rupp <hwr@pilhuhn.de>
10 *
--- 160 unchanged lines hidden (view full) ---
171#define GRESADDRD _IOW('i', 102, struct ifreq)
172#define GREGADDRS _IOWR('i', 103, struct ifreq)
173#define GREGADDRD _IOWR('i', 104, struct ifreq)
174#define GRESPROTO _IOW('i' , 105, struct ifreq)
175#define GREGPROTO _IOWR('i', 106, struct ifreq)
176
177#ifdef _KERNEL
178LIST_HEAD(gre_softc_head, gre_softc);
179extern struct gre_softc_head gre_softc_list;
180
181u_int16_t gre_in_cksum(u_int16_t *, u_int);
182#endif /* _KERNEL */
183
184#endif