Searched refs:IPV4_DEVCONF (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/include/linux/ |
D | inetdevice.h | 49 #define IPV4_DEVCONF(cnf, attr) ((cnf).data[IPV4_DEVCONF_ ## attr - 1]) macro 51 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
|
/linux-4.1.27/net/ipv4/ |
D | devinet.c | 94 IPV4_DEVCONF((*net->ipv4.devconf_dflt), attr) 250 if (IPV4_DEVCONF(in_dev->cnf, FORWARDING)) in inetdev_init() 1769 IPV4_DEVCONF(*devconf, FORWARDING)) < 0) in inet_netconf_fill_devconf() 1773 IPV4_DEVCONF(*devconf, RP_FILTER)) < 0) in inet_netconf_fill_devconf() 1777 IPV4_DEVCONF(*devconf, MC_FORWARDING)) < 0) in inet_netconf_fill_devconf() 1781 IPV4_DEVCONF(*devconf, PROXY_ARP)) < 0) in inet_netconf_fill_devconf()
|
D | ipmr.c | 435 IPV4_DEVCONF(in_dev->cnf, RP_FILTER) = 0; in ipmr_new_tunnel() 533 IPV4_DEVCONF(in_dev->cnf, RP_FILTER) = 0; in ipmr_reg_vif() 600 IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)--; in vif_delete() 794 IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)++; in vif_add()
|