if_gif.h (195727) | if_gif.h (207369) |
---|---|
1/* $FreeBSD: head/sys/net/if_gif.h 195727 2009-07-16 21:13:04Z rwatson $ */ | 1/* $FreeBSD: head/sys/net/if_gif.h 207369 2010-04-29 11:52:42Z bz $ */ |
2/* $KAME: if_gif.h,v 1.17 2000/09/11 11:36:41 sumikawa Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 103 unchanged lines hidden (view full) --- 113/* Prototypes */ 114void gif_input(struct mbuf *, int, struct ifnet *); 115int gif_output(struct ifnet *, struct mbuf *, struct sockaddr *, 116 struct route *); 117int gif_ioctl(struct ifnet *, u_long, caddr_t); 118int gif_set_tunnel(struct ifnet *, struct sockaddr *, struct sockaddr *); 119void gif_delete_tunnel(struct ifnet *); 120int gif_encapcheck(const struct mbuf *, int, int, void *); | 2/* $KAME: if_gif.h,v 1.17 2000/09/11 11:36:41 sumikawa Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 103 unchanged lines hidden (view full) --- 113/* Prototypes */ 114void gif_input(struct mbuf *, int, struct ifnet *); 115int gif_output(struct ifnet *, struct mbuf *, struct sockaddr *, 116 struct route *); 117int gif_ioctl(struct ifnet *, u_long, caddr_t); 118int gif_set_tunnel(struct ifnet *, struct sockaddr *, struct sockaddr *); 119void gif_delete_tunnel(struct ifnet *); 120int gif_encapcheck(const struct mbuf *, int, int, void *); |
121 122VNET_DECLARE(int, ip_gif_ttl); 123#define V_ip_gif_ttl VNET(ip_gif_ttl) 124 | |
125#endif /* _KERNEL */ 126 127#define GIFGOPTS _IOWR('i', 150, struct ifreq) 128#define GIFSOPTS _IOW('i', 151, struct ifreq) 129 130#define GIF_ACCEPT_REVETHIP 0x0001 131#define GIF_SEND_REVETHIP 0x0010 132#define GIF_OPTMASK (GIF_ACCEPT_REVETHIP|GIF_SEND_REVETHIP) 133 134#endif /* _NET_IF_GIF_H_ */ | 121#endif /* _KERNEL */ 122 123#define GIFGOPTS _IOWR('i', 150, struct ifreq) 124#define GIFSOPTS _IOW('i', 151, struct ifreq) 125 126#define GIF_ACCEPT_REVETHIP 0x0001 127#define GIF_SEND_REVETHIP 0x0010 128#define GIF_OPTMASK (GIF_ACCEPT_REVETHIP|GIF_SEND_REVETHIP) 129 130#endif /* _NET_IF_GIF_H_ */ |