Lines Matching refs:val
36 setlaggport(const char *val, int d, int s, const struct afswtch *afp)
42 strlcpy(rp.rp_portname, val, sizeof(rp.rp_portname));
50 unsetlaggport(const char *val, int d, int s, const struct afswtch *afp)
56 strlcpy(rp.rp_portname, val, sizeof(rp.rp_portname));
63 setlaggproto(const char *val, int d, int s, const struct afswtch *afp)
73 if (strcmp(val, lpr[i].lpr_name) == 0) {
79 errx(1, "Invalid aggregation protocol: %s", val);
87 setlaggflowidshift(const char *val, int d, int s, const struct afswtch *afp)
94 ro.ro_flowid_shift = (int)strtol(val, NULL, 10);
96 errx(1, "Invalid flowid_shift option: %s", val);
103 setlaggrr_limit(const char *val, int d, int s, const struct afswtch *afp)
109 ro.ro_bkt = (int)strtol(val, NULL, 10);
116 setlaggsetopt(const char *val, int d, int s, const struct afswtch *afp)
144 setlagghash(const char *val, int d, int s, const struct afswtch *afp)
151 str = tmp = strdup(val);