af_inet6.c (243866) | af_inet6.c (245230) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. 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 --- 15 unchanged lines hidden (view full) --- 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#ifndef lint 31static const char rcsid[] = | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. 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 --- 15 unchanged lines hidden (view full) --- 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#ifndef lint 31static const char rcsid[] = |
32 "$FreeBSD: head/sbin/ifconfig/af_inet6.c 243866 2012-12-04 17:12:23Z hrs $"; | 32 "$FreeBSD: head/sbin/ifconfig/af_inet6.c 245230 2013-01-09 18:18:08Z ume $"; |
33#endif /* not lint */ 34 35#include <sys/param.h> 36#include <sys/ioctl.h> 37#include <sys/socket.h> 38#include <net/if.h> 39 40#include <err.h> --- 427 unchanged lines hidden (view full) --- 468 DEF_CMD("defaultif", 1, setnd6defif), 469 DEF_CMD("-defaultif", -1, setnd6defif), 470 DEF_CMD("ifdisabled", ND6_IFF_IFDISABLED, setnd6flags), 471 DEF_CMD("-ifdisabled", -ND6_IFF_IFDISABLED, setnd6flags), 472 DEF_CMD("nud", ND6_IFF_PERFORMNUD, setnd6flags), 473 DEF_CMD("-nud", -ND6_IFF_PERFORMNUD, setnd6flags), 474 DEF_CMD("auto_linklocal",ND6_IFF_AUTO_LINKLOCAL,setnd6flags), 475 DEF_CMD("-auto_linklocal",-ND6_IFF_AUTO_LINKLOCAL,setnd6flags), | 33#endif /* not lint */ 34 35#include <sys/param.h> 36#include <sys/ioctl.h> 37#include <sys/socket.h> 38#include <net/if.h> 39 40#include <err.h> --- 427 unchanged lines hidden (view full) --- 468 DEF_CMD("defaultif", 1, setnd6defif), 469 DEF_CMD("-defaultif", -1, setnd6defif), 470 DEF_CMD("ifdisabled", ND6_IFF_IFDISABLED, setnd6flags), 471 DEF_CMD("-ifdisabled", -ND6_IFF_IFDISABLED, setnd6flags), 472 DEF_CMD("nud", ND6_IFF_PERFORMNUD, setnd6flags), 473 DEF_CMD("-nud", -ND6_IFF_PERFORMNUD, setnd6flags), 474 DEF_CMD("auto_linklocal",ND6_IFF_AUTO_LINKLOCAL,setnd6flags), 475 DEF_CMD("-auto_linklocal",-ND6_IFF_AUTO_LINKLOCAL,setnd6flags), |
476 DEF_CMD("no_prefer_iface",ND6_IFF_NO_PREFER_IFACE,setnd6flags), 477 DEF_CMD("-no_prefer_iface",-ND6_IFF_NO_PREFER_IFACE,setnd6flags), |
|
476 DEF_CMD_ARG("pltime", setip6pltime), 477 DEF_CMD_ARG("vltime", setip6vltime), 478 DEF_CMD("eui64", 0, setip6eui64), 479}; 480 481static struct afswtch af_inet6 = { 482 .af_name = "inet6", 483 .af_af = AF_INET6, --- 37 unchanged lines hidden --- | 478 DEF_CMD_ARG("pltime", setip6pltime), 479 DEF_CMD_ARG("vltime", setip6vltime), 480 DEF_CMD("eui64", 0, setip6eui64), 481}; 482 483static struct afswtch af_inet6 = { 484 .af_name = "inet6", 485 .af_af = AF_INET6, --- 37 unchanged lines hidden --- |