Deleted Added
full compact
in6_gif.c (91327) in6_gif.c (105194)
1/* $FreeBSD: head/sys/netinet6/in6_gif.c 91327 2002-02-26 20:11:33Z brooks $ */
1/* $FreeBSD: head/sys/netinet6/in6_gif.c 105194 2002-10-16 01:54:46Z sam $ */
2/* $KAME: in6_gif.c,v 1.49 2001/05/14 14:02:17 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

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

197 }
198
199#ifdef IPV6_MINMTU
200 /*
201 * force fragmentation to minimum MTU, to avoid path MTU discovery.
202 * it is too painful to ask for resend of inner packet, to achieve
203 * path MTU discovery for encapsulated packets.
204 */
2/* $KAME: in6_gif.c,v 1.49 2001/05/14 14:02:17 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

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

197 }
198
199#ifdef IPV6_MINMTU
200 /*
201 * force fragmentation to minimum MTU, to avoid path MTU discovery.
202 * it is too painful to ask for resend of inner packet, to achieve
203 * path MTU discovery for encapsulated packets.
204 */
205 return(ip6_output(m, 0, &sc->gif_ro6, IPV6_MINMTU, 0, NULL));
205 return(ip6_output(m, 0, &sc->gif_ro6, IPV6_MINMTU, 0, NULL, NULL));
206#else
206#else
207 return(ip6_output(m, 0, &sc->gif_ro6, 0, 0, NULL));
207 return(ip6_output(m, 0, &sc->gif_ro6, 0, 0, NULL, NULL));
208#endif
209}
210
211int in6_gif_input(mp, offp, proto)
212 struct mbuf **mp;
213 int *offp, proto;
214{
215 struct mbuf *m = *mp;

--- 128 unchanged lines hidden ---
208#endif
209}
210
211int in6_gif_input(mp, offp, proto)
212 struct mbuf **mp;
213 int *offp, proto;
214{
215 struct mbuf *m = *mp;

--- 128 unchanged lines hidden ---