if_gif.h (195699) | if_gif.h (195727) |
---|---|
1/* $FreeBSD: head/sys/net/if_gif.h 195699 2009-07-14 22:48:30Z rwatson $ */ | 1/* $FreeBSD: head/sys/net/if_gif.h 195727 2009-07-16 21:13:04Z rwatson $ */ |
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 --- 105 unchanged lines hidden (view full) --- 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); | 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 --- 105 unchanged lines hidden (view full) --- 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_GET(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_ */ | 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_ */ |