Home | History | Annotate | Download | only in server

Lines Matching refs:interface

101 	// When sending traffic via a given interface use only addresses configured
102 // on that interface as possible source addresses.
109 int InterfaceController::setEnableIPv6(const char *interface, const int on) {
110 if (!isIfaceName(interface)) {
116 // addresses and routes and disables IPv6 on the interface.
118 return writeValueToPath(ipv6_proc_path, interface, "disable_ipv6", disable_ipv6);
121 int InterfaceController::setIPv6PrivacyExtensions(const char *interface, const int on) {
122 if (!isIfaceName(interface)) {
128 return writeValueToPath(ipv6_proc_path, interface, "use_tempaddr", on ? "2" : "0");
134 int InterfaceController::setIPv6NdOffload(char* interface, const int on) {
140 interface,
147 (on ? "enabling" : "disabling"), interface, ret, strerror(errno));
161 // If < 0: automatic. The absolute value is intepreted as an offset and added to the interface
162 // ID to get the table. If it's set to -1000, routes from interface ID 5 will go into
169 int InterfaceController::setMtu(const char *interface, const char *mtu)
171 if (!isIfaceName(interface)) {
175 return writeValueToPath(sys_net_path, interface, "mtu", mtu);