ifieee80211.c (229914) | ifieee80211.c (233328) |
---|---|
1/* 2 * Copyright 2001 The Aerospace Corporation. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/* 2 * Copyright 2001 The Aerospace Corporation. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sbin/ifconfig/ifieee80211.c 229914 2012-01-10 02:59:18Z eadler $ | 27 * $FreeBSD: head/sbin/ifconfig/ifieee80211.c 233328 2012-03-22 21:22:58Z adrian $ |
28 */ 29 30/*- 31 * Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc. 32 * All rights reserved. 33 * 34 * This code is derived from software contributed to The NetBSD Foundation 35 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, --- 1838 unchanged lines hidden (view full) --- 1874DECL_CMD_FUNC(set80211meshttl, val, d) 1875{ 1876 set80211(s, IEEE80211_IOC_MESH_TTL, atoi(val), 0, NULL); 1877} 1878 1879static 1880DECL_CMD_FUNC(set80211meshforward, val, d) 1881{ | 28 */ 29 30/*- 31 * Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc. 32 * All rights reserved. 33 * 34 * This code is derived from software contributed to The NetBSD Foundation 35 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, --- 1838 unchanged lines hidden (view full) --- 1874DECL_CMD_FUNC(set80211meshttl, val, d) 1875{ 1876 set80211(s, IEEE80211_IOC_MESH_TTL, atoi(val), 0, NULL); 1877} 1878 1879static 1880DECL_CMD_FUNC(set80211meshforward, val, d) 1881{ |
1882 set80211(s, IEEE80211_IOC_MESH_FWRD, atoi(val), 0, NULL); | 1882 set80211(s, IEEE80211_IOC_MESH_FWRD, d, 0, NULL); |
1883} 1884 1885static 1886DECL_CMD_FUNC(set80211meshpeering, val, d) 1887{ 1888 set80211(s, IEEE80211_IOC_MESH_AP, atoi(val), 0, NULL); 1889} 1890 --- 3423 unchanged lines hidden --- | 1883} 1884 1885static 1886DECL_CMD_FUNC(set80211meshpeering, val, d) 1887{ 1888 set80211(s, IEEE80211_IOC_MESH_AP, atoi(val), 0, NULL); 1889} 1890 --- 3423 unchanged lines hidden --- |