• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/

Lines Matching refs:iface

23 int privsep_set(const char *iface, const char *var, uint32_t val);
40 char iface[IFNAMSIZ];
63 cmd.iface[IFNAMSIZ-1] = '\0';
69 flog(LOG_ERR, "(privsep) %s: LinkMTU (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val);
72 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_LINKMTU, "LinkMTU", cmd.val);
77 flog(LOG_ERR, "(privsep) %s: CurHopLimit (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val);
80 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_CURHLIM, "CurHopLimit", cmd.val);
85 flog(LOG_ERR, "(privsep) %s: BaseReachableTimer (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val);
88 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_BASEREACHTIME_MS, "BaseReachableTimer (ms)", cmd.val);
91 set_interface_var(cmd.iface, PROC_SYS_IP6_BASEREACHTIME, "BaseReachableTimer", cmd.val / 1000);
96 flog(LOG_ERR, "(privsep) %s: RetransTimer (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val);
99 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_RETRANSTIMER_MS, "RetransTimer (ms)", cmd.val);
102 set_interface_var(cmd.iface, PROC_SYS_IP6_RETRANSTIMER, "RetransTimer", cmd.val / 1000 * USER_HZ); /* XXX user_hz */
176 privsep_interface_linkmtu(const char *iface, uint32_t mtu)
180 strncpy(cmd.iface, iface, sizeof(cmd.iface));
189 privsep_interface_curhlim(const char *iface, uint32_t hlim)
193 strncpy(cmd.iface, iface, sizeof(cmd.iface));
201 privsep_interface_reachtime(const char *iface, uint32_t rtime)
205 strncpy(cmd.iface, iface, sizeof(cmd.iface));
213 privsep_interface_retranstimer(const char *iface, uint32_t rettimer)
217 strncpy(cmd.iface, iface, sizeof(cmd.iface));