diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-11-28 10:12:51 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-11-28 10:12:51 +0000 |
commit | c31df7b0cc15494b67dec7ced681c046db1490e3 (patch) | |
tree | 11f7ca0b00facacbb81829c387bec40822f1c428 /sys/net | |
parent | 62e08cbe296c7760592e94774b4c41bc47673da4 (diff) |
Rename "flowmax" to "maxflow" and give each switch(4) ioctl a
dedicated number. Both changes for consistency.
OK rzalamena@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_switch.c | 4 | ||||
-rw-r--r-- | sys/net/switchofp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_switch.c b/sys/net/if_switch.c index e717b7885de..2d8f8f87e12 100644 --- a/sys/net/if_switch.c +++ b/sys/net/if_switch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_switch.c,v 1.15 2016/11/22 23:23:12 rzalamena Exp $ */ +/* $OpenBSD: if_switch.c,v 1.16 2016/11/28 10:12:50 reyk Exp $ */ /* * Copyright (c) 2016 Kazuya GODA <goda@openbsd.org> @@ -490,7 +490,7 @@ switch_ioctl(struct ifnet *ifp, unsigned long cmd, caddr_t data) break; case SIOCSWGDPID: case SIOCSWSDPID: - case SIOCSWGFLOWMAX: + case SIOCSWGMAXFLOW: case SIOCSWGMAXGROUP: case SIOCSWSPORTNO: error = swofp_ioctl(ifp, cmd, data); diff --git a/sys/net/switchofp.c b/sys/net/switchofp.c index 07164af1585..143d21a6c68 100644 --- a/sys/net/switchofp.c +++ b/sys/net/switchofp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: switchofp.c,v 1.36 2016/11/21 19:29:28 rzalamena Exp $ */ +/* $OpenBSD: switchofp.c,v 1.37 2016/11/28 10:12:50 reyk Exp $ */ /* * Copyright (c) 2016 Kazuya GODA <goda@openbsd.org> @@ -1074,7 +1074,7 @@ swofp_ioctl(struct ifnet *ifp, unsigned long cmd, caddr_t data) memcpy(&swofs->swofs_datapath_id, &bparam->ifbrp_datapath, sizeof(uint64_t)); break; - case SIOCSWGFLOWMAX: + case SIOCSWGMAXFLOW: bparam->ifbrp_maxflow = swofs->swofs_flow_max_entry; break; case SIOCSWGMAXGROUP: |