1/* $NetBSD: if_gre.h,v 1.13 2003/11/10 08:51:52 wiz Exp $ */ |
2/* $FreeBSD: head/sys/net/if_gre.h 127307 2004-03-22 16:04:43Z rwatson $ */ |
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 mtx gre_mtx; |
180extern struct gre_softc_head gre_softc_list; 181 182u_int16_t gre_in_cksum(u_int16_t *, u_int); 183#endif /* _KERNEL */ 184 185#endif |