Deleted Added
full compact
in6.c (260882) in6.c (269243)
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * SUCH DAMAGE.
59 *
60 * @(#)in.c 8.2 (Berkeley) 11/15/93
61 */
62
63#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * SUCH DAMAGE.
59 *
60 * @(#)in.c 8.2 (Berkeley) 11/15/93
61 */
62
63#include <sys/cdefs.h>
64__FBSDID("$FreeBSD: head/sys/netinet6/in6.c 260882 2014-01-19 16:07:27Z melifaro $");
64__FBSDID("$FreeBSD: head/sys/netinet6/in6.c 269243 2014-07-29 15:01:29Z glebius $");
65
66#include "opt_compat.h"
67#include "opt_inet.h"
68#include "opt_inet6.h"
69
70#include <sys/param.h>
71#include <sys/eventhandler.h>
72#include <sys/errno.h>

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

1244 * backward compatibility - if IN6_IFF_DEPRECATED is set from the
1245 * userland, make it deprecated.
1246 */
1247 if ((ifra->ifra_flags & IN6_IFF_DEPRECATED) != 0) {
1248 ia->ia6_lifetime.ia6t_pltime = 0;
1249 ia->ia6_lifetime.ia6t_preferred = time_uptime;
1250 }
1251
65
66#include "opt_compat.h"
67#include "opt_inet.h"
68#include "opt_inet6.h"
69
70#include <sys/param.h>
71#include <sys/eventhandler.h>
72#include <sys/errno.h>

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

1244 * backward compatibility - if IN6_IFF_DEPRECATED is set from the
1245 * userland, make it deprecated.
1246 */
1247 if ((ifra->ifra_flags & IN6_IFF_DEPRECATED) != 0) {
1248 ia->ia6_lifetime.ia6t_pltime = 0;
1249 ia->ia6_lifetime.ia6t_preferred = time_uptime;
1250 }
1251
1252 /* Update metric */
1253 ia->ia_ifa.ifa_metric = ifp->if_metric;
1254
1255 /*
1256 * configure address flags.
1257 */
1258 ia->ia6_flags = ifra->ifra_flags;
1259
1260 /*
1261 * Make the address tentative before joining multicast addresses,
1262 * so that corresponding MLD responses would not have a tentative

--- 1357 unchanged lines hidden ---
1252 /*
1253 * configure address flags.
1254 */
1255 ia->ia6_flags = ifra->ifra_flags;
1256
1257 /*
1258 * Make the address tentative before joining multicast addresses,
1259 * so that corresponding MLD responses would not have a tentative

--- 1357 unchanged lines hidden ---