Deleted Added
full compact
if_gif.h (273087) if_gif.h (276215)
1/* $FreeBSD: head/sys/net/if_gif.h 273087 2014-10-14 13:31:47Z ae $ */
1/* $FreeBSD: head/sys/net/if_gif.h 276215 2014-12-25 21:32:37Z ae $ */
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

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

109/* mbuf adjust factor to force 32-bit alignment of IP header */
110#define ETHERIP_ALIGN 2
111
112/* Prototypes */
113void gif_input(struct mbuf *, struct ifnet *, int, uint8_t);
114int gif_output(struct ifnet *, struct mbuf *, const struct sockaddr *,
115 struct route *);
116int 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

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

109/* mbuf adjust factor to force 32-bit alignment of IP header */
110#define ETHERIP_ALIGN 2
111
112/* Prototypes */
113void gif_input(struct mbuf *, struct ifnet *, int, uint8_t);
114int gif_output(struct ifnet *, struct mbuf *, const struct sockaddr *,
115 struct route *);
116int gif_encapcheck(const struct mbuf *, int, int, void *);
117#ifdef INET
118int in_gif_output(struct ifnet *, struct mbuf *, int, uint8_t);
119int in_gif_encapcheck(const struct mbuf *, int, int, void *);
120int in_gif_attach(struct gif_softc *);
121#endif
122#ifdef INET6
123int in6_gif_output(struct ifnet *, struct mbuf *, int, uint8_t);
124int in6_gif_encapcheck(const struct mbuf *, int, int, void *);
125int in6_gif_attach(struct gif_softc *);
126#endif
117#endif /* _KERNEL */
118
119#define GIFGOPTS _IOWR('i', 150, struct ifreq)
120#define GIFSOPTS _IOW('i', 151, struct ifreq)
121
122#define GIF_ACCEPT_REVETHIP 0x0001
123#define GIF_SEND_REVETHIP 0x0010
124#define GIF_OPTMASK (GIF_ACCEPT_REVETHIP|GIF_SEND_REVETHIP)
125
126#endif /* _NET_IF_GIF_H_ */
127#endif /* _KERNEL */
128
129#define GIFGOPTS _IOWR('i', 150, struct ifreq)
130#define GIFSOPTS _IOW('i', 151, struct ifreq)
131
132#define GIF_ACCEPT_REVETHIP 0x0001
133#define GIF_SEND_REVETHIP 0x0010
134#define GIF_OPTMASK (GIF_ACCEPT_REVETHIP|GIF_SEND_REVETHIP)
135
136#endif /* _NET_IF_GIF_H_ */