/* * net/tipc/sysctl.c: sysctl interface to TIPC subsystem * * Copyright (c) 2013, Wind River Systems * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the names of the copyright holders nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * Alternatively, this software may be distributed under the terms of the * GNU General Public License ("GPL") version 2 as published by the Free * Software Foundation. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #include "core.h" #include static struct ctl_table_header *tipc_ctl_hdr; static struct ctl_table tipc_table[] = { { .procname = "tipc_rmem", .data = &sysctl_tipc_rmem, .maxlen = sizeof(sysctl_tipc_rmem), .mode = 0644, .proc_handler = proc_dointvec, }, { .procname = "named_timeout", .data = &sysctl_tipc_named_timeout, .maxlen = sizeof(sysctl_tipc_named_timeout), .mode = 0644, .proc_handler = proc_dointvec, }, {} }; int tipc_register_sysctl(void) { tipc_ctl_hdr = register_net_sysctl(&init_net, "net/tipc", tipc_table); if (tipc_ctl_hdr == NULL) return -ENOMEM; return 0; } void tipc_unregister_sysctl(void) { unregister_net_sysctl_table(tipc_ctl_hdr); } ep'>log msg
path: root/net/hsr/hsr_netlink.h
>2017-02-10
AgeCommit message (Expand)AuthorFilesLines
devlink: fix the name of eswitch commandsJiri Pirko1-9/+9
2017-02-10Merge tag 'mac80211-next-for-davem-2017-02-09' of git://git.kernel.org/pub/sc...David S. Miller21-384/+219
2017-02-10net: cgroups: fix build errors when linux/phy*.h is removed from net/dsa.hRussell King1-0/+1
2017-02-10net: sunrpc: fix build errors when linux/phy*.h is removed from net/dsa.hRussell King1-0/+1
2017-02-10net: Fix checkpatch, Missing a blank line after declarationstcharding1-0/+13
2017-02-10net: Fix checkpatch block comments warningstcharding1-32/+33
2017-02-10net: Fix checkpatch whitespace errorstcharding1-19/+20
2017-02-10net: Fix checkpatch WARNING: please, no space before tabstcharding1-71/+71
2017-02-10net/act_pedit: Introduce 'add' operationAmir Vadai1-4/+26
2017-02-10net/act_pedit: Support using offset relative to the conventional network headersAmir Vadai1-16/+180
2017-02-10switchdev: bridge: Offload mc router portsNogah Frankel1-0/+15
2017-02-10bridge: mcast: Merge the mc router ports deletions to one functionNogah Frankel1-15/+9
2017-02-10switchdev: bridge: Offload multicast disabledNogah Frankel1-0/+16
2017-02-10sched: check negative err value to safe one level of indentJiri Pirko1-13/+9
2017-02-10sched: add missing curly braces in else branch in tc_ctl_tfilterJiri Pirko1-1/+2
2017-02-10sched: move err set right before goto errout in tc_ctl_tfilterJiri Pirko1-10/+19
2017-02-10sched: push TC filter protocol creation into a separate functionJiri Pirko1-51/+59
2017-02-10sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_apiJiri Pirko13-24/+32
2017-02-10sched: rename tcf_destroy to tcf_destroy_protoJiri Pirko2-6/+6
2017-02-10ipv4: fib: Add events for FIB replace and appendIdo Schimmel1-13/+14
2017-02-10ipv4: fib: Send notification before deleting FIB aliasIdo Schimmel1-7/+7
2017-02-10ipv4: fib: Send deletion notification with actual FIB alias typeIdo Schimmel1-2/+2
2017-02-10ipv4: fib: Only flush FIB aliases belonging to currently flushed tableIdo Schimmel1-1/+2
2017-02-09openvswitch: Pack struct sw_flow_key.Jarno Rajahalme4-34/+39
2017-02-09openvswitch: Add force commit.Jarno Rajahalme1-2/+24
2017-02-09openvswitch: Add original direction conntrack tuple to sw_flow_key.Jarno Rajahalme