Deleted Added
full compact
if_gif.h (103273) if_gif.h (105293)
1/* $FreeBSD: head/sys/net/if_gif.h 103273 2002-09-13 06:24:27Z sobomax $ */
1/* $FreeBSD: head/sys/net/if_gif.h 105293 2002-10-16 19:49:37Z ume $ */
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

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

64#ifdef INET6
65 struct route_in6 gifscr_ro6; /* xxx */
66#endif
67 } gifsc_gifscr;
68 int gif_flags;
69 const struct encaptab *encap_cookie4;
70 const struct encaptab *encap_cookie6;
71 void *gif_netgraph; /* ng_gif(4) netgraph node info */
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

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

64#ifdef INET6
65 struct route_in6 gifscr_ro6; /* xxx */
66#endif
67 } gifsc_gifscr;
68 int gif_flags;
69 const struct encaptab *encap_cookie4;
70 const struct encaptab *encap_cookie6;
71 void *gif_netgraph; /* ng_gif(4) netgraph node info */
72 LIST_ENTRY(gif_softc) gif_link; /* all gif's are linked */
72 LIST_ENTRY(gif_softc) gif_list; /* all gif's are linked */
73};
74
75#define gif_ro gifsc_gifscr.gifscr_ro
76#ifdef INET6
77#define gif_ro6 gifsc_gifscr.gifscr_ro6
78#endif
79
80#define GIF_MTU (1280) /* Default MTU */
81#define GIF_MTU_MIN (1280) /* Minimum MTU */
82#define GIF_MTU_MAX (8192) /* Maximum MTU */
83
84/* Prototypes */
73};
74
75#define gif_ro gifsc_gifscr.gifscr_ro
76#ifdef INET6
77#define gif_ro6 gifsc_gifscr.gifscr_ro6
78#endif
79
80#define GIF_MTU (1280) /* Default MTU */
81#define GIF_MTU_MIN (1280) /* Minimum MTU */
82#define GIF_MTU_MAX (8192) /* Maximum MTU */
83
84/* Prototypes */
85void gifattach0(struct gif_softc *);
85void gif_input(struct mbuf *, int, struct ifnet *);
86int gif_output(struct ifnet *, struct mbuf *, struct sockaddr *,
87 struct rtentry *);
88int gif_ioctl(struct ifnet *, u_long, caddr_t);
86void gif_input(struct mbuf *, int, struct ifnet *);
87int gif_output(struct ifnet *, struct mbuf *, struct sockaddr *,
88 struct rtentry *);
89int gif_ioctl(struct ifnet *, u_long, caddr_t);
90int gif_set_tunnel(struct ifnet *, struct sockaddr *, struct sockaddr *);
91void gif_delete_tunnel(struct ifnet *);
92int gif_encapcheck(const struct mbuf *, int, int, void *);
89
90#endif /* _KERNEL */
91
92#endif /* _NET_IF_GIF_H_ */
93
94#endif /* _KERNEL */
95
96#endif /* _NET_IF_GIF_H_ */