1/* $FreeBSD: head/sys/netinet/in_gif.c 105194 2002-10-16 01:54:46Z sam $ */
2/* $KAME: in_gif.c,v 1.54 2001/05/14 14:02:16 itojun 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
--- 182 unchanged lines hidden (view full) ---
192 return ENETUNREACH; /* XXX */
193 }
194#if 0
195 ifp->if_mtu = sc->gif_ro.ro_rt->rt_ifp->if_mtu
196 - sizeof(struct ip);
197#endif
198 }
199
200 error = ip_output(m, NULL, &sc->gif_ro, 0, NULL, NULL);
201 return(error);
202}
203
204void
205in_gif_input(m, off)
206 struct mbuf *m;
207 int off;
208{
--- 146 unchanged lines hidden ---
2/* $KAME: in_gif.c,v 1.54 2001/05/14 14:02:16 itojun 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
--- 182 unchanged lines hidden (view full) ---
192 return ENETUNREACH; /* XXX */
193 }
194#if 0
195 ifp->if_mtu = sc->gif_ro.ro_rt->rt_ifp->if_mtu
196 - sizeof(struct ip);
197#endif
198 }
199
200 error = ip_output(m, NULL, &sc->gif_ro, 0, NULL, NULL);
201 return(error);
202}
203
204void
205in_gif_input(m, off)
206 struct mbuf *m;
207 int off;
208{
--- 146 unchanged lines hidden ---