Lines Matching refs:newval

20 					const struct bond_opt_value *newval);
22 const struct bond_opt_value *newval);
24 const struct bond_opt_value *newval);
26 const struct bond_opt_value *newval);
28 const struct bond_opt_value *newval);
30 const struct bond_opt_value *newval);
32 const struct bond_opt_value *newval);
36 const struct bond_opt_value *newval);
38 const struct bond_opt_value *newval);
40 const struct bond_opt_value *newval);
42 const struct bond_opt_value *newval);
44 const struct bond_opt_value *newval);
46 const struct bond_opt_value *newval);
48 const struct bond_opt_value *newval);
50 const struct bond_opt_value *newval);
52 const struct bond_opt_value *newval);
54 const struct bond_opt_value *newval);
56 const struct bond_opt_value *newval);
58 const struct bond_opt_value *newval);
60 const struct bond_opt_value *newval);
62 const struct bond_opt_value *newval);
64 const struct bond_opt_value *newval);
66 const struct bond_opt_value *newval);
68 const struct bond_opt_value *newval);
70 const struct bond_opt_value *newval);
72 const struct bond_opt_value *newval);
74 const struct bond_opt_value *newval);
76 const struct bond_opt_value *newval);
78 const struct bond_opt_value *newval);
80 const struct bond_opt_value *newval);
82 const struct bond_opt_value *newval);
84 const struct bond_opt_value *newval);
86 const struct bond_opt_value *newval);
88 const struct bond_opt_value *newval);
868 const struct bond_opt_value *newval)
870 if (!bond_mode_uses_arp(newval->value)) {
873 newval->string);
886 if (newval->value == BOND_MODE_ALB)
891 bond->params.mode = newval->value;
908 const struct bond_opt_value *newval)
914 sscanf(newval->string, "%15s", ifname); /* IFNAMSIZ */
915 if (!strlen(ifname) || newval->string[0] == '\n') {
972 const struct bond_opt_value *newval)
975 newval->value);
976 bond->params.miimon = newval->value;
986 if (newval->value && bond->params.arp_interval) {
998 if (!newval->value) {
1014 const struct bond_opt_value *newval,
1018 int value = newval->value;
1042 const struct bond_opt_value *newval)
1044 return _bond_option_delay_set(bond, newval, "up delay",
1049 const struct bond_opt_value *newval)
1051 return _bond_option_delay_set(bond, newval, "down delay",
1056 const struct bond_opt_value *newval)
1058 int ret = _bond_option_delay_set(bond, newval,
1065 const struct bond_opt_value *newval)
1068 newval->value);
1069 bond->params.use_carrier = newval->value;
1079 const struct bond_opt_value *newval)
1082 newval->value);
1083 bond->params.arp_interval = newval->value;
1084 if (newval->value) {
1098 if (!newval->value) {
1211 const struct bond_opt_value *newval)
1216 if (newval->string) {
1217 if (!in4_pton(newval->string+1, -1, (u8 *)&target, -1, NULL)) {
1222 if (newval->string[0] == '+')
1224 else if (newval->string[0] == '-')
1229 target = newval->value;
1262 const struct bond_opt_value *newval)
1264 struct in6_addr *target = (struct in6_addr *)newval->extra;
1295 const struct bond_opt_value *newval)
1302 const struct bond_opt_value *newval)
1305 newval->string, newval->value);
1306 bond->params.arp_validate = newval->value;
1312 const struct bond_opt_value *newval)
1315 newval->string, newval->value);
1316 bond->params.arp_all_targets = newval->value;
1322 const struct bond_opt_value *newval)
1325 newval->string, newval->value);
1326 bond->params.missed_max = newval->value;
1332 const struct bond_opt_value *newval)
1336 slave = bond_slave_get_rtnl(newval->slave_dev);
1338 netdev_dbg(newval->slave_dev, "%s called on NULL slave\n", __func__);
1341 slave->prio = newval->value;
1353 const struct bond_opt_value *newval)
1355 char *p, *primary = newval->string;
1401 const struct bond_opt_value *newval)
1404 newval->string, newval->value);
1405 bond->params.primary_reselect = newval->value;
1415 const struct bond_opt_value *newval)
1418 newval->string, newval->value);
1419 bond->params.fail_over_mac = newval->value;
1425 const struct bond_opt_value *newval)
1428 newval->string, newval->value);
1429 bond->params.xmit_policy = newval->value;
1435 const struct bond_opt_value *newval)
1438 newval->value);
1439 bond->params.resend_igmp = newval->value;
1445 const struct bond_opt_value *newval)
1447 bond->params.num_peer_notif = newval->value;
1453 const struct bond_opt_value *newval)
1458 if (newval->value == bond->params.all_slaves_active)
1460 bond->params.all_slaves_active = newval->value;
1463 if (newval->value)
1474 const struct bond_opt_value *newval)
1477 newval->value);
1478 bond->params.min_links = newval->value;
1485 const struct bond_opt_value *newval)
1487 bond->params.lp_interval = newval->value;
1493 const struct bond_opt_value *newval)
1496 newval->value);
1497 bond->params.packets_per_slave = newval->value;
1498 if (newval->value > 0) {
1500 reciprocal_value(newval->value);
1513 const struct bond_opt_value *newval)
1516 newval->string, newval->value);
1517 bond->params.lacp_active = newval->value;
1523 const struct bond_opt_value *newval)
1526 newval->string, newval->value);
1527 bond->params.lacp_fast = newval->value;
1534 const struct bond_opt_value *newval)
1537 newval->string, newval->value);
1538 bond->params.ad_select = newval->value;
1544 const struct bond_opt_value *newval)
1554 delim = strchr(newval->string, ':');
1566 if (!dev_valid_name(newval->string) ||
1571 sdev = __dev_get_by_name(dev_net(bond->dev), newval->string);
1605 const struct bond_opt_value *newval)
1612 sscanf(newval->string, "%16s", command); /* IFNAMSIZ*/
1653 const struct bond_opt_value *newval)
1656 newval->string, newval->value);
1657 bond->params.tlb_dynamic_lb = newval->value;
1663 const struct bond_opt_value *newval)
1666 newval->value);
1668 bond->params.ad_actor_sys_prio = newval->value;
1675 const struct bond_opt_value *newval)
1680 if (newval->string) {
1681 if (!mac_pton(newval->string, macaddr))
1685 mac = (u8 *)&newval->value;
1703 const struct bond_opt_value *newval)
1706 newval->value);
1708 bond->params.ad_user_port_key = newval->value;
1713 const struct bond_opt_value *newval)
1716 newval->string, newval->value);
1718 bond->params.coupled_control = newval->value;