OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [linux_sd_driver/] [net/] [802/] [sysctl_net_802.c] - Blame information for rev 62

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 62 marcus.erl
/* -*- linux-c -*-
2
 *              sysctl_net_802.c: sysctl interface to net 802 subsystem.
3
 *
4
 *              Begun April 1, 1996, Mike Shaver.
5
 *              Added /proc/sys/net/802 directory entry (empty =) ). [MS]
6
 *
7
 *              This program is free software; you can redistribute it and/or
8
 *              modify it under the terms of the GNU General Public License
9
 *              as published by the Free Software Foundation; either version
10
 *              2 of the License, or (at your option) any later version.
11
 */
12
 
13
#include <linux/mm.h>
14
#include <linux/if_tr.h>
15
#include <linux/sysctl.h>
16
 
17
#ifdef CONFIG_TR
18
extern int sysctl_tr_rif_timeout;
19
#endif
20
 
21
struct ctl_table tr_table[] = {
22
#ifdef CONFIG_TR
23
        {
24
                .ctl_name       = NET_TR_RIF_TIMEOUT,
25
                .procname       = "rif_timeout",
26
                .data           = &sysctl_tr_rif_timeout,
27
                .maxlen         = sizeof(int),
28
                .mode           = 0644,
29
                .proc_handler   = &proc_dointvec
30
        },
31
#endif /* CONFIG_TR */
32
        { 0 },
33
};

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.