Lines Matching refs:network
32 if (!link->network) in link_set_proxy_arp()
35 if (link->network->proxy_arp < 0) in link_set_proxy_arp()
38 …return sysctl_write_ip_property_boolean(AF_INET, link->ifname, "proxy_arp", link->network->proxy_a… in link_set_proxy_arp()
51 if (!link->network) in link_ip_forward_enabled()
54 …return link->network->ip_forward & (family == AF_INET ? ADDRESS_FAMILY_IPV4 : ADDRESS_FAMILY_IPV6); in link_ip_forward_enabled()
100 if (!link->network) in link_set_ipv6_privacy_extensions()
104 if (link->network->ipv6_privacy_extensions == _IPV6_PRIVACY_EXTENSIONS_INVALID) in link_set_ipv6_privacy_extensions()
107 …rite_ip_property_int(AF_INET6, link->ifname, "use_tempaddr", (int) link->network->ipv6_privacy_ext… in link_set_ipv6_privacy_extensions()
120 if (!link->network) in link_set_ipv6_accept_ra()
136 if (!link->network) in link_set_ipv6_dad_transmits()
139 if (link->network->ipv6_dad_transmits < 0) in link_set_ipv6_dad_transmits()
142 …return sysctl_write_ip_property_int(AF_INET6, link->ifname, "dad_transmits", link->network->ipv6_d… in link_set_ipv6_dad_transmits()
155 if (!link->network) in link_set_ipv6_hop_limit()
158 if (link->network->ipv6_hop_limit < 0) in link_set_ipv6_hop_limit()
161 …return sysctl_write_ip_property_int(AF_INET6, link->ifname, "hop_limit", link->network->ipv6_hop_l… in link_set_ipv6_hop_limit()
175 if (!link->network) in link_set_ipv6_proxy_ndp()
178 if (link->network->ipv6_proxy_ndp >= 0) in link_set_ipv6_proxy_ndp()
179 v = link->network->ipv6_proxy_ndp; in link_set_ipv6_proxy_ndp()
181 v = !set_isempty(link->network->ipv6_proxy_ndp_addresses); in link_set_ipv6_proxy_ndp()
198 if (!link->network) in link_set_ipv6_mtu()
201 if (link->network->ipv6_mtu == 0) in link_set_ipv6_mtu()
204 mtu = link->network->ipv6_mtu; in link_set_ipv6_mtu()
220 if (link->network->ipv4_accept_local < 0) in link_set_ipv4_accept_local()
223 …l_write_ip_property_boolean(AF_INET, link->ifname, "accept_local", link->network->ipv4_accept_loca… in link_set_ipv4_accept_local()
232 if (link->network->ipv4_route_localnet < 0) in link_set_ipv4_route_localnet()
235 …write_ip_property_boolean(AF_INET, link->ifname, "route_localnet", link->network->ipv4_route_local… in link_set_ipv4_route_localnet()