in6.c (273992) | in6.c (274175) |
---|---|
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 273992 2014-11-02 21:58:31Z hrs $"); | 64__FBSDID("$FreeBSD: head/sys/netinet6/in6.c 274175 2014-11-06 13:13:09Z melifaro $"); |
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> --- 2289 unchanged lines hidden (view full) --- 2362 ext->lltable->llt_dump = in6_lltable_dump; 2363 } 2364 2365 ext->mld_ifinfo = mld_domifattach(ifp); 2366 2367 return ext; 2368} 2369 | 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> --- 2289 unchanged lines hidden (view full) --- 2362 ext->lltable->llt_dump = in6_lltable_dump; 2363 } 2364 2365 ext->mld_ifinfo = mld_domifattach(ifp); 2366 2367 return ext; 2368} 2369 |
2370int 2371in6_domifmtu(struct ifnet *ifp) 2372{ 2373 2374 return (IN6_LINKMTU(ifp)); 2375} 2376 |
|
2370void 2371in6_domifdetach(struct ifnet *ifp, void *aux) 2372{ 2373 struct in6_ifextra *ext = (struct in6_ifextra *)aux; 2374 2375 mld_domifdetach(ifp); 2376 scope6_ifdetach(ext->scope6_id); 2377 nd6_ifdetach(ext->nd_ifinfo); --- 68 unchanged lines hidden --- | 2377void 2378in6_domifdetach(struct ifnet *ifp, void *aux) 2379{ 2380 struct in6_ifextra *ext = (struct in6_ifextra *)aux; 2381 2382 mld_domifdetach(ifp); 2383 scope6_ifdetach(ext->scope6_id); 2384 nd6_ifdetach(ext->nd_ifinfo); --- 68 unchanged lines hidden --- |